文档库导入-判断分阶段实施详情字段非空。
This commit is contained in:
+10
@@ -5993,6 +5993,16 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
for (String phasedImplDetails : phasedImplDetailsList) {
|
for (String phasedImplDetails : phasedImplDetailsList) {
|
||||||
PhasedImplementationDetailsEO phasedImplementationDetailsEO = new PhasedImplementationDetailsEO();
|
PhasedImplementationDetailsEO phasedImplementationDetailsEO = new PhasedImplementationDetailsEO();
|
||||||
String[] phasedImplDetailsArr = phasedImplDetails.split("<n>");
|
String[] phasedImplDetailsArr = phasedImplDetails.split("<n>");
|
||||||
|
if(phasedImplDetailsArr.length < 3){
|
||||||
|
if(CutEnum.CN.getValue().equals(cut)){
|
||||||
|
errorMsg += "分阶段实施详情-必填项不能为空, ";
|
||||||
|
}else{
|
||||||
|
errorMsg += "Phased Implementation Details - Required items cannot be empty,";
|
||||||
|
}
|
||||||
|
countError++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if(phasedImplDetailsArr.length >= 1){
|
if(phasedImplDetailsArr.length >= 1){
|
||||||
String standNumberOrClause = phasedImplDetailsArr[0];
|
String standNumberOrClause = phasedImplDetailsArr[0];
|
||||||
if(StringUtils.isEmpty(standNumberOrClause)){
|
if(StringUtils.isEmpty(standNumberOrClause)){
|
||||||
|
|||||||
Reference in New Issue
Block a user