许可码校验工具类
This commit is contained in:
parent
26e520e0ba
commit
20fc2f9fad
@ -67,14 +67,14 @@ public class LisWorkController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@ApiOperation("获取样本列表")
|
@ApiOperation("获取样本列表")
|
||||||
@GetMapping("/samplelist")
|
@GetMapping("/samplelist")
|
||||||
// public Result getSampleList(Date jyrq,String yq,Long days){
|
public Result getSampleList(Date jyrq,String yq,Long days){
|
||||||
// return lisWorkService.getSampleList(jyrq,yq,days);
|
return lisWorkService.getSampleList(jyrq,yq,days);
|
||||||
// }
|
}
|
||||||
public TableDataInfo getsamplelist(Date jyrq, String yq, Long days) {
|
// public TableDataInfo getsamplelist(Date jyrq, String yq, Long days) {
|
||||||
startPage();
|
// startPage();
|
||||||
List<LabPat> labPatList = lisWorkService.getSampleList(jyrq, yq, days);
|
// List<LabPat> labPatList = lisWorkService.getSampleList(jyrq, yq, days);
|
||||||
return getDataTable(labPatList);
|
// return getDataTable(labPatList);
|
||||||
}
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取普通样本信息
|
* 获取普通样本信息
|
||||||
|
|||||||
@ -13,7 +13,7 @@ public interface LisWorkService {
|
|||||||
Result getInstrdList(Long userId);
|
Result getInstrdList(Long userId);
|
||||||
Result getGroupInstrdList(Long userId,String groupId);
|
Result getGroupInstrdList(Long userId,String groupId);
|
||||||
Result getInstrdConfig(String yq);
|
Result getInstrdConfig(String yq);
|
||||||
List<LabPat> getSampleList(Date jyrq, String yq, Long days);
|
Result getSampleList(Date jyrq, String yq, Long days);
|
||||||
Result getLabPat(Date jyrq, String yq, String ybh);
|
Result getLabPat(Date jyrq, String yq, String ybh);
|
||||||
Result sampleMedInfo(Date jyrq, String yq, String ybh);
|
Result sampleMedInfo(Date jyrq, String yq, String ybh);
|
||||||
Result checkUser(String yhdh, String mm);
|
Result checkUser(String yhdh, String mm);
|
||||||
|
|||||||
@ -64,13 +64,13 @@ public class LisWorkServiceImpl implements LisWorkService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<LabPat> getSampleList(Date jyrq, String yq, Long days) {
|
public Result getSampleList(Date jyrq, String yq, Long days) {
|
||||||
if(days>1) {
|
if(days>1) {
|
||||||
List<LabPat> labPatListday = commonUtil.getSampleListday(yq, days);
|
List<LabPat> labPatListday = commonUtil.getSampleListday(yq, days);
|
||||||
return labPatListday;
|
return new Result("0", "获取样本数据成功!", labPatListday);
|
||||||
}else {
|
}else {
|
||||||
List<LabPat> labPatListday = commonUtil.getsamplelist(jyrq, yq);
|
List<LabPat> labPatListday = commonUtil.getsamplelist(jyrq, yq);
|
||||||
return labPatListday;
|
return new Result("0", "获取样本数据成功!", labPatListday);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user