Просмотр исходного кода

修改bug:
bug表1113,订单审核 审核通过界面这里只要一个审核人就行 显示名称

jiakai 1 месяц назад
Родитель
Сommit
4bc015f263

+ 3 - 0
commons/src/main/java/com/jzg/commons/entity/dto/FeeAuditParam.java

@@ -111,6 +111,9 @@ public class FeeAuditParam extends PageRequest {
     @Schema(description = "审核人")
     private String auditUser;
 
+    @Schema(description = "审核人名称")
+    private String auditUserName;
+
     @Schema(description = "领取人")
     private String receiveUser;
 

+ 8 - 1
tenant/insurance/quotation-summary/src/main/resources/mapper/InsFeeAuditMapper.xml

@@ -9,6 +9,7 @@
         <result property="auditStatus" column="audit_status" jdbcType="VARCHAR"/>
         <result property="auditTime" column="audit_time" jdbcType="TIMESTAMP"/>
         <result property="auditUser" column="audit_user" jdbcType="VARCHAR"/>
+        <result property="auditUserName" column="audit_user_name" jdbcType="VARCHAR"/>
         <result property="receiveTime" column="receive_time" jdbcType="TIMESTAMP"/>
         <result property="receiveUser" column="receive_user" jdbcType="VARCHAR"/>
         <result property="isDelete" column="is_delete" jdbcType="TINYINT"/>
@@ -20,7 +21,7 @@
     </resultMap>
 
     <sql id="Base_Column_List">
-        order_no,audit_status,audit_time,
+        order_no,audit_status,audit_time,audit_user_name,
         audit_user,receive_time,receive_user,
         is_delete,create_time,create_by,
         update_time,update_by,is_problem
@@ -225,6 +226,9 @@
             <if test="param.auditUser != null and param.auditUser != ''">
                 and ifa.audit_user like concat('%',#{param.auditUser},'%')
             </if>
+            <if test="param.auditUserName != null and param.auditUserName != ''">
+                and ifa.audit_user_name like concat('%',#{param.auditUserName},'%')
+            </if>
             <if test="param.auditStatus != null and param.auditStatus != ''">
                 and ifa.audit_status = #{param.auditStatus}
             </if>
@@ -360,6 +364,9 @@
             <if test="param.auditUser != null and param.auditUser != ''">
                 and ifa.audit_user = #{param.auditUser}
             </if>
+            <if test="param.auditUserName != null and param.auditUserName != ''">
+                and ifa.audit_user_name like concat('%',#{param.auditUserName},'%')
+            </if>
             <if test="param.auditStatus != null and param.auditStatus != ''">
                 and ifa.audit_status = #{param.auditStatus}
             </if>