|
|
@ -153,7 +153,7 @@ public class DfCheckingService extends BaseService<DfCheckingMapper, DfChecking> |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public Boolean deleteById(String id) { |
|
|
|
if (isUsed(id)) { |
|
|
|
throw new DfException("已被巡查计划关联,不能删除!"); |
|
|
|
throw new DfException("已被巡查路线关联,不能删除!"); |
|
|
|
} |
|
|
|
boolean rt = removeById(id); |
|
|
|
if (rt) { |
|
|
|