|  |  | 
 |  |  |     @ApiModelProperty(value= "备注") | 
 |  |  |     private String memo; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value= "货位类型 1: 待包装成品  2: 原材料  3:箱壳") | 
 |  |  |     @TableField("loc_type") | 
 |  |  |     private Integer locType; | 
 |  |  |  | 
 |  |  |     public String getBeBatch$(){ | 
 |  |  |         if (null == this.beBatch){ return null; } | 
 |  |  |         switch (this.beBatch){ | 
 |  |  | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getLocType$(){ | 
 |  |  |         if (null == this.locType){ return null; } | 
 |  |  |         switch (this.locType){ | 
 |  |  |             case 1: | 
 |  |  |                 return "待包装成品"; | 
 |  |  |             case 2: | 
 |  |  |                 return "原材料"; | 
 |  |  |             case 3: | 
 |  |  |                 return "箱壳"; | 
 |  |  |             default: | 
 |  |  |                 return String.valueOf(this.locType); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getSource$(){ | 
 |  |  |         if (null == this.source){ return null; } | 
 |  |  |         switch (this.source){ | 
 
 |  |  | 
 |  |  |     @ApiModelProperty(value= "备注") | 
 |  |  |     private String memo; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value= "货位类型 1: 待包装成品  2: 原材料  3:箱壳") | 
 |  |  |     @TableField("loc_type") | 
 |  |  |     private Integer locType; | 
 |  |  |  | 
 |  |  |     public String getBeBatch$(){ | 
 |  |  |         if (null == this.beBatch){ return null; } | 
 |  |  |         switch (this.beBatch){ | 
 |  |  | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getLocType$(){ | 
 |  |  |         if (null == this.locType){ return null; } | 
 |  |  |         switch (this.locType){ | 
 |  |  |             case 1: | 
 |  |  |                 return "待包装成品"; | 
 |  |  |             case 2: | 
 |  |  |                 return "原材料"; | 
 |  |  |             case 3: | 
 |  |  |                 return "箱壳"; | 
 |  |  |             default: | 
 |  |  |                 return String.valueOf(this.locType); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getSource$(){ | 
 |  |  |         if (null == this.source){ return null; } | 
 |  |  |         switch (this.source){ | 
 
 |  |  | 
 |  |  |     // 库位编号 | 
 |  |  |     private String locno; | 
 |  |  |  | 
 |  |  |     // 库位类型: 1、待包装成品,2、原材料,3、箱壳 | 
 |  |  |     private Integer locType; | 
 |  |  |  | 
 |  |  |     private List<CombMat> combMats; | 
 |  |  |  | 
 |  |  |     @Data | 
 
 |  |  | 
 |  |  |                 checkOrderQty(order,combMat); | 
 |  |  |             } | 
 |  |  |  | 
 |  |  |             DetlDto detlDto = new DetlDto(combMat.getMatnr(), combMat.getBatch(), combMat.getAnfme(), combMat.getCsocode(), combMat.getIsoseq(),combMat.getContainerCode()); | 
 |  |  |             DetlDto detlDto = new DetlDto(combMat.getMatnr(), combMat.getBatch(), combMat.getAnfme(), combMat.getCsocode(), combMat.getIsoseq(),combMat.getContainerCode(),param.getLocType()); | 
 |  |  |             //同一托盘下相同物料信息和批号转为一个入库通知档 | 
 |  |  |             if (DetlDto.has(detlDtos, detlDto)) { | 
 |  |  |                 DetlDto one = DetlDto.find(detlDtos, detlDto.getMatnr(), detlDto.getBatch(), detlDto.getCsocode(), detlDto.getIsoseq(),null); | 
 |  |  | 
 |  |  |         //销售订单行号 | 
 |  |  |         waitPakin.setDeadTime(detlDto.getIsoseq()); | 
 |  |  |  | 
 |  |  |         waitPakin.setLocType(detlDto.getLocType()); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         waitPakin.setAppeUser(userId); | 
 |  |  |         waitPakin.setAppeTime(now); | 
 
 |  |  | 
 |  |  |     //销售订单行号 | 
 |  |  |     private String isoseq; | 
 |  |  |  | 
 |  |  |     // 库位类型: 1、代包装成品,2、原材料,3、箱壳 | 
 |  |  |     private Integer locType; | 
 |  |  |  | 
 |  |  |     public DetlDto() { | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |         this.isoseq = isoseq; | 
 |  |  |         this.containerCode = containerCode; | 
 |  |  |     } | 
 |  |  |     public DetlDto(String matnr, String batch, Double anfme, String csocode, String isoseq, String containerCode, Integer locType) { | 
 |  |  |         this.matnr = matnr; | 
 |  |  |         this.batch = batch; | 
 |  |  |         this.anfme = anfme; | 
 |  |  |         this.csocode = csocode; | 
 |  |  |         this.isoseq = isoseq; | 
 |  |  |         this.containerCode = containerCode; | 
 |  |  |         this.locType = locType; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public DetlDto(String orderNo, String matnr, String batch, Double anfme, String csocode, String isoseq) { | 
 |  |  |         this.orderNo = orderNo; |