| | |
| | | |
| | | import com.core.common.Cools; |
| | | import com.zy.asrs.entity.OrderDetl; |
| | | import com.zy.asrs.entity.param.OpenOrderPakinJDParam; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | |
| | | private Double weight; |
| | | |
| | | public DetlDto() { |
| | | } |
| | | |
| | | public DetlDto(OpenOrderPakinJDParam.DetlDto2 detlDto2) { |
| | | this.matnr=detlDto2.getMatnr(); |
| | | this.batch=detlDto2.getBatch(); |
| | | this.anfme=detlDto2.getAnfme(); |
| | | this.ownerName=detlDto2.getOwner(); |
| | | this.payment=0; |
| | | } |
| | | |
| | | public DetlDto(String matnr, Double anfme) { |
| | |
| | | this.weight = weight; |
| | | } |
| | | |
| | | public DetlDto(String matnr, String batch, Double anfme,String ownerName,int payment) { |
| | | this.matnr = matnr; |
| | | this.batch = batch; |
| | | this.anfme = anfme; |
| | | this.ownerName = ownerName; |
| | | this.payment = payment; |
| | | } |
| | | |
| | | |
| | | public static boolean hasList(Set<DetlDto> detlDtos, OrderDetl orderDetl) { |
| | | for (DetlDto dto : detlDtos) { |