lyhzzz 2 سال پیش
والد
کامیت
677cc4c1b4

+ 1 - 1
src/main/resources/mapper/manage/DownloadOrderMapper.xml

@@ -11,7 +11,7 @@
         from  t_download_order o
         left join t_user u on o.user_id = u.id
         <include refid="commonWhere"></include>
-        <if test="param.customerType!=null or param.payMethod!=null or param.useType!=null">
+        <if test="param.customerType!=null or param.payMethod==1 or param.useType!=null">
            and  o.rec_status = 'ABC'
         </if>
         union all

+ 1 - 1
src/main/resources/mapper/manage/IncrementOrderMapper.xml

@@ -11,7 +11,7 @@
         from  t_increment_order o
         left join t_user u on o.user_id = u.id
         <include refid="commonWhere"></include>
-        <if test="param.customerType!=null or param.payMethod!=null or param.useType!=null">
+        <if test="param.customerType!=null or param.payMethod==1 or param.useType!=null">
            and o.rec_status = 'ABC'
         </if>
         union all