Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
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
wangweidong
patzn-cloud-service-hmhj
Commits
96b8a4a8
Commit
96b8a4a8
authored
Jul 22, 2021
by
ghxdhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标准样品代码
parent
72f1364e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
StandardSampleController.java
...ervice/lims/hmhj/controller/StandardSampleController.java
+3
-2
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/controller/StandardSampleController.java
View file @
96b8a4a8
...
@@ -16,12 +16,12 @@ import org.springframework.web.bind.annotation.*;
...
@@ -16,12 +16,12 @@ import org.springframework.web.bind.annotation.*;
import
java.util.List
;
import
java.util.List
;
/**
/**
*
${table.comment}
前端控制器
*
标准样品
前端控制器
*
*
* @author patzn
* @author patzn
* @since 2021-07-22
* @since 2021-07-22
*/
*/
@Api
(
tags
=
"
${table.comment}
"
)
@Api
(
tags
=
"
标准样品表
"
)
@RestController
@RestController
@RequestMapping
(
"/v1/sample"
)
@RequestMapping
(
"/v1/sample"
)
public
class
StandardSampleController
extends
ServiceController
{
public
class
StandardSampleController
extends
ServiceController
{
...
@@ -61,6 +61,7 @@ public class StandardSampleController extends ServiceController {
...
@@ -61,6 +61,7 @@ public class StandardSampleController extends ServiceController {
@ApiOperation
(
"添加"
)
@ApiOperation
(
"添加"
)
@PostMapping
(
"/"
)
@PostMapping
(
"/"
)
public
RestResult
<
Boolean
>
add
(
StandardSample
standardSample
)
{
public
RestResult
<
Boolean
>
add
(
StandardSample
standardSample
)
{
standardSample
.
setCid
(
getAccount
().
getUserId
());
return
success
(
standardSampleService
.
save
(
standardSample
));
return
success
(
standardSampleService
.
save
(
standardSample
));
}
}
...
...
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