|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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 anfme; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private int owner; | 
|---|
|  |  |  | private String ownerName; | 
|---|
|  |  |  | private int beBatch; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private int payment; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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.beBatch=detlDto2.getEntryId(); | 
|---|
|  |  |  | 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) { | 
|---|