Browse Source

fix: 修改错误信息

master_tdsql
hxh 10 months ago
parent
commit
8acbf54d0a
  1. 2
      shuili-system/src/main/java/com/kms/yxgh/df/service/DfCheckingService.java

2
shuili-system/src/main/java/com/kms/yxgh/df/service/DfCheckingService.java

@ -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) {

Loading…
Cancel
Save