Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
2438b968
Commit
2438b968
authored
Apr 28, 2022
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入被保人员
parent
9c5fb399
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletions
+16
-1
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
+0
-0
src/main/java/cn/timer/api/dao/yggl/YgglMainEmpMapper.java
+2
-0
src/main/java/cn/timer/api/dto/yggl/YgQueryDto.java
+3
-0
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
+11
-1
No files found.
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
View file @
2438b968
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dao/yggl/YgglMainEmpMapper.java
View file @
2438b968
...
...
@@ -133,4 +133,6 @@ public interface YgglMainEmpMapper extends BaseMapper<YgglMainEmp> {
List
<
DepartmentStaffDto
>
DepartmentStaff
(
Integer
orgcode
,
Integer
upid
);
List
<
YgglMainEmp
>
selectListByIds
(
@Param
(
"array"
)
String
[]
ids
);
List
<
YgglMainEmp
>
selectListByIZjNum
(
@Param
(
"array"
)
String
[]
zjNum
,
@Param
(
"orgCode"
)
Integer
orgCode
);
}
src/main/java/cn/timer/api/dto/yggl/YgQueryDto.java
View file @
2438b968
...
...
@@ -77,4 +77,7 @@ public class YgQueryDto extends Page {
@ApiModelProperty
(
value
=
"是否已购买保险"
,
example
=
"0"
)
private
Integer
isInsure
;
@ApiModelProperty
(
value
=
"证件号码 "
,
example
=
"证件号码"
)
private
String
zjNum
;
}
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
View file @
2438b968
...
...
@@ -241,7 +241,8 @@
a.job_status jobStatus,
a.head_url headUrl,
a.sex sex,
a.is_insure isInsure
a.is_insure isInsure,
a.zj_num zjNum
FROM
yggl_main_emp a
LEFT JOIN zzgl_bmgw_m b ON a.bmgw_id = b.id
...
...
@@ -412,4 +413,13 @@
</foreach>
</select>
<select
id=
"selectListByIZjNum"
resultType=
"cn.timer.api.bean.yggl.YgglMainEmp"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM yggl_main_emp
WHERE org_code = #{orgCode} and zj_num IN
<foreach
item=
"zjnum"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{zjnum}
</foreach>
</select>
</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