Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
+8
-13
@@ -752,20 +752,15 @@ public class LawsTechnologyEvaluationEOServiceImpl extends ServiceImpl<LawsTechn
|
|||||||
countError++;
|
countError++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(StringUtils.isEmpty(itemName)){
|
if(StringUtils.isNotEmpty(itemName)){
|
||||||
if(StringUtils.equals(cut,CutEnum.CN.getValue())){
|
if(itemName.length() > 100){
|
||||||
errorMsg += "条款名称不能为空;";
|
if(StringUtils.equals(cut,CutEnum.CN.getValue())){
|
||||||
}else if (StringUtils.equals(cut,CutEnum.EN.getValue())){
|
errorMsg += "条款名称长度不能超过100;";
|
||||||
errorMsg += "Item Name cannot be empty;";
|
}else if (StringUtils.equals(cut,CutEnum.EN.getValue())){
|
||||||
|
errorMsg += "Item Name length of the cannot exceed 100;";
|
||||||
|
}
|
||||||
|
countError++;
|
||||||
}
|
}
|
||||||
countError++;
|
|
||||||
}else if(itemName.length() > 100){
|
|
||||||
if(StringUtils.equals(cut,CutEnum.CN.getValue())){
|
|
||||||
errorMsg += "条款名称长度不能超过100;";
|
|
||||||
}else if (StringUtils.equals(cut,CutEnum.EN.getValue())){
|
|
||||||
errorMsg += "Item Name length of the cannot exceed 100;";
|
|
||||||
}
|
|
||||||
countError++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(StringUtils.isEmpty(itemContent)){
|
if(StringUtils.isEmpty(itemContent)){
|
||||||
|
|||||||
Reference in New Issue
Block a user