This commit is contained in:
tangw 2026-01-30 17:45:06 +08:00
parent 949e6fb027
commit 8db3bebafd
2 changed files with 6 additions and 5 deletions

View File

@ -214,8 +214,8 @@ public class LisWorkController extends BaseController {
} }
@ApiOperation("自动签收条码") @ApiOperation("自动签收条码")
@GetMapping("/autosavebarcode") @GetMapping("/autosavebarcode")
public ResultT<LabReqmain> autosavebarcode(String sqh) { public ResultT<LabReqmainVO> autosavebarcode(String sqh) {
return ResultT.fromResult(lisWorkService.autosavebarcode(sqh),LabReqmain.class); return ResultT.fromResult(lisWorkService.autosavebarcode(sqh),LabReqmainVO.class);
} }
@ApiOperation("手动保存签收条码") @ApiOperation("手动保存签收条码")
@PostMapping("/savebarcode") @PostMapping("/savebarcode")
@ -242,7 +242,7 @@ public class LisWorkController extends BaseController {
} }
@ApiOperation("查询条码") @ApiOperation("查询条码")
@GetMapping("/querybarcode") @GetMapping("/querybarcode")
public ResultT querybarcode(String sqh) { public ResultT<LabReqmainVO> querybarcode(String sqh) {
return ResultT.fromResult(lisWorkService.querybarcode(sqh),LabReqmainVO.class); return ResultT.fromResult(lisWorkService.querybarcode(sqh),LabReqmainVO.class);
} }
} }

View File

@ -632,7 +632,7 @@ public class LisWorkServiceImpl implements LisWorkService {
return new Result("-1",sqh+"无数据,处理失败"); return new Result("-1",sqh+"无数据,处理失败");
} }
LabReqmain labReqmainOne=new LabReqmain(); LabReqmain labReqmainOne=new LabReqmain();
BeanUtils.copyBeanProp(labReqmainOne,labReqmainOne); BeanUtils.copyBeanProp(labReqmainOne,labReqmainvo);
//2.调用接口,执行申请单收费 //2.调用接口,执行申请单收费
Result result0=reqbilling(labReqmainOne, yhdh); Result result0=reqbilling(labReqmainOne, yhdh);
if (!result0.getCode().equals("0")) return result0; if (!result0.getCode().equals("0")) return result0;
@ -640,7 +640,8 @@ public class LisWorkServiceImpl implements LisWorkService {
if (savereqmain(labReqmainOne, yhdh) != 0) { if (savereqmain(labReqmainOne, yhdh) != 0) {
return new Result("-1",sqh+"保存申请单状态失败"+result0.getMsg()); return new Result("-1",sqh+"保存申请单状态失败"+result0.getMsg());
} }
return new Result("0","成功",labReqmainOne); BeanUtils.copyBeanProp(labReqmainvo,labReqmainOne);
return new Result("0","成功",labReqmainvo);
} }
/** /**