瀏覽代碼

支付状态查询

lyhzzz 2 年之前
父節點
當前提交
e0924df1f6

+ 2 - 0
src/main/java/com/fdkankan/sale/entity/RepairLog.java

@@ -69,4 +69,6 @@ public class RepairLog implements Serializable {
     @TableField("test_id")
     private Integer testId;
 
+    @TableField(exist = false)
+    private Integer haveButton = 0;
 }

+ 2 - 2
src/main/resources/mapper/sale/RepairMapper.xml

@@ -141,10 +141,10 @@
             and rr.sys_user_id = #{param.repairManId}
         </if>
         <if test="param.payStatus != null and param.payStatus ==0">
-          and r.status &gt;= 9
+            and r.status &lt; 9
         </if>
         <if test="param.payStatus != null and param.payStatus ==1">
-            and r.status &lt; 9
+          and r.status &gt= 9
         </if>
         <if test="param.commentStatus != null ">
             and r.comment_status = #{param.commentStatus}