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
0855d150
Commit
0855d150
authored
Jun 29, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时后台--
修改投保条件为不同月份可重复投递一个人
parent
496a7947
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
src/main/java/cn/timer/api/bean/insure/InsureUser.java
+6
-1
src/main/java/cn/timer/api/dao/insure/InsureUserMapper.java
+1
-1
src/main/java/cn/timer/api/dto/yggl/YgQueryDto.java
+2
-0
src/main/resources/mapping/insure/InsureUserMapper.xml
+7
-0
No files found.
src/main/java/cn/timer/api/bean/insure/InsureUser.java
View file @
0855d150
...
@@ -10,7 +10,7 @@ import lombok.AllArgsConstructor;
...
@@ -10,7 +10,7 @@ import lombok.AllArgsConstructor;
import
lombok.Builder
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
org.springframework.data.annotation
.Transient
;
import
javax.persistence
.Transient
;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GeneratedValue
;
...
@@ -167,4 +167,9 @@ public class InsureUser extends Model<InsureUser> {
...
@@ -167,4 +167,9 @@ public class InsureUser extends Model<InsureUser> {
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
@ApiModelProperty
(
value
=
"导入备注"
)
@ApiModelProperty
(
value
=
"导入备注"
)
private
String
remake
;
private
String
remake
;
@Transient
@TableField
(
exist
=
false
)
@ApiModelProperty
(
value
=
"新被保人"
,
example
=
"新被保人"
)
private
InsureUser
replaceUser
;
}
}
src/main/java/cn/timer/api/dao/insure/InsureUserMapper.java
View file @
0855d150
...
@@ -22,7 +22,7 @@ import java.util.List;
...
@@ -22,7 +22,7 @@ import java.util.List;
public
interface
InsureUserMapper
extends
BaseMapper
<
InsureUser
>
{
public
interface
InsureUserMapper
extends
BaseMapper
<
InsureUser
>
{
List
<
PolicyDto
>
selectPolicyList
(
@Param
(
"policyDto"
)
PolicyDto
policyDto
);
List
<
PolicyDto
>
selectPolicyList
(
@Param
(
"policyDto"
)
PolicyDto
policyDto
);
Integer
totalUser
(
@Param
(
"policyDto"
)
PolicyDto
policyDto
);
Integer
totalUser
(
@Param
(
"policyDto"
)
PolicyDto
policyDto
);
List
<
InsureUser
>
selectListByIds
(
@Param
(
"array"
)
String
[]
ids
);
List
<
InsureUser
>
selectListByIds
(
@Param
(
"array"
)
String
[]
ids
,
@Param
(
"policyId"
)
Integer
policyId
,
@Param
(
"createTime"
)
String
createTime
);
List
<
InsureUserDto
>
selectPlansListByIds
(
@Param
(
"array"
)
String
[]
ids
);
List
<
InsureUserDto
>
selectPlansListByIds
(
@Param
(
"array"
)
String
[]
ids
);
List
<
InsureUserDto
>
selectPlansListById
(
@Param
(
"policyId"
)
String
id
);
List
<
InsureUserDto
>
selectPlansListById
(
@Param
(
"policyId"
)
String
id
);
int
updateInsure
(
@Param
(
"array"
)
Integer
[]
ids
);
int
updateInsure
(
@Param
(
"array"
)
Integer
[]
ids
);
...
...
src/main/java/cn/timer/api/dto/yggl/YgQueryDto.java
View file @
0855d150
...
@@ -80,4 +80,6 @@ public class YgQueryDto extends Page {
...
@@ -80,4 +80,6 @@ public class YgQueryDto extends Page {
@ApiModelProperty
(
value
=
"证件号码 "
,
example
=
"证件号码"
)
@ApiModelProperty
(
value
=
"证件号码 "
,
example
=
"证件号码"
)
private
String
zjNum
;
private
String
zjNum
;
private
Integer
insureId
;
}
}
src/main/resources/mapping/insure/InsureUserMapper.xml
View file @
0855d150
...
@@ -394,6 +394,13 @@
...
@@ -394,6 +394,13 @@
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
<if
test=
"policyId!=null and policyId !=''"
>
and policy_id =#{policyId}
</if>
<if
test=
"createTime!=null and createTime !=''"
>
and date_format(create_time,'%Y-%m') = #{createTime}
</if>
and status = 1 and insure_status = 1
</select>
</select>
<!--根据id数组查询员工-->
<!--根据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