通道号维护
This commit is contained in:
parent
fb45d917bc
commit
a5dd0a25d7
@ -208,14 +208,18 @@ public class ReportItemController extends BaseController {
|
||||
@ApiOperation("查询检验项目通道号")
|
||||
@GetMapping("/getitemtdh")
|
||||
public Result getitemtdh(String yq){
|
||||
return reportItemService.queryXmInfoVsDYXH(yq);
|
||||
return reportItemService.getitemtdh(yq);
|
||||
}
|
||||
@ApiOperation("保存检验项目通道号")
|
||||
@PostMapping("/saveitemtdh")
|
||||
public Result saveitemtdh(@RequestBody List<XmInfoVs> XmInfoVsList){
|
||||
return reportItemService.updateXminfoVsDYXH(XmInfoVsList);
|
||||
public Result saveitemtdh(@RequestBody List<XmInter> XmInterList){
|
||||
return reportItemService.saveitemtdh(XmInterList);
|
||||
}
|
||||
@ApiOperation("保存检验项目通道号")
|
||||
@GetMapping("/delitemtdh")
|
||||
public Result delitemtdh(String yq,String tdh){
|
||||
return reportItemService.delitemtdh(yq,tdh);
|
||||
}
|
||||
|
||||
@ApiOperation("获取试剂厂家")
|
||||
@GetMapping("/querySjcs")
|
||||
public Result getSjcs(String yq){
|
||||
|
||||
@ -60,4 +60,5 @@ public interface ReportItemService {
|
||||
Result updateXminfoVsDYXH(List<XmInfoVs> list);
|
||||
Result getitemtdh(String yq);
|
||||
Result saveitemtdh(List<XmInter> list);
|
||||
Result delitemtdh(String yq,String tdh);
|
||||
}
|
||||
|
||||
@ -436,6 +436,16 @@ public class ReportItemServiceImpl implements ReportItemService {
|
||||
xmInter.setYq(yq);
|
||||
return new Result("0","成功!",reportItemMapper.queryXmInter(xmInter));
|
||||
|
||||
}
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public Result delitemtdh(String yq,String tdh){
|
||||
XmInter xmInter=new XmInter();
|
||||
xmInter.setYq(yq);
|
||||
xmInter.setTdh(tdh);
|
||||
reportItemMapper.deleteXmInter(xmInter);
|
||||
return new Result("0","成功!");
|
||||
|
||||
}
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user