异常调整
This commit is contained in:
parent
47a7940789
commit
e091b61255
|
|
@ -417,8 +417,19 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
|
||||
//保存异常
|
||||
saveException(checkEBomException);
|
||||
// initBomException(list,new String[]{});
|
||||
}
|
||||
|
||||
public void initBomException(List<BomNewEbomParentVO> list, String ... ignorePropertyList) {
|
||||
CheckEBomException checkEBomException = new CheckEBomException(list);
|
||||
checkEBomException.initException(ignorePropertyList);
|
||||
|
||||
//保存异常
|
||||
saveException(checkEBomException);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void checkBomException(List<BomNewEbomParentVO> list) {
|
||||
CheckEBomException checkEBomException = new CheckEBomException(list);
|
||||
checkEBomException.checkException();
|
||||
|
|
@ -1326,7 +1337,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
"projectType",
|
||||
"procureType",
|
||||
"materialUnit",
|
||||
"material",
|
||||
"material",
|
||||
"materialTexture",
|
||||
"materialGetType"
|
||||
};
|
||||
|
|
@ -1337,7 +1348,8 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
|
||||
// CheckEBomException checkEBomException = new CheckEBomException(checkBom);
|
||||
// checkEBomException.checkException();
|
||||
this.initBomException(checkBom);
|
||||
// this.initBomException(checkBom);
|
||||
checkBomException(checkBom);
|
||||
if(CollectionUtil.isNotEmpty(dto.getDatas())){
|
||||
for (BomNewEbomParentVO vo:
|
||||
dto.getDatas()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue