optimize: 导入sap时,如果是T项,则需要设置POTX1

This commit is contained in:
曹鹏飞 2024-04-28 09:01:18 +08:00
parent 9029365491
commit 53974c8cf6
1 changed files with 3 additions and 0 deletions

View File

@ -964,6 +964,9 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
t1.setMEINS(c.getMaterialUnit());
t1.setMENGE(c.getNum().toString());
t1.setPOSTP(c.getProjectType());
if (StrUtil.equals("T", c.getProjectType())) {
t1.setPOTX1(c.getMaterialName());
}
t1.setDATUM(dateYMD);
t1s.add(t1);
BomNewEbomParentEntity cp = lambdaQuery()