optimize: 导入sap时,如果是T项,则需要设置POTX1
This commit is contained in:
parent
9029365491
commit
53974c8cf6
|
|
@ -964,6 +964,9 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
t1.setMEINS(c.getMaterialUnit());
|
t1.setMEINS(c.getMaterialUnit());
|
||||||
t1.setMENGE(c.getNum().toString());
|
t1.setMENGE(c.getNum().toString());
|
||||||
t1.setPOSTP(c.getProjectType());
|
t1.setPOSTP(c.getProjectType());
|
||||||
|
if (StrUtil.equals("T", c.getProjectType())) {
|
||||||
|
t1.setPOTX1(c.getMaterialName());
|
||||||
|
}
|
||||||
t1.setDATUM(dateYMD);
|
t1.setDATUM(dateYMD);
|
||||||
t1s.add(t1);
|
t1s.add(t1);
|
||||||
BomNewEbomParentEntity cp = lambdaQuery()
|
BomNewEbomParentEntity cp = lambdaQuery()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue