Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
Project
Project
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
竹天卫
tianjin-cement
Commits
c3b017a2
Commit
c3b017a2
authored
Sep 09, 2020
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
天津现场第一次演示节点
parent
96c8aad6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
SampleController.java
.../wise/sc/cement/business/controller/SampleController.java
+1
-1
SampleServiceImpl.java
...se/sc/cement/business/service/impl/SampleServiceImpl.java
+1
-0
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/controller/SampleController.java
View file @
c3b017a2
...
@@ -71,7 +71,7 @@ public class SampleController {
...
@@ -71,7 +71,7 @@ public class SampleController {
}
}
@ApiOperation
(
value
=
"样品销毁"
)
@ApiOperation
(
value
=
"样品销毁"
)
@PostMapping
(
"/destruction/{}"
)
@PostMapping
(
"/destruction/{
id
}"
)
public
BaseResponse
destruction
(
@PathVariable
Integer
id
)
{
public
BaseResponse
destruction
(
@PathVariable
Integer
id
)
{
try
{
try
{
return
sampleService
.
destruction
(
id
);
return
sampleService
.
destruction
(
id
);
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/SampleServiceImpl.java
View file @
c3b017a2
...
@@ -90,6 +90,7 @@ public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> impleme
...
@@ -90,6 +90,7 @@ public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> impleme
.
setLittlePosition
(
query
.
getLittlePosition
())
.
setLittlePosition
(
query
.
getLittlePosition
())
.
setOriginalPosition
(
query
.
getOriginalPosition
())
.
setOriginalPosition
(
query
.
getOriginalPosition
())
.
setRemark
(
query
.
getRemark
());
.
setRemark
(
query
.
getRemark
());
sampleMapper
.
updateById
(
sample
);
return
BaseResponse
.
okData
(
"样品登记成功"
);
return
BaseResponse
.
okData
(
"样品登记成功"
);
}
}
...
...
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