1.修复平衡补单失败问题

zhairh
x_z 2 years ago
parent 75d82bbc44
commit 4f60dcd89a

@ -27,7 +27,6 @@ import com.glxp.api.admin.entity.inout.WarehouseEntity;
import com.glxp.api.admin.entity.inventory.InvProductDetailEntity; import com.glxp.api.admin.entity.inventory.InvProductDetailEntity;
import com.glxp.api.admin.entity.inventory.InvProductEntity; import com.glxp.api.admin.entity.inventory.InvProductEntity;
import com.glxp.api.admin.entity.inventory.InvSubWarehouseEntity; import com.glxp.api.admin.entity.inventory.InvSubWarehouseEntity;
import com.glxp.api.admin.entity.inventory.InvWarehouseEntity;
import com.glxp.api.admin.req.business.StockOrderFilterRequest; import com.glxp.api.admin.req.business.StockOrderFilterRequest;
import com.glxp.api.admin.req.inout.OrderFilterRequest; import com.glxp.api.admin.req.inout.OrderFilterRequest;
import com.glxp.api.admin.req.inout.OrderQueryRequest; import com.glxp.api.admin.req.inout.OrderQueryRequest;
@ -319,7 +318,7 @@ public class OrderServiceImpl implements OrderService {
supplementOrder.setSubInvCode(order.getInvStorageCode()); supplementOrder.setSubInvCode(order.getInvStorageCode());
supplementOrder.setFromSubInvCode(order.getInvWarehouseCode()); supplementOrder.setFromSubInvCode(order.getInvWarehouseCode());
//根据分库code查询总库coder //根据分库code查询总库coder
InvSubWarehouseEntity invSubWarehouseEntity=invSubWarehouseDao.filterGroupInvSubAndcode(order.getFromCorpId()); InvSubWarehouseEntity invSubWarehouseEntity = invSubWarehouseDao.filterGroupInvSubAndcode(order.getFromSubInvCode());
supplementOrder.setLocStorageCode(invSubWarehouseEntity.getParentId()); supplementOrder.setLocStorageCode(invSubWarehouseEntity.getParentId());
supplementOrder.setInvStorageCode(invSubWarehouseEntity.getParentId()); supplementOrder.setInvStorageCode(invSubWarehouseEntity.getParentId());
String name = invWarehouseDao.getNameByCode(order.getInvStorageCode()); String name = invWarehouseDao.getNameByCode(order.getInvStorageCode());
@ -547,8 +546,8 @@ public class OrderServiceImpl implements OrderService {
@Override @Override
public void queryPrintRemark(List<StockOrderResponse> resultList) { public void queryPrintRemark(List<StockOrderResponse> resultList) {
for (StockOrderResponse stockOrderResponse : resultList) { for (StockOrderResponse stockOrderResponse : resultList) {
String printRemark = orderDao.selectPrintRemarkById(stockOrderResponse.getOrderIdFk()); String printRemark = orderDao.selectPrintRemarkById(stockOrderResponse.getOrderIdFk());
stockOrderResponse.setPrintRemark(printRemark); stockOrderResponse.setPrintRemark(printRemark);
} }
} }

Loading…
Cancel
Save