Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
data-acquisition
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
竹天卫
data-acquisition
Commits
1717d728
Commit
1717d728
authored
Jun 16, 2021
by
罗贤顺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
送样结果单根据样号查数据接口修改
parent
0ac8c249
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
TSampleLaboratorysheetController.java
...business/controller/TSampleLaboratorysheetController.java
+12
-0
ITSampleLaboratorysheetService.java
...tion/business/service/ITSampleLaboratorysheetService.java
+2
-0
TSampleLaboratorysheetServiceImpl.java
...iness/service/impl/TSampleLaboratorysheetServiceImpl.java
+9
-0
No files found.
acquisition-business/src/main/java/cn/wise/sc/acquisition/business/controller/TSampleLaboratorysheetController.java
View file @
1717d728
...
@@ -48,6 +48,18 @@ public class TSampleLaboratorysheetController {
...
@@ -48,6 +48,18 @@ public class TSampleLaboratorysheetController {
return
itSampleLaboratorysheetService
.
getPage
(
param
,
query
);
return
itSampleLaboratorysheetService
.
getPage
(
param
,
query
);
}
}
/**
* 根据样号查看送样信息
* @param yh
* @return
*/
@ApiOperation
(
value
=
"根据样号查看送样信息"
)
@GetMapping
(
value
=
"/getSampleListByYh/{yh}"
)
public
R
getSampleListByYh
(
@PathVariable
@NotBlank
String
yh
)
{
TSampleListQuery
param
=
new
TSampleListQuery
();
param
.
setYh
(
yh
);
return
itSampleLaboratorysheetService
.
getSampleListByYh
(
param
);
}
/**
/**
* 根据样号查看分析结果
* 根据样号查看分析结果
*
*
...
...
acquisition-business/src/main/java/cn/wise/sc/acquisition/business/service/ITSampleLaboratorysheetService.java
View file @
1717d728
...
@@ -32,4 +32,6 @@ public interface ITSampleLaboratorysheetService extends IService<TSampleLaborato
...
@@ -32,4 +32,6 @@ public interface ITSampleLaboratorysheetService extends IService<TSampleLaborato
R
getPage
(
TSampleLaboratorysheetQuery
tSampleLaboratorysheetQuery
,
Query
query
);
R
getPage
(
TSampleLaboratorysheetQuery
tSampleLaboratorysheetQuery
,
Query
query
);
R
getList
();
R
getList
();
R
getSampleListByYh
(
TSampleListQuery
param
);
}
}
acquisition-business/src/main/java/cn/wise/sc/acquisition/business/service/impl/TSampleLaboratorysheetServiceImpl.java
View file @
1717d728
...
@@ -42,6 +42,15 @@ public class TSampleLaboratorysheetServiceImpl extends ServiceImpl<TSampleLabora
...
@@ -42,6 +42,15 @@ public class TSampleLaboratorysheetServiceImpl extends ServiceImpl<TSampleLabora
@Autowired
@Autowired
private
ITSampleListService
tSampleListService
;
private
ITSampleListService
tSampleListService
;
@Override
public
R
getSampleListByYh
(
TSampleListQuery
param
)
{
log
.
info
(
JSON
.
toJSONString
(
param
));
//参数校验
Rcode
.
NOT_PARAM
.
assertNotNull
(
param
);
Rcode
.
NOT_PARAM
.
assertNotEmpty
(
param
.
getYh
());
R
byYh
=
tSampleListService
.
getByYh
(
param
);
return
R
.
ok
(
byYh
);
}
@Override
@Override
public
R
getByYh
(
TSampleLaboratorysheetQuery
query
)
{
public
R
getByYh
(
TSampleLaboratorysheetQuery
query
)
{
log
.
info
(
JSON
.
toJSONString
(
query
));
log
.
info
(
JSON
.
toJSONString
(
query
));
...
...
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