|
@@ -204,7 +204,8 @@ public class WebSiteTourismTravelNotesPublishController {
|
|
|
if(tourismProjectTravelNotesWrite == null){
|
|
|
return ResponseResult.success();
|
|
|
}else {
|
|
|
- if(!tourismProjectTravelNotesWrite.getState().equals(AuditState.DRAFT)){
|
|
|
+ if(!tourismProjectTravelNotesWrite.getState().equals(AuditState.DRAFT)
|
|
|
+ && !tourismProjectTravelNotesWrite.getState().equals(AuditState.FAILAUDIT)){
|
|
|
return ResponseResult.error(ErrorCodeEnum.UPLOAD_FILE_FAILED,"该数据状态不允许删除!");
|
|
|
}
|
|
|
//不是本人创建的数据
|