lyhzzz 2 年之前
父节点
当前提交
d63b740263

+ 3 - 0
src/main/resources/mapper/manage/DownloadOrderMapper.xml

@@ -25,6 +25,9 @@
         <if test="param.useType!=null">
             and o.use_type = #{param.useType}
         </if>
+        <if test="param.payMethod!=null and param.payMethod==1">
+            and o.rec_status = 'ABC'
+        </if>
         order by create_time desc
     </select>
 

+ 3 - 0
src/main/resources/mapper/manage/IncrementOrderMapper.xml

@@ -24,6 +24,9 @@
         <if test="param.useType!=null">
             and o.use_type = #{param.useType}
         </if>
+        <if test="param.payMethod!=null and param.payMethod==1">
+            and o.rec_status = 'ABC'
+        </if>
         order by create_time desc
     </select>