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
a7e08e9c
Commit
a7e08e9c
authored
Jan 06, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP 社保公积金批量办理优化和BUG修复
parent
776608d9
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
3 deletions
+30
-3
TEmployeeProjectMapper.java
.../plus/v1/yifu/archives/mapper/TEmployeeProjectMapper.java
+1
-0
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+1
-1
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+9
-1
TDispatchInfoController.java
...us/v1/yifu/social/controller/TDispatchInfoController.java
+2
-0
TProvidentFundMapper.java
...loud/plus/v1/yifu/social/mapper/TProvidentFundMapper.java
+2
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+1
-1
TProvidentFundMapper.xml
...al-biz/src/main/resources/mapper/TProvidentFundMapper.xml
+14
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TEmployeeProjectMapper.java
View file @
a7e08e9c
...
...
@@ -111,4 +111,5 @@ public interface TEmployeeProjectMapper extends BaseMapper<TEmployeeProject> {
*/
List
<
BusinessEmployeeExtentExcelVO
>
getTEmployeeBusinessList
(
@Param
(
"query"
)
THroBusinessUserQuery
query
);
int
updateSocialAndFundStatusById
(
@Param
(
"project"
)
TEmployeeProject
project
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
a7e08e9c
...
...
@@ -1402,7 +1402,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
if
(
Common
.
isNotNull
(
vo
.
getFundStatus
())){
project
.
setFundStatus
(
Integer
.
parseInt
(
vo
.
getFundStatus
()));
}
baseMapper
.
updateById
(
project
);
baseMapper
.
update
SocialAndFundStatus
ById
(
project
);
}
return
true
;
}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
a7e08e9c
...
...
@@ -994,5 +994,13 @@
<include
refid=
"BusinessQuery"
/>
order by a.ENJOIN_DATE DESC
</select>
<update
id=
"updateSocialAndFundStatusById"
>
update t_employee_project a
<trim
prefix=
"set"
suffixOverrides=
","
>
<if
test=
"project.id != null"
>
a.id=a.id,
</if>
<if
test=
"project.socialStatus != null"
>
SOCIAL_STATUS=#{project.socialStatus},
</if>
<if
test=
"project.fundStatus != null"
>
FUND_STATUS=#{project.fundStatus},
</if>
</trim>
WHERE a.id=#{project.id}
</update>
</mapper>
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchInfoController.java
View file @
a7e08e9c
...
...
@@ -388,6 +388,7 @@ public class TDispatchInfoController {
* @return
**/
@Operation
(
description
=
"派单申请批量审核,传参派单ID hasPermission('wxhr:tdispatchinfo_addApplyAudit') auditStatus:1审核通过 2审核不通过"
)
@SysLog
(
"派单申请批量审核"
)
@PostMapping
(
"/addApplyAudit"
)
//@PreAuthorize("@pms.hasPermission('wxhr:tdispatchinfo_addApplyAudit')")
public
R
<
List
<
ErrorMessage
>>
addApplyAudit
(
@RequestBody
List
<
String
>
idList
,
...
...
@@ -409,6 +410,7 @@ public class TDispatchInfoController {
* @Date 2019-09-27
**/
@Operation
(
description
=
"派单批量办理,传参派单ID hasPermission('wxhr:tdispatchinfo_addApplyHandle') handleStatus 1 办理成功 2 办理失败"
)
@SysLog
(
"派单批量办理"
)
@PostMapping
(
"/addApplyHandle"
)
//@PreAuthorize("@pms.hasPermission('wxhr:tdispatchinfo_addApplyHandle')")
public
R
<
List
<
ErrorMessage
>>
addApplyHandle
(
@RequestBody
List
<
String
>
idList
,
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TProvidentFundMapper.java
View file @
a7e08e9c
...
...
@@ -37,4 +37,6 @@ public interface TProvidentFundMapper extends BaseMapper<TProvidentFund> {
* @return
*/
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
@Param
(
"tProvidentFund"
)
TProvidentFund
tProvidentFund
);
int
updateFundInfoById
(
@Param
(
"tProvidentFund"
)
TProvidentFund
providentFund
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
a7e08e9c
...
...
@@ -3555,7 +3555,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
providentFund
.
setHandleTime
(
now
);
providentFund
.
setHandleUser
(
user
.
getId
());
fundMapper
.
updateById
(
providentFund
);
fundMapper
.
update
FundInfo
ById
(
providentFund
);
dis
.
setFundHandleRemark
(
ServiceUtil
.
ifNullToEmpty
(
handleRemark
));
if
(
CommonConstants
.
ZERO_INT
==
flag
)
{
initAuditInfo
(
auditInfo
,
(
DispatchConstants
.
DISPATCH_FUND_REDUCE_SUCCESS
+
handleRemark
),
CommonConstants
.
SIX_STRING
,
user
,
(
DispatchConstants
.
DISPATCH_FUND_REDUCE_SUCCESS
+
handleRemark
),
remark
);
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TProvidentFundMapper.xml
View file @
a7e08e9c
...
...
@@ -289,4 +289,18 @@
<include
refid=
"tProvidentFund_where"
/>
</where>
</select>
<update
id=
"updateFundInfoById"
>
update t_provident_fund
<trim
prefix=
"set"
suffixOverrides=
","
>
<if
test=
"tProvidentFund.handleStatus != null"
>
HANDLE_STATUS=#{tProvidentFund.handleStatus},
</if>
<if
test=
"tProvidentFund.reduceHandleTime != null"
>
REDUCE_HANDLE_TIME=#{tProvidentFund.reduceHandleTime},
</if>
<if
test=
"tProvidentFund.reduceHandleUser != null"
>
REDUCE_HANDLE_USER=#{tProvidentFund.reduceHandleUser},
</if>
<if
test=
"tProvidentFund.fundReduceDate != null"
>
FUND_REDUCE_DATE=#{tProvidentFund.fundReduceDate},
</if>
<if
test=
"tProvidentFund.reduceCan != null"
>
REDUCE_CAN=#{tProvidentFund.reduceCan},
</if>
<if
test=
"tProvidentFund.handleTime != null"
>
HANDLE_TIME=#{tProvidentFund.handleTime},
</if>
<if
test=
"tProvidentFund.handleUser != null"
>
HANDLE_USER=#{tProvidentFund.handleUser},
</if>
</trim>
WHERE id=#{tProvidentFund.id}
</update>
</mapper>
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