| | |
| | | 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.IfsInventoryQuantityDto; |
| | | import com.ruoyi.basic.dto.InventoryDetailDTO; |
| | | import com.ruoyi.basic.mapper.IfsInventoryQuantityMapper; |
| | | import com.ruoyi.basic.mapper.StandardProductListMapper; |
| | | import com.ruoyi.basic.mapper.StructureItemParameterMapper; |
| | |
| | | private SpotCheckQuarterItemMapper spotCheckQuarterItemMapper; |
| | | private StandardProductListMapper standardProductListMapper; |
| | | private StructureItemParameterMapper structureItemParameterMapper; |
| | | |
| | | |
| | | |
| | | //获取检验下单数据 |
| | |
| | | |
| | | /** |
| | | * 添加检验项 |
| | | * |
| | | * @param sampleId |
| | | * @param productList |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 审核检验单 |
| | | * |
| | | * @param insOrder |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 获取ifs库存信息 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * id是原材料的id |
| | | * |
| | | * <p> |
| | | * 修改订单单号 |
| | | * |
| | | * @param insOrder |
| | | */ |
| | | @Override |
| | |
| | | |
| | | /** |
| | | * 修改采购订单接收状态, 避免回滚 |
| | | * |
| | | * @param id |
| | | */ |
| | | @Transactional |
| | |
| | | |
| | | /** |
| | | * 新增铜单丝下单 |
| | | * |
| | | * @param list |
| | | * @param insOrder |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * 修改委托下单编号 |
| | | * |
| | | * @param insOrder |
| | | */ |
| | | @Override |
| | |
| | | |
| | | /** |
| | | * 修改检验下单内容 |
| | | * |
| | | * @param insOrderUpdateDto |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 成品标签打印 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | |
| | | return insOrderMapper.labelOrderPrinting(ids); |
| | | } |
| | | |
| | | @Override |
| | | public List<InventoryDetailDTO> labelOutsideOrderPrinting(List<Integer> ids) { |
| | | return insOrderMapper.labelOutsideOrderPrinting(ids); |
| | | } |
| | | |
| | | /** |
| | | * 根据样品id查询检验项树 |
| | | * |
| | | * @param insSampleId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 添加遗漏的检验项 |
| | | * |
| | | * @param omitOrderProductDto |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 成品检验单导出 |
| | | * |
| | | * @param sampleOrderDto |
| | | * @param response |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 修改样品型号 |
| | | * |
| | | * @param insSample |
| | | */ |
| | | @Override |
| | |
| | | |
| | | /** |
| | | * 查询当前时间是否没有该检测项的抽样计划 |
| | | * |
| | | * @param sampleList |
| | | * @param insOrder |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * ifs移库操作 |
| | | * |
| | | * @param inventoryQuantity |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 先修改采购订单批次号, 后进行移库操作 |
| | | * |
| | | * @param one |
| | | * @param toLocation |
| | | */ |