| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 库存 |
| | | */ |
| | | @ApiModelProperty(value = "库存") |
| | | @TableField("stock_num") |
| | | private Double stockNum; |
| | | |
| | | public String getIoTime$(){ |
| | | if (Cools.isEmpty(this.ioTime)){ |
| | | return ""; |
| | |
| | | // }catch (Exception e){ |
| | | // log.error("工作档案明细输入电视机失败1:异常信息==》"+e); |
| | | // } |
| | | wrkDetls.forEach(wrkDetl -> ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme(),wrkDetl.getWeight(),wrkDetl.getSpecs(),wrkDetl.getSku()))); |
| | | wrkDetls.forEach(wrkDetl -> ledCommand.getMatDtos().add(new MatDto( |
| | | wrkDetl.getMatnr() |
| | | , wrkDetl.getMaktx() |
| | | , wrkDetl.getAnfme() |
| | | , wrkDetl.getWeight() |
| | | , wrkDetl.getStockNum() |
| | | , wrkDetl.getSpecs() |
| | | , wrkDetl.getSku() |
| | | , wrkDetl.getBarcode() |
| | | , wrkDetl.getModel() |
| | | , wrkDetl.getSupp() |
| | | ))); |
| | | } |
| | | commands.add(ledCommand); |
| | | } |
| | |
| | | |
| | | // 物料名称 |
| | | private String maktx; |
| | | |
| | | private String maknx; |
| | | |
| | | // 库位规格 |
| | |
| | | |
| | | // 库位数量 |
| | | private Double total; |
| | | //工序 |
| | | |
| | | //辅数量 |
| | | private Double weight; |
| | | |
| | | //托盘码 |
| | | private String barcode; |
| | | |
| | | //u8旧品名 |
| | | private String sku; |
| | | |
| | | //型号 |
| | | private String model; |
| | | |
| | | //客户名称 |
| | | private String supp; |
| | | |
| | | public MatDto() { |
| | | } |
| | | |
| | | public MatDto(String matNo, String maktx, Double count) { |
| | | public MatDto(String matNo, String maktx, Double count, Double weight, Double total, String specs, String sku, String barcode, String model, String supp) { |
| | | this.matnr = matNo; |
| | | this.maktx = maktx; |
| | | this.maknx = maktx; |
| | | this.count = count; |
| | | } |
| | | public MatDto(String matNo, String maktx, Double count,String specs) { |
| | | this.specs = specs; |
| | | this.matnr = matNo; |
| | | this.maktx = maktx; |
| | | this.maknx = maktx; |
| | | this.count = count; |
| | | } |
| | | public MatDto(String matNo, String maktx, Double count,Double total,String specs) { |
| | | this.specs = specs; |
| | | this.matnr = matNo; |
| | | this.maktx = maktx; |
| | | this.maknx = maktx; |
| | | this.count = count; |
| | | this.total = total; |
| | | } |
| | | public MatDto(String matNo, String maktx, Double count,Double total,String specs,String sku) { |
| | | this.specs = specs; |
| | | this.matnr = matNo; |
| | | this.maktx = maktx; |
| | | this.maknx = maktx; |
| | | this.count = count; |
| | | this.total = total; |
| | | this.weight = weight; |
| | | this.sku = sku; |
| | | this.barcode = barcode; |
| | | this.model = model; |
| | | this.supp = supp; |
| | | } |
| | | } |
| | |
| | | <result column="modi_time" property="modiTime" /> |
| | | <result column="appe_user" property="appeUser" /> |
| | | <result column="appe_time" property="appeTime" /> |
| | | <result column="stock_num" property="stockNum" /> |
| | | </resultMap> |
| | | |
| | | <select id="findByWorkNo" resultMap="BaseResultMap"> |