法规清单--子标题限制300字符

This commit is contained in:
zhn
2022-08-22 17:28:39 +08:00
parent 8cde7284d8
commit 784cd1bf7f
2 changed files with 8 additions and 4 deletions
@@ -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);
}