丽知:组装修改。
This commit is contained in:
parent
577977e8c0
commit
bcd96ec28c
|
@ -354,7 +354,7 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
childrenvo.add(children);
|
childrenvo.add(children);
|
||||||
|
|
||||||
//配件
|
//配件
|
||||||
List<BdSetpartEntity> bdSetpartEntities = queryBdSetPart(bdInvmandocEntity.getPkInvmandoc());
|
List<BdSetpartEntity> bdSetpartEntities = queryBdSetPart(detail.getSkuCode(),bdInvmandocEntity.getPkInvmandoc());
|
||||||
for (BdSetpartEntity bdSetpartEntity : bdSetpartEntities) {
|
for (BdSetpartEntity bdSetpartEntity : bdSetpartEntities) {
|
||||||
SpecialbillVO.Childrenvo children1 = new SpecialbillVO.Childrenvo();
|
SpecialbillVO.Childrenvo children1 = new SpecialbillVO.Childrenvo();
|
||||||
//行号
|
//行号
|
||||||
|
@ -549,18 +549,19 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询成套件信息,因为是调整入库,只有套件信息
|
* 查询成套件信息,因为是调整入库,只有套件信息
|
||||||
|
* @param skuCode 套件编码
|
||||||
* @param pkinvmandoc 套件存货管理档案
|
* @param pkinvmandoc 套件存货管理档案
|
||||||
* 套件 存货管理档案的主键
|
* 套件 存货管理档案的主键
|
||||||
* @return 配件的 存货管理档案
|
* @return 配件的 存货管理档案
|
||||||
*/
|
*/
|
||||||
public List<BdSetpartEntity> queryBdSetPart(String pkinvmandoc){
|
public List<BdSetpartEntity> queryBdSetPart(String skuCode,String pkinvmandoc){
|
||||||
//查询配件信息
|
//查询配件信息
|
||||||
BdSetpartEntity bdSetpartEntity = new BdSetpartEntity();
|
BdSetpartEntity bdSetpartEntity = new BdSetpartEntity();
|
||||||
bdSetpartEntity.setPkInvmandocset(pkinvmandoc);
|
bdSetpartEntity.setPkInvmandocset(pkinvmandoc);
|
||||||
bdSetpartEntity.setDataSourceCode(ProfilesActiveConstant.LETS_DATE_SOURCE);
|
bdSetpartEntity.setDataSourceCode(ProfilesActiveConstant.LETS_DATE_SOURCE);
|
||||||
List<BdSetpartEntity> query = bdSetpartDao.query(bdSetpartEntity);
|
List<BdSetpartEntity> query = bdSetpartDao.query(bdSetpartEntity);
|
||||||
if(query.size()==0){
|
if(query.size()==0){
|
||||||
Assert.state(false,"OFS调整入库(组装),查询");
|
Assert.state(false,"OFS调整入库(组装),查询配件信息失败,涉及套件物料编码:{},",skuCode);
|
||||||
}
|
}
|
||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue