Commit e2bda49f authored by suhuiguang's avatar suhuiguang

1.代码被覆盖

parent afa2d7a4
......@@ -199,7 +199,10 @@ public class CheckController extends AbstractBaseController {
public CommonResponse saveCheckRecord(
@ApiParam(value = "检查信息") @RequestBody CheckRecordParam requestParam) {
try {
CheckDto checkDto = checkService.saveCheckRecord(requestParam, getSelectedOrgInfo());
ReginParams reginParams = getSelectedOrgInfo();
String orgCode = getOrgCode(reginParams);
requestParam.setOrgCode(orgCode);
CheckDto checkDto = checkService.saveCheckRecord(requestParam, reginParams);
return CommonResponseUtil.success(checkDto);
} catch (Exception e) {
log.error(e.getMessage(), e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment