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
92e4c2e3
Commit
92e4c2e3
authored
Apr 29, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入被保人员bug修复
parent
d4ba2dee
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
0 deletions
+13
-0
sql/insure_policy.sql
+3
-0
src/main/java/cn/timer/api/bean/insure/InsureUser.java
+2
-0
src/main/java/cn/timer/api/dto/insure/InsureDto.java
+4
-0
src/main/resources/mapping/insure/InsurePolicyMapper.xml
+3
-0
src/main/resources/mapping/insure/InsureUserMapper.xml
+1
-0
No files found.
sql/insure_policy.sql
View file @
92e4c2e3
...
...
@@ -167,3 +167,6 @@ SET FOREIGN_KEY_CHECKS = 1;
INSERT
INTO
`timer_test`
.
`admin_menu_template`
(
`id`
,
`parentId`
,
`menu_code`
,
`menu_name`
,
`sort_number`
,
`path`
,
`enable`
,
`distribution`
)
VALUES
(
23
,
0
,
'policy'
,
'保单管理'
,
23
,
'/policy'
,
1
,
1
);
INSERT
INTO
`timer_test`
.
`qyzx_admin_menu`
(
`id`
,
`menu_code`
,
`menu_name`
,
`sort_number`
,
`org_code`
,
`addtime`
)
VALUES
(
364
,
'policy'
,
'保单管理'
,
17
,
1
,
1648712195019
);
ALTER
TABLE
`timer_test`
.
`insure_user`
ADD
COLUMN
`reason`
varchar
(
255
)
NULL
COMMENT
'批改原因'
AFTER
`apply_type`
;
src/main/java/cn/timer/api/bean/insure/InsureUser.java
View file @
92e4c2e3
...
...
@@ -155,5 +155,7 @@ public class InsureUser extends Model<InsureUser> {
@ApiModelProperty
(
value
=
"申请类型:1新增 2投保 3批增"
)
private
Integer
applyType
;
@ApiModelProperty
(
value
=
"批改原因"
)
private
String
reason
;
}
src/main/java/cn/timer/api/dto/insure/InsureDto.java
View file @
92e4c2e3
...
...
@@ -34,6 +34,10 @@ public class InsureDto {
private
String
[]
userIds
;
private
Double
totalPrice
;
private
MultipartFile
file
;
private
Integer
limit
=
0
;
/*代表是单独替换*/
private
String
userName
;
private
String
idCardNo
;
private
String
reason
;
/*批改原因*/
// private String
}
src/main/resources/mapping/insure/InsurePolicyMapper.xml
View file @
92e4c2e3
...
...
@@ -276,6 +276,9 @@
select count(ip.id)
from insure_policy ip
<where>
<if
test=
"policy.productId!=null and policy.productId!=''"
>
and ip.product_id = #{policy.productId}
</if>
<if
test=
"policy.status!=null and policy.status!=''"
>
and ip.status = #{policy.status}
</if>
...
...
src/main/resources/mapping/insure/InsureUserMapper.xml
View file @
92e4c2e3
...
...
@@ -30,6 +30,7 @@
<result
property=
"policyId"
column=
"policy_id"
/>
<result
property=
"replaceTransId"
column=
"replace_trans_id"
/>
<result
property=
"applyType"
column=
"apply_type"
/>
<result
property=
"reason"
column=
"reason"
/>
</resultMap>
<select
id=
"queryObject"
resultType=
"cn.timer.api.bean.insure.InsureUser"
>
...
...
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