|
@@ -199,14 +199,14 @@ public class CustomizeAreaServiceImpl extends ServiceImpl<CustomizeAreaMapper, C
|
|
|
@DS(BaseSourceConstant.BASE)
|
|
|
@Override
|
|
|
public void edit(CustomizeArea dto) {
|
|
|
- this.updateById(dto);
|
|
|
this.nameDuplication(CustomizeArea::getName, dto.getName(), dto.getId(), "名称已存在请检查!");
|
|
|
+ this.updateById(dto);
|
|
|
}
|
|
|
|
|
|
@DS(BaseSourceConstant.BASE)
|
|
|
@Override
|
|
|
public void delete(CustomizeArea dto) {
|
|
|
- this.removeById(dto);
|
|
|
+ this.removeById(dto.getId());
|
|
|
}
|
|
|
|
|
|
}
|