fix:评分提交

dev
wangxy 12 months ago
parent bff66bb474
commit 2a69514f3c

@ -41,6 +41,12 @@ public class FileRelationManager {
@Resource
private ServerConfig serverConfig;
/**
*
*
*/
private static final Integer FILE_STATE_WTG = 2;
/**
*
*
@ -85,7 +91,7 @@ public class FileRelationManager {
.list();
if(CollUtil.isNotEmpty(list)){
for(RewFileRelation rewFileRelation : list){
if(Objects.equals(rewFileRelation.getFileState(),2)){
if(Objects.equals(rewFileRelation.getFileState(),FILE_STATE_WTG) || Objects.isNull(rewFileRelation.getFileState())){
return AjaxResult.error("材料存在未通过情况,请检查");
}
}

Loading…
Cancel
Save