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
79ab3f37
Commit
79ab3f37
authored
Jan 09, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
2798ffea
9c02de56
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
10 deletions
+32
-10
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
-0
TDispatchInfoController.java
...us/v1/yifu/social/controller/TDispatchInfoController.java
+4
-8
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 @
79ab3f37
...
...
@@ -93,4 +93,5 @@ public interface TEmployeeProjectMapper extends BaseMapper<TEmployeeProject> {
**/
int
everyDayUpdateEmployeContractStatus
();
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 @
79ab3f37
...
...
@@ -1389,7 +1389,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 @
79ab3f37
...
...
@@ -874,4 +874,13 @@
where e.CONTRACT_STATUS != 2 and c.CONTRACT_END
<![CDATA[ < ]]>
DATE_FORMAT(curdate(),"%Y-%m-%d")
</update>
<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 @
79ab3f37
...
...
@@ -386,6 +386,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
,
...
...
@@ -407,6 +408,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
,
...
...
@@ -429,21 +431,14 @@ public class TDispatchInfoController {
@SysLog
(
"导出社保花名册信息"
)
//@PreAuthorize("@pms.hasPermission('wxhr:tdispatchinfo_doexportSocialRecordRoster')")
public
void
doexportSocialRecordRoster
(
HttpServletResponse
response
,
HttpServletRequest
request
,
@RequestBody
SocialHandleSearchVo
searchVo
,
@RequestParam
(
required
=
true
,
name
=
"mId"
)
String
mId
)
{
if
(
Common
.
isEmpty
(
searchVo
)){
searchVo
=
new
SocialHandleSearchVo
();
}
searchVo
.
setMId
(
mId
);
@RequestBody
SocialHandleSearchVo
searchVo
)
{
searchVo
.
setDeleteFlag
(
CommonConstants
.
ZERO_STRING
);
YifuUser
user
=
SecurityUtils
.
getUser
();
log
.
error
(
"userINfo:"
+
user
.
getUserGroup
()
+
"|"
+
user
.
getId
()+
"|"
+
searchVo
.
getMId
());
menuUtil
.
setAuthSql
(
user
,
searchVo
);
if
(
Common
.
isNotNull
(
searchVo
.
getAuthSql
())
&&
searchVo
.
getAuthSql
().
contains
(
CommonConstants
.
A_DEPT_ID
))
{
searchVo
.
setAuthSql
(
searchVo
.
getAuthSql
().
replace
(
CommonConstants
.
A_DEPT_ID
,
"a.SETTLE_DOMAIN"
));
}
searchVo
.
setCreateBy
(
user
.
getId
());
log
.
error
(
searchVo
.
getAuthSql
());
tDispatchInfoService
.
doexportSocialRecordRoster
(
response
,
searchVo
,
searchVo
.
getIdStr
(),
null
);
}
...
...
@@ -488,4 +483,5 @@ public class TDispatchInfoController {
String
sql
=
CommonConstants
.
EMPTY_STRING
;
return
tDispatchInfoService
.
getFundSupplementaryRecords
(
idStr
,
searchVo
,
settleDomains
,
sql
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TProvidentFundMapper.java
View file @
79ab3f37
...
...
@@ -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 @
79ab3f37
...
...
@@ -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 @
79ab3f37
...
...
@@ -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