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
28d49a73
Commit
28d49a73
authored
2 years ago
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入被保人
parent
8156e12e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
+2
-2
No files found.
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
View file @
28d49a73
...
...
@@ -183,6 +183,8 @@ public class InsureContorll {
@ApiOperation
(
value
=
"1.投保申请"
,
httpMethod
=
"POST"
,
notes
=
"投保申请"
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
<
Object
>
insured_add
(
@RequestBody
InsureDto
insureDto
)
{
log
.
info
(
"/insured_add"
);
try
{
InsureProduct
insureProduct
=
InsureProduct
.
builder
().
id
(
Integer
.
parseInt
(
insureDto
.
getProductId
())).
build
().
selectById
();
List
<
InsureProductPlan
>
priceList
=
InsureProductPlan
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
InsureProductPlan
>().
lambda
()
.
eq
(
InsureProductPlan:
:
getProductId
,
insureProduct
.
getId
()).
eq
(
InsureProductPlan:
:
getDeleteFlag
,
0
));
...
...
@@ -193,8 +195,6 @@ public class InsureContorll {
if
(
qyzxEntInfoM
==
null
)
{
return
ResultUtil
.
error
(
"企业不存在"
);
}
try
{
DateTimeFormatter
dtf2
=
DateTimeFormatter
.
ofPattern
(
"yyyyMMddHHmmss"
);
DateTimeFormatter
ym
=
DateTimeFormatter
.
ofPattern
(
"yyyy-MM"
);
LocalDateTime
now
=
LocalDateTime
.
now
();
...
...
This diff is collapsed.
Click to expand it.
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