Browse Source

更新时间修改

master
zxc 4 years ago
parent
commit
63f159ed9c
  1. 7
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerGridServiceImpl.java

7
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerGridServiceImpl.java

@ -127,7 +127,12 @@ public class ScreenCustomerGridServiceImpl extends BaseServiceImpl<ScreenCustome
if ("1".equals(grid.getDelFlag()) || grid.getAbandonFlag().compareTo(1) == 0) {
LambdaQueryWrapper<ScreenCustomerGridEntity> w = new LambdaQueryWrapper<>();
w.eq(ScreenCustomerGridEntity::getGridId, grid.getId());
screenCustomerGridDao.delete(w);
ScreenCustomerGridEntity e = new ScreenCustomerGridEntity();
e.setDataEndTime(NumConstant.ONE_STR);
e.setUpdatedTime(new Date());
screenCustomerGridDao.update(e,w);
// 此delete不更新 updatedTime
// screenCustomerGridDao.delete(w);
}
}
}

Loading…
Cancel
Save