From fb677d8722b93d73cd79fbde4d4a7ab4023f1b9d Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Thu, 24 Oct 2024 17:01:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A4=9A=E7=A0=81=E8=9E=8D=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../udidl/admin/controller/udchs/CodeRelController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,"参数错误"); }