Browse Source

[深爱]科目基础资料对接测试

zxl 1 month ago
parent
commit
296a68ccb8

+ 1 - 1
src/main/java/com/uas/eis/service/Impl/STKServiceImpl.java

@@ -338,7 +338,7 @@ public class STKServiceImpl implements STKService {
                     "UPDATE_TIME," +
                     "DISABLEDATE," +
                     "SOURCE,ENTRYCHECKITEM,ENTRYCURRENCY) " +
-                    "values ("+accountantProjectDataVo.get(i).getS_ID()+",'"+accountantProjectDataVo.get(i).getCODE()+"','"+accountantProjectDataVo.get(i).getNAME()+"'" +
+                    "values ('"+accountantProjectDataVo.get(i).getS_ID()+"','"+accountantProjectDataVo.get(i).getCODE()+"','"+accountantProjectDataVo.get(i).getNAME()+"'" +
                     ",'"+accountantProjectDataVo.get(i).getPARENTID()+"','"+accountantProjectDataVo.get(i).getS_PARENTNUM()+"','"+accountantProjectDataVo.get(i).getPARENTCODE()+"','"+accountantProjectDataVo.get(i).getPARENTNAME()+"'" +
                     ",'"+accountantProjectDataVo.get(i).getLONGNUMBER()+"','"+accountantProjectDataVo.get(i).getLONGNAME()+"','"+accountantProjectDataVo.get(i).getLEVEL()+"','"+accountantProjectDataVo.get(i).getISLEAF()+"'" +
                     ",'"+accountantProjectDataVo.get(i).getACCOUNTTABLENUMBER()+"','"+accountantProjectDataVo.get(i).getACCOUNTTABLENAME()+"','"+accountantProjectDataVo.get(i).getACCOUNTTYPENUMBER()+"','"+accountantProjectDataVo.get(i).getACCOUNTTYPENAME()+"'" +

+ 2 - 2
src/main/java/com/uas/eis/task/STKTask.java

@@ -207,7 +207,7 @@ public class STKTask {
 
 
     //现金流项目
-    @Scheduled(cron = "0 35 23 * * ?")
+    //@Scheduled(cron = "0 35 23 * * ?")
     public void queryCashFlowItems(){
         //StkCommonDto dto = new StkCommonDto();
         QueryCashFlowItemsDto dtoParam = new QueryCashFlowItemsDto();
@@ -255,7 +255,7 @@ public class STKTask {
 
 
     //获取会计科目
-    @Scheduled(cron = "0 38 23 * * ?")
+    @Scheduled(cron = "0 00 00 * * ?")
     public void queryAccountantProject() {
         QueryAccountantProjectDto dto = new QueryAccountantProjectDto();
         Integer page = 1;