785834757 1 год назад
Родитель
Сommit
f33601619b

+ 3 - 0
commons/src/main/java/com/jzg/commons/entity/vo/CompanyClauseVo.java

@@ -13,6 +13,9 @@ public class CompanyClauseVo extends PageRequest {
     @Schema(description = "险种信息")
     private String riskCode;
 
+    @Schema(description = "条款code")
+    private String clauseCode;
+
     @Schema(description = "条款名称")
     private String clauseName;
 

+ 3 - 0
platform/src/main/resources/mapper/InsCompanyClauseMapper.xml

@@ -21,6 +21,9 @@
         <if test="param.riskCode != null and param.riskCode != ''">
             AND risk_code = #{param.riskCode}
         </if>
+        <if test="param.clauseCode != null and param.clauseCode != ''">
+            AND clause_code LIKE CONCAT('%', #{param.clauseCode}, '%')
+        </if>
         <if test="param.clauseName != null and param.clauseName != ''">
             AND clause_name LIKE CONCAT('%', #{param.clauseName}, '%')
         </if>