diff --git a/src/main/java/com/glxp/udidl/admin/controller/udchs/CodeRelController.java b/src/main/java/com/glxp/udidl/admin/controller/udchs/CodeRelController.java index c0ab6c4..d4ef3d2 100644 --- a/src/main/java/com/glxp/udidl/admin/controller/udchs/CodeRelController.java +++ b/src/main/java/com/glxp/udidl/admin/controller/udchs/CodeRelController.java @@ -32,12 +32,12 @@ public class CodeRelController { @PostMapping("/list") public BaseResponse getList(@RequestBody CodeRel param) { if ( param == null || - (StrUtil.isBlank(param.getDinamecode()) && StrUtil.isBlank(param.getDrugcode())) + (StrUtil.isBlank(param.getDiNameCode()) && StrUtil.isBlank(param.getDrugCode())) ){ return ResultVOUtils.error(ResultEnum.DATA_ERROR,"参数错误"); } List list = codeRelService.list(new LambdaQueryWrapper() - .eq(CodeRel::getDinamecode,param.getDinamecode()).or().eq(CodeRel::getDrugcode,param.getDrugcode())); + .eq(CodeRel::getDiNameCode,param.getDiNameCode()).or().eq(CodeRel::getDrugCode,param.getDrugCode())); return ResultVOUtils.success(list); } @@ -46,7 +46,7 @@ public class CodeRelController { @PostMapping("/update") public BaseResponse updateByCodeRel(@RequestBody CodeRel param) { if ( param == null || - (StrUtil.isBlank(param.getDinamecode()) && StrUtil.isBlank(param.getDrugcode())) + (StrUtil.isBlank(param.getDrugCode()) && StrUtil.isBlank(param.getDrugCode())) ){ return ResultVOUtils.error(ResultEnum.DATA_ERROR,"参数错误"); }