|  |  |  | 
|---|
|  |  |  | public class MatDto { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 物料编号 | 
|---|
|  |  |  | private String matnr; | 
|---|
|  |  |  | private String matNo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 物料名称 | 
|---|
|  |  |  | private String maknx; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public MatDto(OrderDetl orderDetl) { | 
|---|
|  |  |  | this.matnr = orderDetl.getMatnr(); | 
|---|
|  |  |  | this.matNo = orderDetl.getMatnr(); | 
|---|
|  |  |  | this.model = orderDetl.getModel(); | 
|---|
|  |  |  | this.batch = orderDetl.getBatch(); | 
|---|
|  |  |  | this.orderNo = orderDetl.getOrderNo(); | 
|---|
|  |  |  | 
|---|
|  |  |  | this.total = orderDetl.getAnfme(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public MatDto(String matNo, String maknx, Double count) { | 
|---|
|  |  |  | this.matnr = matNo; | 
|---|
|  |  |  | this.matNo = matNo; | 
|---|
|  |  |  | this.maknx = maknx; | 
|---|
|  |  |  | this.count = count; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public MatDto(String matNo, String maknx, Double count,String specs) { | 
|---|
|  |  |  | this.specs = specs; | 
|---|
|  |  |  | this.matnr = matNo; | 
|---|
|  |  |  | this.matNo = matNo; | 
|---|
|  |  |  | this.maknx = maknx; | 
|---|
|  |  |  | this.count = count; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public MatDto(String matNo, String maknx, Double count,Double total,String specs) { | 
|---|
|  |  |  | this.specs = specs; | 
|---|
|  |  |  | this.matnr = matNo; | 
|---|
|  |  |  | this.matNo = matNo; | 
|---|
|  |  |  | this.maknx = maknx; | 
|---|
|  |  |  | this.count = count; | 
|---|
|  |  |  | this.total = total; | 
|---|
|  |  |  | 
|---|
|  |  |  | sb.append("目标站:").append(command.getStaNo()).append("\n"); | 
|---|
|  |  |  | if (!command.isEmptyMk()) { | 
|---|
|  |  |  | for (MatDto matDto : command.getMatDtos()) { | 
|---|
|  |  |  | sb.append("物料编码:").append(matDto.getMatnr()).append("\n"); | 
|---|
|  |  |  | sb.append("物料编码:").append(matDto.getMatNo()).append("\n"); | 
|---|
|  |  |  | sb.append("名称:").append(matDto.getMaknx()).append("\n"); | 
|---|
|  |  |  | sb.append("数量:").append(matDto.getCount()).append("\n"); | 
|---|
|  |  |  | sb.append("规格:").append(matDto.getSpecs()).append("\n"); | 
|---|