Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
HOTEL_SERVER
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
汪鑫
HOTEL_SERVER
Commits
7441880a
Commit
7441880a
authored
Jan 02, 2024
by
汪鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdf转图片
parent
485f02ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
CommonController.java
...n/java/com/ihooyah/model/controller/CommonController.java
+11
-0
No files found.
hotel-polebuild-parent/polebuild-server-api/src/main/java/com/ihooyah/model/controller/CommonController.java
View file @
7441880a
...
...
@@ -131,6 +131,17 @@ public class CommonController extends BaseController {
params
.
setUpdateTime
(
DateUtil
.
date
());
requestBodyMapper
.
updateById
(
params
);
}
if
(
ObjectUtil
.
equal
(
params
.
getWhetherDraft
(),
2
)){
// 提交记录
List
<
RequestBodyEntity
>
requestBodyEntities
=
requestBodyMapper
.
selectList
(
new
QueryWrapper
<
RequestBodyEntity
>().
eq
(
"row_guid"
,
params
.
getRowGuid
())
.
eq
(
"status"
,
1
)
.
eq
(
"whether_draft"
,
1
));
for
(
RequestBodyEntity
requestBodyEntity
:
requestBodyEntities
)
{
RequestBodyEntityDTO
requestBodyEntityDTO
=
new
RequestBodyEntityDTO
();
requestBodyEntityDTO
.
setId
(
requestBodyEntity
.
getId
());
this
.
deleteParamsById
(
requestBodyEntityDTO
);
}
}
return
RespInfo
.
mobiSuccess
(
true
);
}
...
...
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