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
41e734cd
Commit
41e734cd
authored
Mar 19, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运营后台--
保全增员
parent
14c73f6c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
1 deletions
+27
-1
src/main/java/cn/timer/api/dao/insure/InsurePolicyMapper.java
+2
-0
src/main/java/cn/timer/api/dto/insure/InsureDto.java
+1
-0
src/main/java/cn/timer/api/dto/insure/PolicyDto.java
+1
-0
src/main/java/cn/timer/api/dto/yggl/YgQueryDto.java
+3
-0
src/main/resources/mapping/insure/InsurePolicyMapper.xml
+18
-0
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
+2
-1
No files found.
src/main/java/cn/timer/api/dao/insure/InsurePolicyMapper.java
View file @
41e734cd
...
...
@@ -3,6 +3,7 @@ package cn.timer.api.dao.insure;
import
cn.timer.api.bean.insure.InsurePolicy
;
import
cn.timer.api.dto.insure.PolicyDto
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.stereotype.Repository
;
import
java.util.List
;
...
...
@@ -17,5 +18,6 @@ import java.util.List;
@Repository
public
interface
InsurePolicyMapper
extends
BaseMapper
<
InsurePolicy
>
{
public
List
<
PolicyDto
>
policyList
();
PolicyDto
getPolicyDetail
(
@Param
(
"id"
)
Integer
id
);
}
src/main/java/cn/timer/api/dto/insure/InsureDto.java
View file @
41e734cd
...
...
@@ -19,6 +19,7 @@ import java.util.Date;
@NoArgsConstructor
@AllArgsConstructor
public
class
InsureDto
{
private
String
id
;
private
String
orgCode
;
/*劳动合同*/
private
String
companyName
;
/*用工单位实际工作单位*/
private
String
[]
userIds
;
...
...
src/main/java/cn/timer/api/dto/insure/PolicyDto.java
View file @
41e734cd
...
...
@@ -30,5 +30,6 @@ public class PolicyDto {
private
String
insuredName
;
private
String
benefitBasicPlan
;
private
String
price
;
private
String
orgCode
;
}
src/main/java/cn/timer/api/dto/yggl/YgQueryDto.java
View file @
41e734cd
...
...
@@ -74,4 +74,7 @@ public class YgQueryDto extends Page {
@ApiModelProperty
(
value
=
"性别"
,
example
=
"1"
)
private
Integer
sex
;
@ApiModelProperty
(
value
=
"是否已购买保险"
,
example
=
"0"
)
private
Integer
isInsure
;
}
src/main/resources/mapping/insure/InsurePolicyMapper.xml
View file @
41e734cd
...
...
@@ -271,4 +271,22 @@
</select>
<select
id=
"getPolicyDetail"
resultType=
"cn.timer.api.dto.insure.PolicyDto"
>
SELECT
ip.id as id,
ip.scheme_name as schemeName,
ip.policy_date_start as policyDateStart,
ip.policy_date_end as policyDateEnd,
ip.policy_no as policyNo,
ip.org_code as orgCode,
iu.insured_name as insuredName,
iu.benefit_basic_plan as benefitBasicPlan
FROM
insure_policy ip
LEFT JOIN insure_user iu ON iu.policy_no = ip.policy_no
WHERE
ip.id = #{id}
LIMIT 1
</select>
</mapper>
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
View file @
41e734cd
...
...
@@ -240,7 +240,8 @@
a.phone phone,
a.job_status jobStatus,
a.head_url headUrl,
a.sex sex
a.sex sex,
a.is_insure isInsure
FROM
yggl_main_emp a
LEFT JOIN zzgl_bmgw_m b ON a.bmgw_id = b.id
...
...
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