yaozhixue 1 년 전
부모
커밋
dcca7bf390
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/zfire/jiasm/syncdata/service/impl/DetailDownloadServiceImpl.java

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

@@ -215,7 +215,7 @@ public class DetailDownloadServiceImpl implements DetailDownloadService {
 	}
 
 	public void updateSyncTable(Long synReqId, String msg) {
-		jdbcTemplate.update("update itf_gree_to_fa_download_task_list set download_status=1,download_time=?,download_err_msg=? where id=?",
+		jdbcTemplate.update("update itf_gree_to_fa_download_task_list set download_times = download_times + 1,download_time=?,download_err_msg=? where id=?",
 				new Object[] { new Date(System.currentTimeMillis()), msg, synReqId });
 	}