From a39e691ba537568c3cb70ef61b598272a9dc7022 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Tue, 12 Nov 2024 16:12:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../udidl/admin/controller/udchs/CodeRelController.java | 3 +-- .../java/com/glxp/udidl/admin/entity/chs/CodeRel.java | 6 ------ .../resources/mybatis/mapper/udchs/CodeRelMapper.xml | 9 --------- 3 files changed, 1 insertion(+), 17 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 04e5b66..07b2a65 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 @@ -37,8 +37,7 @@ public class CodeRelController { return ResultVOUtils.error(ResultEnum.DATA_ERROR,"参数错误"); } List list = codeRelService.list(new LambdaQueryWrapper() - .eq(CodeRel::getDiNameCode,param.getDiNameCode()).or().eq(CodeRel::getDrugCode,param.getDrugCode()) - .or(StrUtil.isNotBlank(param.getApprovalNum())).eq(StrUtil.isNotBlank(param.getApprovalNum()),CodeRel::getApprovalNum,param.getApprovalNum())); + .eq(CodeRel::getDiNameCode,param.getDiNameCode()).or().eq(CodeRel::getDrugCode,param.getDrugCode())); return ResultVOUtils.success(list); } diff --git a/src/main/java/com/glxp/udidl/admin/entity/chs/CodeRel.java b/src/main/java/com/glxp/udidl/admin/entity/chs/CodeRel.java index 7898825..fe8f3c7 100644 --- a/src/main/java/com/glxp/udidl/admin/entity/chs/CodeRel.java +++ b/src/main/java/com/glxp/udidl/admin/entity/chs/CodeRel.java @@ -78,10 +78,4 @@ public class CodeRel { public Integer fromType; - /** - * 批准文号 - */ - @TableField(value = "approvalNum") - @ApiModelProperty(value="批准文号") - private String approvalNum; } \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/udchs/CodeRelMapper.xml b/src/main/resources/mybatis/mapper/udchs/CodeRelMapper.xml index 797b8e5..9e4ec63 100644 --- a/src/main/resources/mybatis/mapper/udchs/CodeRelMapper.xml +++ b/src/main/resources/mybatis/mapper/udchs/CodeRelMapper.xml @@ -88,9 +88,6 @@ fromType, - - approvalNum, - @@ -129,9 +126,6 @@ #{fromType,jdbcType=TINYINT}, - - #{approvalNum,jdbcType=VARCHAR}, - @@ -231,9 +225,6 @@ fromType = #{fromType,jdbcType=TINYINT}, - - approvalNum = #{approvalNum,jdbcType=TINYINT}, -