|  |  | 
 |  |  | import java.text.SimpleDateFormat;
 | 
 |  |  | import java.util.*;
 | 
 |  |  | 
 | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableField;
 | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 | 
 |  |  | import com.fasterxml.jackson.annotation.JsonAnyGetter;
 | 
 |  |  | import com.zy.asrs.common.utils.Synchro;
 | 
 |  |  | import com.zy.asrs.framework.common.DateUtils;
 | 
 |  |  | import com.zy.asrs.wms.asrs.entity.dto.MatnrDetlDto;
 | 
 |  |  | import com.zy.asrs.wms.asrs.service.LocService;
 | 
 |  |  | import com.zy.asrs.wms.asrs.service.MatFieldService;
 | 
 |  |  | import com.zy.asrs.wms.asrs.service.MatService;
 | 
 |  |  | import com.zy.asrs.wms.system.entity.Host;
 | 
 |  |  | import com.zy.asrs.wms.system.entity.User;
 | 
 |  |  | import lombok.experimental.Delegate;
 | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat;
 | 
 |  |  | import java.util.Date;
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  |      */
 | 
 |  |  |     @ApiModelProperty(value= "商品编号")
 | 
 |  |  |     private String matnr;
 | 
 |  |  | 
 | 
 |  |  |     /**
 | 
 |  |  |      * 已预约库存(平库中使用)
 | 
 |  |  |      */
 | 
 |  |  |     private Double workQty;
 | 
 |  |  | 
 | 
 |  |  |     /**
 | 
 |  |  |      * 订单号
 | 
 |  |  | 
 |  |  |     @ApiModelProperty(value= "备注")
 | 
 |  |  |     private String memo;
 | 
 |  |  | 
 | 
 |  |  | 
 | 
 |  |  |     /**
 | 
 |  |  |      * 库存冻结 1: 冻结  0: 正常
 | 
 |  |  |      */
 | 
 |  |  |     @ApiModelProperty(value= "库存冻结 1: 冻结  0: 正常")
 | 
 |  |  |     private Integer freeze;
 | 
 |  |  | 
 | 
 |  |  |     @ApiModelProperty("物料信息")
 | 
 |  |  |     @TableField(exist = false)
 | 
 |  |  |     private MatnrDetlDto mats;
 | 
 |  |  | 
 | 
 |  |  | 
 | 
 |  |  |     public LocDetl() {}
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  |         return null;
 | 
 |  |  |     }
 | 
 |  |  | 
 | 
 |  |  | 
 | 
 |  |  |     public String getHostId$(){
 | 
 |  |  |         HostService service = SpringUtils.getBean(HostService.class);
 | 
 |  |  |         Host host = service.getById(this.hostId);
 |