星侃客户分配规则 先进先出,库位排序

sdInAndOutDetailRepotr
HUOJIN\92525 2024-12-27 15:17:37 +08:00
parent 38283f581e
commit ef1aea2bdb
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public class DefaultAutoAllocator extends DefaultBaseManager implements AutoAllo
}
//星侃客户按客户排序
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){
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){