yaozhixue 1 year ago
parent
commit
f4c2c3916d

+ 2 - 2
src/main/java/com/zfire/jiasm/syncdata/download/order/DetailDownloadInstallTask.java

@@ -66,10 +66,10 @@ public class DetailDownloadInstallTask {
 			for (Map<String, Object> downloadType : types) {
 				int topDownloadTaskType = (Integer) downloadType.get("download_task_type");
 				// 关联任务表提取相应的数据
-				List<Map<String, Object>> result = detailDownloadService.getTaskDataInstall(topDownloadTaskType);
+				// List<Map<String, Object>> result = detailDownloadService.getTaskDataInstall(topDownloadTaskType);
 
 				// 测试用
-				// List<Map<String, Object>> result = detailDownloadService.getTaskDataInstallTest(topDownloadTaskType);
+				List<Map<String, Object>> result = detailDownloadService.getTaskDataInstallTest(topDownloadTaskType);
 
 				for (Map<String, Object> row : result) {
 					// ID

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/service/impl/DetailDownloadServiceImpl.java

@@ -146,7 +146,7 @@ public class DetailDownloadServiceImpl implements DetailDownloadService {
 				+ " c.download_task_type_name "
 				+ " FROM itf_gree_to_fa_download_task_list a,itf_gree_to_fa_download_task_type c "
 				+ " where a.download_task_type=c.download_task_type "
-				+ " and a.download_key_value='8aaa99ed8a7e4979018a9710cf14273c' ");
+				+ " and a.id=32 ");
 		return result;
 	}
 	

+ 1 - 1
src/main/resources/bootstrap.properties

@@ -1,4 +1,4 @@
-spring.profiles.active=prd
+spring.profiles.active=prdt
 spring.application.name=jiasm-syncdata
 spring.main.allow-bean-definition-overriding=true
 # 修改线程池的拒绝策略

+ 1 - 1
src/main/resources/mapper/AzWgmxJyktDownloadMapper.xml

@@ -21,7 +21,7 @@
         from itf_tbl_az_wgmx_jykt_download a
                  left join order_base b on a.pgguid = b.pgguid
                  left join order_product p on a.pgguid = p.pgguid and b.id = p.order_base_id and a.pgmxid = p.pgmxid
-        where a.syn_req_id = #{request.synReqId} and a.syn_status = 0;
+        where a.syn_req_id = #{request.synReqId} and a.syn_status = 0 limit 1;
     </select>
 
 

+ 1 - 1
src/main/resources/mapper/AzWgmxQitaDownloadMapper.xml

@@ -20,7 +20,7 @@
         from itf_tbl_az_wgmx_sykt_download a
                  left join order_base b on a.pgguid = b.pgguid
                  left join order_product p on a.pgguid = p.pgguid and b.id = p.order_base_id and a.pgmxid = p.pgmxid
-        where a.syn_req_id = #{request.synReqId} and a.syn_status = 0;
+        where a.syn_req_id = #{request.synReqId} and a.syn_status = 0 limit 1;
     </select>
 
 

+ 1 - 1
src/main/resources/mapper/AzWgmxSyktDownloadMapper.xml

@@ -21,7 +21,7 @@
         from itf_tbl_az_wgmx_sykt_download a
                  left join order_base b on a.pgguid = b.pgguid
                  left join order_product p on a.pgguid = p.pgguid and b.id = p.order_base_id and a.pgmxid = p.pgmxid
-        where a.syn_req_id = #{request.synReqId} and a.syn_status = 0;
+        where a.syn_req_id = #{request.synReqId} and a.syn_status = 0 limit 1;
     </select>