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
61640e0e
Commit
61640e0e
authored
Mar 30, 2022
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运营后台--
可选择产品
parent
a7290494
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
+3
-3
No files found.
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
View file @
61640e0e
...
@@ -131,7 +131,7 @@ public class InsureContorll {
...
@@ -131,7 +131,7 @@ public class InsureContorll {
if
(
insurePolicy
!=
null
){
if
(
insurePolicy
!=
null
){
return
ResultUtil
.
error
(
"企业已存在"
);
return
ResultUtil
.
error
(
"企业已存在"
);
}
}
InsureProduct
insureProduct
=
InsureProduct
.
builder
().
id
(
Integer
.
parseInt
(
insureDto
.
getProductId
())).
build
();
InsureProduct
insureProduct
=
InsureProduct
.
builder
().
id
(
Integer
.
parseInt
(
insureDto
.
getProductId
())).
build
()
.
selectById
()
;
if
(
insureProduct
==
null
){
if
(
insureProduct
==
null
){
return
ResultUtil
.
error
(
"产品不存在"
);
return
ResultUtil
.
error
(
"产品不存在"
);
}
}
...
@@ -194,8 +194,8 @@ public class InsureContorll {
...
@@ -194,8 +194,8 @@ public class InsureContorll {
insured
.
put
(
"trans_id"
,
"PI_"
+
qyzxEntInfoM
.
getId
()
+
"_"
+
dtf2
.
format
(
now
));
insured
.
put
(
"trans_id"
,
"PI_"
+
qyzxEntInfoM
.
getId
()
+
"_"
+
dtf2
.
format
(
now
));
insured
.
put
(
"price"
,
insureDto
.
getUserIds
().
length
*
price
);
/*根据基础计划生成*/
insured
.
put
(
"price"
,
insureDto
.
getUserIds
().
length
*
price
);
/*根据基础计划生成*/
insured
.
put
(
"insured_applicant_relations"
,
"36960"
);
insured
.
put
(
"insured_applicant_relations"
,
"36960"
);
insured
.
put
(
"insured_mobile"
,
qyzxEntInfoM
.
get
Phone
());
insured
.
put
(
"insured_mobile"
,
insureApplicant
.
getApplicantE
Phone
());
insured
.
put
(
"insured_e_contact"
,
qyzxEntInfoM
.
getOperName
());
insured
.
put
(
"insured_e_contact"
,
insureApplicant
.
getApplicantEContacts
());
insured
.
put
(
"insured_name"
,
qyzxEntInfoM
.
getName
());
insured
.
put
(
"insured_name"
,
qyzxEntInfoM
.
getName
());
insured
.
put
(
"insured_no_type"
,
"3306"
);
insured
.
put
(
"insured_no_type"
,
"3306"
);
insured
.
put
(
"insured_no"
,
qyzxEntInfoM
.
getCreditCode
());
insured
.
put
(
"insured_no"
,
qyzxEntInfoM
.
getCreditCode
());
...
...
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