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