瀏覽代碼

视图数据更新

0027005599 2 年之前
父節點
當前提交
e01d4644a1

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/job/XCFYDataV_TREATMENT_ITEMSJob.java

@@ -43,7 +43,7 @@ public class XCFYDataV_TREATMENT_ITEMSJob implements Job {
         while (true) {
             log.info("开始同步V_TREATMENT_ITEMS数据 startRows:{} endRows:{}", startRows, endRows);
             Map<String, Object> paramMap = new HashMap<>();
-            String querySql = String.format(sql, startRows, endRows);
+            String querySql = String.format(sql,  endRows, startRows);
             Integer count = xcfyDataTransferService.transferDataList(querySql, insertSql, paramMap, new TransferDataCallFunction() {
                 @Override
                 public Boolean transferData(Map<String, Object> dataMap) throws Exception {