Browse Source

催款信息轮回时间调整11点

anderx 7 years ago
parent
commit
c6288bfc98

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

@@ -1152,7 +1152,11 @@
   	<if test="starTime !=null and endTime !=null">
   	and a.sign_time between #{starTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
   	</if>
-  	order by a.order_status,a.create_time desc
+  	order by 
+  	<if test="specially == 4">
+  	a.process_status,
+  	</if>
+  	a.order_status,a.create_time desc
   	<if test="page_sql!=null">
 			${page_sql}
 	</if>

+ 1 - 1
src/main/java/com/goafanti/common/task/OrderDunTask.java

@@ -41,7 +41,7 @@ public class OrderDunTask {
 	 * 每天凌晨2点轮询处理需要催款的信息
 	 */
 	
-	@Scheduled(cron = "0 27 17  * * ?") 
+	@Scheduled(cron = "0 0 11  * * ?") 
 	@RequestMapping(value = "/open/updateorderDun", method = RequestMethod.GET)
   	@Transactional(rollbackFor=Exception.class)
 	public void updateorderDun(){