采购入库-代码同步
This commit is contained in:
parent
568d2b84b7
commit
af944a833c
|
|
@ -64,9 +64,11 @@ public class APIPurchaseInMaitainImpl implements IAPIPurchaseInMaitain {
|
|||
// 2025年4月23日15点10分 采购入库单接口项目字段为波浪则清空 sdlizheng --start
|
||||
for (PurchaseInVO vo : vos) {
|
||||
PurchaseInBodyVO[] bodys = vo.getBodys();
|
||||
vo.getHead().setStatus(VOStatus.NEW);
|
||||
if (bodys != null && bodys.length > 0) {
|
||||
String[] attributeNames = bodys[0].getAttributeNames();
|
||||
for (PurchaseInBodyVO body : bodys) {
|
||||
body.setStatus(VOStatus.NEW);
|
||||
for (String fildName : attributeNames) {
|
||||
if (body.getAttributeValue(fildName) != null && "~".equals(body.getAttributeValue(fildName))) {
|
||||
body.setAttributeValue(fildName, null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue