| | |
| | | import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.basic.dto.InventoryDetailDTO; |
| | | import com.ruoyi.basic.mapper.IfsInventoryQuantityMapper; |
| | | import com.ruoyi.basic.mapper.StandardProductListMapper; |
| | | import com.ruoyi.basic.mapper.StructureItemParameterMapper; |
| | |
| | | ifsInventoryQuantity.setIsCopper(1); |
| | | ifsInventoryQuantity.setIsQuarter(0); |
| | | ifsInventoryQuantity.setInspectStatus(0); |
| | | ifsInventoryQuantity.setOrderType(OrderType.RAW.getValue()); |
| | | ifsInventoryQuantity.setMaterialProp("01Cu"); |
| | | |
| | | ifsInventoryQuantity.setQtyArrived(insOrder.getQtyArrived()); |
| | | ifsInventoryQuantity.setBuyUnitMeas(insOrder.getBuyUnitMeas()); |
| | |
| | | @Override |
| | | public List<InsOrderPrintingVo> labelOrderPrinting(List<Integer> ids) { |
| | | return insOrderMapper.labelOrderPrinting(ids); |
| | | } |
| | | |
| | | @Override |
| | | public List<InventoryDetailDTO> labelOutsideOrderPrinting(List<Integer> ids) { |
| | | return insOrderMapper.labelOutsideOrderPrinting(ids); |
| | | } |
| | | |
| | | /** |
| | |
| | | // 检验后移库 |
| | | //1301:原材料合格库,CP-02-001:成品库 |
| | | if(StringUtils.equals(inventoryQuantity.getOrderType(), OrderType.RAW.getValue())){ |
| | | //如果订单为原材料的拆分订单,则移到外购原材料库位W03 |
| | | toLocation = one.getIsSplitOrder().equals(1)?"W03":"1301"; |
| | | toLocation = "1301"; |
| | | }else if(StringUtils.equals(inventoryQuantity.getOrderType(), OrderType.WG.getValue())){ |
| | | toLocation = "CP-02-001"; |
| | | }else{ |