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
032dc57e
Commit
032dc57e
authored
Apr 19, 2021
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫码存样2
parent
46cba912
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
10 deletions
+17
-10
SampleController.java
.../wise/sc/cement/business/controller/SampleController.java
+17
-10
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/controller/SampleController.java
View file @
032dc57e
...
...
@@ -112,6 +112,22 @@ public class SampleController {
return
BaseResponse
.
errorMsg
(
"失败!"
);
}
@ApiOperation
(
value
=
"APP样品扫码存样"
,
notes
=
"sampleId,cabinetId"
)
@PostMapping
(
"/sampleScan"
)
public
BaseResponse
sampleScan
(
String
param
)
{
try
{
System
.
out
.
println
(
"*********psram******"
+
param
);
String
[]
params
=
param
.
split
(
","
);
SampleScanQuery
query
=
new
SampleScanQuery
();
query
.
setSampleId
(
Integer
.
valueOf
(
params
[
0
]));
query
.
setSampleId
(
Integer
.
valueOf
(
params
[
1
]));
return
sampleService
.
sampleScan
(
query
);
}
catch
(
Exception
e
)
{
log
.
debug
(
"APP样品扫码存样{}"
,
e
);
}
return
BaseResponse
.
errorMsg
(
"失败!"
);
}
@ApiOperation
(
"绑定样品信息"
)
@PutMapping
(
"/bind/savePosition"
)
public
BaseResponse
<
String
>
bindSavePosition
(
@RequestBody
SampleManageQuery
query
)
{
...
...
@@ -189,16 +205,7 @@ public class SampleController {
}
}
@ApiOperation
(
value
=
"APP样品扫码存样"
)
@PostMapping
(
"/sampleScan"
)
public
BaseResponse
sampleScan
(
@RequestBody
SampleScanQuery
query
)
{
try
{
return
sampleService
.
sampleScan
(
query
);
}
catch
(
Exception
e
)
{
log
.
debug
(
"APP样品扫码存样{}"
,
e
);
}
return
BaseResponse
.
errorMsg
(
"失败!"
);
}
public
BaseResponse
<
String
>
editCabinet
(
String
cabinetNames
)
{
...
...
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