| | |
| | | package com.zy.core.model.command; |
| | | |
| | | import com.core.common.Cools; |
| | | import com.zy.common.model.MatDto; |
| | | import lombok.Data; |
| | | |
| | |
| | | |
| | | private boolean emptyMk = false; |
| | | |
| | | private Integer ioType; |
| | | private String barcode; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | StringBuffer s = new StringBuffer(); |
| | | s.append("工作号[" + this.workNo + "]\n"); |
| | | s.append("工作类型[" + this.title + "]\n"); |
| | | if (!Cools.isEmpty(this.barcode)) { |
| | | s.append("托盘码[" + this.barcode + "]\n"); |
| | | } |
| | | if (!this.emptyMk){ |
| | | |
| | | for (MatDto matDto : matDtos) { |
| | | s.append("[商品编码:" + matDto.getMatnr() + ", 数量:" + matDto.getCount() + "]\n"); |
| | | } |
| | | } |
| | | |
| | | return s.toString(); |
| | | } |
| | | } |