[修改] 管理员上传报异常, 普通用户上传,审核时报异常
This commit is contained in:
@@ -153,7 +153,7 @@ public class ReportManageConroller {
|
||||
return Result.error("报告名称已流程中存在");
|
||||
}
|
||||
// 非新增流程
|
||||
if(!"4".equals(vo.getPrcType())){
|
||||
if( StringUtils.isNotEmpty(vo.getPrcType()) && !"4".equals(vo.getPrcType())){
|
||||
long count2 = reportDao.selectByReportId(vo.getId());
|
||||
if (count2==0){
|
||||
return Result.error("报告已经不存在");
|
||||
|
||||
Reference in New Issue
Block a user