Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
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
王衍超
cloud-fb
Commits
a78108ed
Commit
a78108ed
authored
Jul 27, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一下返回状态,之前放到message里边了
parent
59b71215
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
SandMiningController.java
...a/com/xyst/dinas/production/web/SandMiningController.java
+1
-1
No files found.
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/web/SandMiningController.java
View file @
a78108ed
...
@@ -74,7 +74,7 @@ public class SandMiningController {
...
@@ -74,7 +74,7 @@ public class SandMiningController {
KObject
kobject
=
JSONObjectUtils
.
toObject
(
body
,
Amino
.
getApplicationMetadataContext
().
getBean
(
SandMiningConstant
.
ENTITY
,
KClass
.
class
));
KObject
kobject
=
JSONObjectUtils
.
toObject
(
body
,
Amino
.
getApplicationMetadataContext
().
getBean
(
SandMiningConstant
.
ENTITY
,
KClass
.
class
));
List
<
KObject
>
a
=
sandMiningService
.
getListByShipAndWorkDate
(
kobject
);
List
<
KObject
>
a
=
sandMiningService
.
getListByShipAndWorkDate
(
kobject
);
if
(
a
.
size
()>
0
){
if
(
a
.
size
()>
0
){
return
ResponseObj
.
error
(
"500"
,
"该许可证下的船只许可时间与已有数据交叉,请选择其他船只"
);
return
ResponseObj
.
error
(
500
,
"该许可证下的船只许可时间与已有数据交叉,请选择其他船只"
);
}
}
sandMiningService
.
update
(
kobject
);
sandMiningService
.
update
(
kobject
);
return
ResponseObj
.
success
(
"修改成功"
);
return
ResponseObj
.
success
(
"修改成功"
);
...
...
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