法规清单--子标题限制300字符
This commit is contained in:
+3
-3
@@ -4580,12 +4580,12 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
||||
|
||||
//子标题
|
||||
if(StringUtils.isNotBlank(subtitle)){
|
||||
if(subtitle.length() > 100){
|
||||
if(subtitle.length() > 300){
|
||||
String message = "";
|
||||
if(CutEnum.CN.getValue().equals(projectLawsInventoryEOTemp.getCut())){
|
||||
message = errorMsg + "子标题不能超过100个字符, ";
|
||||
message = errorMsg + "子标题不能超过300个字符, ";
|
||||
}else{
|
||||
message = errorMsg + " Subheadings cannot be checked more than 100 characters, ";
|
||||
message = errorMsg + " Subheadings cannot be checked more than 300 characters, ";
|
||||
}
|
||||
msgList.add(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user