Commit a2db17c2 by zhangkb

测试修改生成报表3数据

parent 7bf459d9
......@@ -130,13 +130,10 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
indicatorsReportService.deleteReportThreeDataByParam(currentDate,
new ArrayList<String>(compareObjMap.keySet()),code);
for(CompareUnitDef unitDef : currentCompareUnitDef) {
int result = indicatorsReportService.dealDriveIndReportThreeData(
indicatorsReportService.dealDriveIndReportThreeData(
unitDef.getCompareId(), Arrays.asList(unitDef.getIndIds().split(",")),
unitDef.getDate(),code);
if(result==1) {
logger.info("下一个对标单元报表3数据计算");
continue;
}
Thread.sleep(10000);
}
}
if("0".equals(isTest)) {
......
......@@ -132,7 +132,7 @@ public class IndicatorsReportService {
reportThreeMapper.deleteByParam(paramMap);
}
public int dealDriveIndReportThreeData(String compareId,List<String> indIds,
public void dealDriveIndReportThreeData(String compareId,List<String> indIds,
Integer date,String code) {
List<IndicatorsReportThree> dataList = new ArrayList<>();
String type = this.getCompareType(date);
......@@ -251,7 +251,6 @@ public class IndicatorsReportService {
}
this.batchSaveOrUpdateReportThree(dataList);
}
return 1;
}
//type:0 前三 1末三
......
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