From 1da0cccd804b441ac94a35f28a2ed23a6a7062cc Mon Sep 17 00:00:00 2001
From: yj <Administrator@192>
Date: 星期五, 13 三月 2020 14:12:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div

---
 fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java |   43 +++++++++++++++++--------------------------
 1 files changed, 17 insertions(+), 26 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java b/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java
index fb515a2..9bad5c9 100644
--- a/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java
+++ b/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java
@@ -64,9 +64,9 @@
 
 	@Resource
 	private GoodsEvaluateService goodsEvaluateService;
-	  
+
 	/**
-	 * 姣�10鍒嗛挓  鏅氫笂00:00~06:00涓嶄笅鍙戜换浣曚竴涓晢鍝�
+	 * 姣�10鍒嗛挓 鏅氫笂00:00~06:00涓嶄笅鍙戜换浣曚竴涓晢鍝�
 	 */
 	@Scheduled(cron = "0 0/10 6-23 * * ?")
 	public void insetDynamicInfo() {
@@ -203,7 +203,7 @@
 	}
 
 	/**
-	 *  鍚庡彴缂栬緫鍔ㄦ�侊細 姣�3鍒嗛挓妫�绱�
+	 * 鍚庡彴缂栬緫鍔ㄦ�侊細 姣�3鍒嗛挓妫�绱�
 	 */
 	@Scheduled(cron = "0 0/3 * * * ?")
 	public void activityNeedPublish() {
@@ -272,13 +272,8 @@
 
 	/**
 	 * 
-	 * @Title: demoJobHandler
-	 * @Description: 鏇存柊灏忕▼搴忓姩鎬佸晢鍝�
-	 * @param param
-	 * @return
-	 * @throws Exception 
-	 * ReturnT<String> 杩斿洖绫诲瀷
-	 * @throws
+	 * @Title: demoJobHandler @Description: 鏇存柊灏忕▼搴忓姩鎬佸晢鍝� @param
+	 * param @return @throws Exception ReturnT<String> 杩斿洖绫诲瀷 @throws
 	 */
 	@XxlJob("dynamic-updateWXMPDynamicInfo")
 	public ReturnT<String> updateWXMPDynamicInfoHandler(String param) throws Exception {
@@ -287,11 +282,7 @@
 	}
 
 	/**
-	 * 娣诲姞鍐呬紭鎯犵浉鍏冲晢鍝�
-	 * @Title: addJDNYHInfo
-	 * @Description:  
-	 * void 杩斿洖绫诲瀷
-	 * @throws
+	 * 娣诲姞鍐呬紭鎯犵浉鍏冲晢鍝� @Title: addJDNYHInfo @Description: void 杩斿洖绫诲瀷 @throws
 	 */
 	private void addJDNYHInfo() throws Exception {
 
@@ -356,18 +347,17 @@
 			wxmpDynamicInfoService.addWXMPDynamicInfo(info);
 		}
 	}
-	
-	
-	/**
-	 * 鑷姩鐢熸垚鍙戝湀
-	 * 鏃╀笂6,7,15,16,21,22,23鐐规洿鏂�1娆�
-	 */
-	@Scheduled(cron = "0 0 6,7,15,16,21,22,23 * * ? ")
-	public void insetEvaluate() {
-		if (!Constant.IS_TASK) {
-			return;
-		}
 
+	/**
+	 * 鍔ㄦ�佸彂鍦�
+	 * 
+	 * @param param
+	 * @return
+	 * @throws Exception
+	 */
+	// @Scheduled(cron = "0 0 6,7,15,16,21,22,23 * * ? ")
+	@XxlJob("dynamic-insertEvaluate")
+	public ReturnT<String> insertEvaluate(String param) throws Exception {
 		try {
 			goodsEvaluateService.addGoodsEvaluateByDaTaoKe();
 		} catch (Exception e) {
@@ -377,6 +367,7 @@
 				e1.printStackTrace();
 			}
 		}
+		return ReturnT.SUCCESS;
 	}
 
 	

--
Gitblit v1.8.0