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
ebdaa694
Commit
ebdaa694
authored
Jul 31, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同修改
parent
fd995a55
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
1 deletion
+34
-1
TDispatchInfoMapper.java
...cloud/plus/v1/yifu/social/mapper/TDispatchInfoMapper.java
+9
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+1
-1
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+24
-0
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TDispatchInfoMapper.java
View file @
ebdaa694
...
...
@@ -172,6 +172,15 @@ public interface TDispatchInfoMapper extends BaseMapper<TDispatchInfo> {
**/
List
<
TDispatchSocialExportVo
>
getSocialDisRecord
(
@Param
(
"tDispatchInfo"
)
SocialHandleSearchVo
dispatchInfo
);
/**
* @Author huyc
* @Description 社保派单医保模版
* @Date 15:47 2023/7/18
* @Param
* @return
**/
List
<
TDispatchSocialExportVo
>
getSocialReduceDisRecord
(
@Param
(
"tDispatchInfo"
)
SocialHandleSearchVo
dispatchInfo
);
/**
* @Author huyc
* @Description 社保派单养老模版count
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
ebdaa694
...
...
@@ -5177,7 +5177,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
searchVo
.
setType
(
CommonConstants
.
ONE_STRING
);
long
count1
=
getSocialDisRecordCount
(
searchVo
);
if
(
count1
>
CommonConstants
.
ZERO_INT
){
list
=
getSocial
DisRecord
(
searchVo
);
list
=
baseMapper
.
getSocialReduce
DisRecord
(
searchVo
);
if
(
Common
.
isNotNull
(
list
))
{
//判断list的大小是否大于10
if
(
list
.
size
()
<
10
)
{
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
ebdaa694
...
...
@@ -1247,6 +1247,30 @@
</where>
</select>
<!--tDispatchInfo 社保医疗花名册派单数据-->
<select
id=
"getSocialReduceDisRecord"
resultMap=
"socialDisExportMap"
>
SELECT
(@i :=@i+1) as NUM,
a.EMP_NAME,
'身份证' as IDCARD_TYPE,
a.EMP_IDCARD,
replace(DATE_FORMAT(a.CREATE_TIME,"%Y-%m"),'-','') as DIS_MONTH,
s.UNIT_MEDICAL_CARDINAL as MEDICAL_CARDINAL,
'' as CHANGE_TYPE_ONE,
'' as CHANGE_TYPE_TWO,
'√' as CHANGE_TYPE_THREE,
'' as CHANGE_TYPE_FOUR,
a.EMP_MOBILE,
a.EDUCATION_NAME,
a.EMP_MOBILE as REMARK
FROM t_dispatch_info a
left join t_social_info s on s.id=a.SOCIAL_ID
,(select @i:=0) as itable
<where>
<include
refid=
"where_getSocialDisRecord"
/>
</where>
</select>
<!--tDispatchInfo 社保养老花名册派单数据-->
<select
id=
"getSocialPersionDisCount"
resultType=
"java.lang.Integer"
>
SELECT count(1)
...
...
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