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

解决产品申请通过审核状态模糊查询显示结果不正确问题

wangyu 6 лет назад
Родитель
Сommit
034e32289c

+ 1 - 1
diagbotman-service/src/main/resources/mapper/ProductOrderMapper.xml

@@ -84,7 +84,7 @@
         <if test="product.num != null and product.num != ''">
             AND num like concat ('%',#{product.num},'%')
         </if>
-        <if test="product.auditStatus != null and product.auditStatus != ''">
+        <if test="product.auditStatus != null">
             AND audit_status=#{product.auditStatus}
         </if>
         <if test="product.userId != null and product.userId.size > 0">