Browse Source

订单催款定时任务修改

anderx 4 years ago
parent
commit
1c3515e3ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/NewOrderDunMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/NewOrderDunMapper.xml

@@ -465,7 +465,7 @@
   a.effective_count effectiveCount, a.aid, a.create_time createTime,b.approval,a.customize_time customizeTime
   ,date_format(a.customize_time,'%Y-%m-%d') customizeTimes, a.customize_name customizeName,a.money 
   from new_order_dun a left join  t_order_new b on a.order_no=b.order_no
-  where 1=1 and a.status=0 and b.process_status > 4
+  where 1=1 and a.status=0 and b.process_status > 4 and b.delete_sign in (0,2,3)
   </select>
   <select id="selectByTid" resultType="com.goafanti.order.bo.OutNewOrderDunBo">
     select a.id, a.order_no orderNo, a.tid, a.project_type projectType, a.dun_type dunType, a.wait_day waitDay,