|
@@ -74,7 +74,7 @@ public class MaterialStartStatementServiceImpl extends BaseServiceImpl<MaterialS
|
|
//校验当前计量期是否已经上报
|
|
//校验当前计量期是否已经上报
|
|
MaterialStartStatement statement = this.getById(id);
|
|
MaterialStartStatement statement = this.getById(id);
|
|
if (statement.getApproveStatus() != 0) {
|
|
if (statement.getApproveStatus() != 0) {
|
|
- throw new ServiceException("修改失败,当前计量期已经上报或审批");
|
|
|
|
|
|
+ throw new ServiceException("删除失败,当前计量期已经上报或审批");
|
|
}
|
|
}
|
|
this.removeById(id);
|
|
this.removeById(id);
|
|
}
|
|
}
|