Commit 6a533192 by zhangkb

修复运算前删除历史数据接口bug

parent a5439382
......@@ -94,12 +94,12 @@ public class DriveIndCalResultService {
Integer sameDate = null;
//将对标单元的日期改成同期
for(CompareUnitDef unitDef : compareUnitList) {
currentDate = unitDef.getDate();
Integer date = unitDef.getDate()-100;
unitDef.setDate(date);
sameCompareUnitList.add(unitDef);
compareIds.add(unitDef.getCompareId());
currentDate = unitDef.getDate();
sameDate = date;
}
//对标运算前先删除相关旧数据
......
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