星侃客户分配规则 先进先出,库位排序
parent
38283f581e
commit
ef1aea2bdb
|
|
@ -150,7 +150,7 @@ public class DefaultAutoAllocator extends DefaultBaseManager implements AutoAllo
|
||||||
}
|
}
|
||||||
//星侃客户按客户排序
|
//星侃客户按客户排序
|
||||||
if(item.getCompany().getId()==4){
|
if(item.getCompany().getId()==4){
|
||||||
hql+=" order by inventory.location.code ";
|
hql+=" order by inventory.itemKeyInventory.itemKey.lotInfo.propC1,inventory.location.code ";
|
||||||
}else if(item.getCompany().getId()==3){
|
}else if(item.getCompany().getId()==3){
|
||||||
hql+=" order by inventory.itemKeyInventory.itemKey.lotInfo.propN1 desc,inventory.itemKeyInventory.itemKey.lotInfo.propLC1 desc,inventory.location.code,inventory.itemKeyInventory.itemKey.lotInfo.propC1 ";
|
hql+=" order by inventory.itemKeyInventory.itemKey.lotInfo.propN1 desc,inventory.itemKeyInventory.itemKey.lotInfo.propLC1 desc,inventory.location.code,inventory.itemKeyInventory.itemKey.lotInfo.propC1 ";
|
||||||
}else if(item.getCompany().getId()==23){
|
}else if(item.getCompany().getId()==23){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue