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