Commit 91596f94 authored by 位宇华's avatar 位宇华

修改entity

parent 996087dc
...@@ -45,8 +45,8 @@ public class DataSyncServiceimpl implements DataSyncService { ...@@ -45,8 +45,8 @@ public class DataSyncServiceimpl implements DataSyncService {
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
String lastMonth = DateUtils.getYearAndMonthLast(); String lastMonth = DateUtils.getYearAndMonthLast();
ParmDataModel parmDataModel = new ParmDataModel(); ParmDataModel parmDataModel = new ParmDataModel();
//parmDataModel.setPeriod(lastMonth); parmDataModel.setPeriod(lastMonth);
parmDataModel.setPeriod("2024-05"); //parmDataModel.setPeriod("2024-05");
String period = parmDataModel.getPeriod(); String period = parmDataModel.getPeriod();
parmDataModel.setYear(period.substring(0, 4)); parmDataModel.setYear(period.substring(0, 4));
parmDataModel.setMonth(StringUtils.startsWith(period.substring(5, 7), "0") ? StringUtils.substringAfterLast(period.substring(5, 7), "0") : period.substring(5, 7)); parmDataModel.setMonth(StringUtils.startsWith(period.substring(5, 7), "0") ? StringUtils.substringAfterLast(period.substring(5, 7), "0") : period.substring(5, 7));
...@@ -72,7 +72,7 @@ public class DataSyncServiceimpl implements DataSyncService { ...@@ -72,7 +72,7 @@ public class DataSyncServiceimpl implements DataSyncService {
fallDataModel.setYear(v.getYear()); fallDataModel.setYear(v.getYear());
fallDataModel.setMonth(v.getMonth()); fallDataModel.setMonth(v.getMonth());
fallDataModel.setAccountcode(v.getAccount()); fallDataModel.setAccountcode(v.getAccount());
fallDataModel.setEntitycode(icpCode); fallDataModel.setEntitycode(v.getEntity());
fallDataModel.setOrivalue(v.getMoney()); fallDataModel.setOrivalue(v.getMoney());
fallDataModel.setICPcode(v.getICP()); fallDataModel.setICPcode(v.getICP());
fallDataModel.setC1(v.getC1()); fallDataModel.setC1(v.getC1());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment