|
@ -120,7 +120,7 @@ public class GridInfoPingyinServiceImpl extends BaseServiceImpl<GridInfoPingyinD |
|
|
List<GridInfoPingyinEntity> orginList = baseDao.selectByGridCode(entity.getGridCode()); |
|
|
List<GridInfoPingyinEntity> orginList = baseDao.selectByGridCode(entity.getGridCode()); |
|
|
if (CollectionUtils.isNotEmpty(orginList)) { |
|
|
if (CollectionUtils.isNotEmpty(orginList)) { |
|
|
for (GridInfoPingyinEntity oigin : orginList) { |
|
|
for (GridInfoPingyinEntity oigin : orginList) { |
|
|
baseDao.deleteById(oigin.getId()); |
|
|
baseDao.deleteByCode(oigin.getGridCode()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -212,7 +212,7 @@ public class GridInfoPingyinServiceImpl extends BaseServiceImpl<GridInfoPingyinD |
|
|
List<GridInfoPingyinEntity> orginList = baseDao.selectByGridCode(entity.getGridCode()); |
|
|
List<GridInfoPingyinEntity> orginList = baseDao.selectByGridCode(entity.getGridCode()); |
|
|
if (CollectionUtils.isNotEmpty(orginList)) { |
|
|
if (CollectionUtils.isNotEmpty(orginList)) { |
|
|
for (GridInfoPingyinEntity oigin : orginList) { |
|
|
for (GridInfoPingyinEntity oigin : orginList) { |
|
|
baseDao.deleteById(oigin.getId()); |
|
|
baseDao.deleteByCode(oigin.getGridCode()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|