|
|
@ -18,6 +18,7 @@ |
|
|
|
package com.epmet.service.evaluationindex.screen.impl; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
@ -94,6 +95,12 @@ public class ScreenCustomerGridServiceImpl extends BaseServiceImpl<ScreenCustome |
|
|
|
screenGrid.setGridName(grid.getGridName()); |
|
|
|
screenGrid.setAreaCode(grid.getAreaCode()); |
|
|
|
screenCustomerGridDao.updateById(screenGrid); |
|
|
|
|
|
|
|
if ("1".equals(grid.getDelFlag())) { |
|
|
|
LambdaQueryWrapper<ScreenCustomerGridEntity> w = new LambdaQueryWrapper<>(); |
|
|
|
w.eq(ScreenCustomerGridEntity::getGridId, grid.getId()); |
|
|
|
screenCustomerGridDao.delete(w); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|