虚拟清单导入--子标题长度限制300

This commit is contained in:
zhn
2022-08-04 18:09:14 +08:00
parent 4d673287bd
commit 08dc5f12f0
2 changed files with 7 additions and 3 deletions
@@ -1251,12 +1251,12 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
//子标题
if(StringUtils.isNotBlank(subtitle)){
if(subtitle.length() > 100){
if(subtitle.length() > 300){
String message = "";
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEOTemp.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);
}