[修改] 重名命题

This commit is contained in:
bupengxiang
2023-05-18 17:15:10 +08:00
parent f68b6756c1
commit d1ae4c37e7
3 changed files with 6 additions and 6 deletions
@@ -152,8 +152,8 @@ public class ReportManageConroller {
if (count1 > 0){
return Result.error("报告名称已流程中存在");
}
//有报告id说明不是新增报告 走得不是新增流程
if(StringUtils.isNotEmpty(vo.getId())){
//新增流程
if(!"4".equals(vo.getPrcType())){
long count2 = reportDao.selectByReportId(vo.getId());
if (count2==0){
return Result.error("报告已经不存在");
@@ -134,4 +134,6 @@ public class ReportVo {
*/
private Integer isAct;
private String prcType;
}