| | |
| | | import java.util.Date; |
| | | |
| | | import com.zy.asrs.common.utils.Synchro; |
| | | import com.zy.asrs.common.wms.service.DocTypeService; |
| | | import com.zy.asrs.common.wms.service.LocMastService; |
| | | import com.zy.asrs.common.wms.service.OrderService; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | |
| | | @ApiModelProperty(value= "授权商户") |
| | | private Long hostId; |
| | | |
| | | @ApiModelProperty(value= "货主") |
| | | private String owner; |
| | | |
| | | public LocDetl() {} |
| | | |
| | | public LocDetl(String locNo,String zpallet,Double anfme,String matnr,String maktx,String batch,String orderNo,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double length,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Long modiUser,Date modiTime,Long appeUser,Date appeTime,String memo,Long hostId) { |
| | | public LocDetl(String locNo,String zpallet,Double anfme,String matnr,String maktx,String batch,String orderNo,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double length,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Long modiUser,Date modiTime,Long appeUser,Date appeTime,String memo,Long hostId,String owner) { |
| | | this.locNo = locNo; |
| | | this.zpallet = zpallet; |
| | | this.anfme = anfme; |
| | |
| | | this.appeTime = appeTime; |
| | | this.memo = memo; |
| | | this.hostId = hostId; |
| | | this.owner = owner; |
| | | } |
| | | |
| | | // LocDetl locDetl = new LocDetl( |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getOrderType() { |
| | | if (Cools.isEmpty(this.orderNo)){ |
| | | return ""; |
| | | } |
| | | OrderService orderService = SpringUtils.getBean(OrderService.class); |
| | | DocTypeService docTypeService = SpringUtils.getBean(DocTypeService.class); |
| | | Order order = orderService.selectByNo(orderNo, hostId); |
| | | if (order != null) { |
| | | return order.getDocType$(); |
| | | } |
| | | return this.orderNo; |
| | | } |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | } |