Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
29a95cb7
Commit
29a95cb7
authored
Jun 14, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.5-社保士兵实缴:最终
parent
c568bea3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
673 additions
and
797 deletions
+673
-797
TSocialSoldierController.java
...s/v1/yifu/social/controller/TSocialSoldierController.java
+11
-9
TAutoPaymentDetailMapper.java
.../plus/v1/yifu/social/mapper/TAutoPaymentDetailMapper.java
+1
-1
TAutoPaymentDetailService.java
...lus/v1/yifu/social/service/TAutoPaymentDetailService.java
+2
-1
TSocialSoldierService.java
...ud/plus/v1/yifu/social/service/TSocialSoldierService.java
+4
-0
TAutoPaymentDetailServiceImpl.java
...fu/social/service/impl/TAutoPaymentDetailServiceImpl.java
+2
-2
TSocialSoldierPushServiceImpl.java
...fu/social/service/impl/TSocialSoldierPushServiceImpl.java
+1
-1
TSocialSoldierServiceImpl.java
...1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
+651
-782
TAutoPaymentDetailMapper.xml
...iz/src/main/resources/mapper/TAutoPaymentDetailMapper.xml
+1
-1
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialSoldierController.java
View file @
29a95cb7
...
...
@@ -26,6 +26,7 @@ import io.swagger.v3.oas.annotations.Operation;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
java.util.List
;
...
...
@@ -148,10 +149,10 @@ public class TSocialSoldierController {
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.String>
**/
@Operation
(
description
=
"6每月6号1点推送实缴3张表查询"
)
@PostMapping
(
"/inner/
p
ushPaymentThree"
)
@PostMapping
(
"/inner/
doP
ushPaymentThree"
)
@SysLog
(
"6每月6号推送实缴3张表查询"
)
@Inner
public
R
<
String
>
p
ushPaymentThree
()
{
public
R
<
String
>
doP
ushPaymentThree
()
{
return
tSocialSoldierPushService
.
pushPaymentThree
(
null
,
false
);
}
...
...
@@ -191,19 +192,20 @@ public class TSocialSoldierController {
@Operation
(
description
=
"获取重新办理结果"
)
@GetMapping
(
"/getReHandle"
)
public
R
<
String
>
getReHandle
(
@RequestParam
String
parentId
)
{
return
tSocialSoldierService
.
getReHandle
(
parentId
);
tSocialSoldierService
.
getReHandle
(
parentId
);
return
R
.
ok
(
"正在执行中,请耐心等待!"
);
}
/**
* @Description: 文件组装zip的Demo
* @Description: 文件组装zip的Demo
(测试附件使用,不删除)
* @Author: hgw
* @Date: 2024-6-11 14:27:50
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.String>
**/
/*
@Operation(description = "文件组装zip的Demo")
@
Ge
tMapping("/getZip")
public R<String> getZip() {
return tSocialSoldierService.getZip();
}
*/
@Operation
(
description
=
"文件组装zip的Demo"
)
@
Pos
tMapping
(
"/getZip"
)
public
R
<
String
>
getZip
(
@RequestBody
MultipartFile
zipFile
)
{
return
tSocialSoldierService
.
getZip
(
zipFile
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TAutoPaymentDetailMapper.java
View file @
29a95cb7
...
...
@@ -49,7 +49,7 @@ public interface TAutoPaymentDetailMapper extends BaseMapper<TAutoPaymentDetail>
* @Date: 2024/6/6 9:55
* @return: void
**/
void
deleteByParentId
(
@Param
(
"parentId"
)
String
parentId
);
void
deleteByParentId
(
@Param
(
"parentId"
)
String
parentId
,
@Param
(
"sourceType"
)
int
sourceType
);
List
<
TAutoPaymentDetail
>
getListByParentId
(
@Param
(
"parentId"
)
String
parentId
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TAutoPaymentDetailService.java
View file @
29a95cb7
...
...
@@ -51,12 +51,13 @@ public interface TAutoPaymentDetailService extends IService<TAutoPaymentDetail>
List
<
TAutoPaymentDetail
>
noPageDiy
(
TAutoPaymentDetailSearchVo
searchVo
);
/**
* @param: sourceType 资源类型:1日常申报导出;2人员缴费明细打印;3单位缴费明细查询;4单位缴费明细下载
* @Description: 清空明细表
* @Author: hgw
* @Date: 2024/6/6 9:54
* @return: void
**/
void
deleteByParentId
(
String
parentId
);
void
deleteByParentId
(
String
parentId
,
int
sourceType
);
/**
* @param parentId
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialSoldierService.java
View file @
29a95cb7
...
...
@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.social.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialInfo
;
import
org.springframework.web.multipart.MultipartFile
;
/**
* 社保士兵
...
...
@@ -62,4 +63,7 @@ public interface TSocialSoldierService extends IService<TSocialInfo> {
**/
R
<
String
>
getReHandle
(
String
parentId
);
R
<
String
>
getZip
(
MultipartFile
zipFile
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TAutoPaymentDetailServiceImpl.java
View file @
29a95cb7
...
...
@@ -178,8 +178,8 @@ public class TAutoPaymentDetailServiceImpl extends ServiceImpl<TAutoPaymentDetai
}
@Override
public
void
deleteByParentId
(
String
parentId
)
{
baseMapper
.
deleteByParentId
(
parentId
);
public
void
deleteByParentId
(
String
parentId
,
int
sourceType
)
{
baseMapper
.
deleteByParentId
(
parentId
,
sourceType
);
}
@Override
public
List
<
TAutoPaymentDetail
>
getListByParentId
(
String
parentId
)
{
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierPushServiceImpl.java
View file @
29a95cb7
...
...
@@ -114,7 +114,7 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
if
(
type
==
2
)
{
List
<
SocialSoldierSetVo
>
setList
=
new
ArrayList
<>();
SocialSoldierSetVo
vo
=
new
SocialSoldierSetVo
();
vo
.
setIsAutoSubmit
(
"
否
"
);
vo
.
setIsAutoSubmit
(
"
是
"
);
vo
.
setIsAutoInsert
(
"否"
);
vo
.
setIsAutoUpload
(
"否"
);
vo
.
setIsDoShenBao
(
"否"
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
View file @
29a95cb7
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/TAutoPaymentDetailMapper.xml
View file @
29a95cb7
...
...
@@ -150,7 +150,7 @@
</select>
<delete
id=
"deleteByParentId"
>
delete from t_auto_payment_detail where PARENT_ID = #{parentId}
delete from t_auto_payment_detail where PARENT_ID = #{parentId}
and SOURCE_TYPE = #{sourceType}
</delete>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment