|  |  | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableField; | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
 |  |  | import com.baomidou.mybatisplus.enums.IdType; | 
 |  |  | import com.baomidou.mybatisplus.mapper.EntityWrapper; | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | 
 |  |  | import com.zy.asrs.service.BasQualityTestingService; | 
 |  |  | import com.zy.asrs.service.LocMastService; | 
 |  |  | import com.zy.asrs.service.LocOwnerService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import lombok.experimental.Accessors; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | import java.text.SimpleDateFormat; | 
 |  |  | 
 |  |  |  | 
 |  |  |     private static final long serialVersionUID = 1L; | 
 |  |  |  | 
 |  |  |     @TableId | 
 |  |  |     private Long id; | 
 |  |  |  | 
 |  |  |     @TableId(value = "loc_id", type = IdType.AUTO) | 
 |  |  |     @TableField("loc_id") | 
 |  |  |     private Long locId; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "库位号") | 
 |  |  |     @TableField("loc_no") | 
 |  |  |     private String locNo; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty("area_id") | 
 |  |  |     @TableField | 
 |  |  |     private Long areaId; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty("area_name") | 
 |  |  |     @TableField | 
 |  |  |     private String areaName; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "托盘条码") | 
 |  |  |     @TableField | 
 |  |  |     private String zpallet; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "数量") | 
 |  |  |     @TableField | 
 |  |  |     @ExcelProperty("数量") | 
 |  |  |     private Double anfme; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "商品编号") | 
 |  |  |     @TableField | 
 |  |  |     @ExcelProperty("商品编号") | 
 |  |  |     private String matnr; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "商品名称") | 
 |  |  |     @TableField | 
 |  |  |     @ExcelProperty("商品名称") | 
 |  |  |     private String maktx; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "规格") | 
 |  |  |     @TableField | 
 |  |  |     @ExcelProperty("规格") | 
 |  |  |     private String specs; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "货品特征") | 
 |  |  |     @TableField | 
 |  |  |     @ExcelProperty("货品特征") | 
 |  |  |     private String batch; | 
 |  |  |  | 
 |  |  | 
 |  |  |     private String orderNo; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "型号") | 
 |  |  |     @TableField | 
 |  |  |     private String model; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "颜色") | 
 |  |  |     @TableField | 
 |  |  |     private String color; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "品牌") | 
 |  |  |     @TableField | 
 |  |  |     private String brand; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "单位") | 
 |  |  |     @TableField | 
 |  |  |     private String unit; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "单价") | 
 |  |  |     @TableField | 
 |  |  |     private Double price; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "sku") | 
 |  |  |     @TableField | 
 |  |  |     private String sku; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "单位量") | 
 |  |  |     @TableField | 
 |  |  |     private Double units; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "条码") | 
 |  |  |     @TableField | 
 |  |  |     private String barcode; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "产地") | 
 |  |  |     @TableField | 
 |  |  |     private String origin; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "厂家") | 
 |  |  |     @TableField | 
 |  |  |     private String manu; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "生产日期") | 
 |  |  | 
 |  |  |     private Double safeQty; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "重量") | 
 |  |  |     @TableField | 
 |  |  |     private Double weight; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "长度") | 
 |  |  |     private Double man_length; | 
 |  |  |     @TableField(value = "man_length") | 
 |  |  |     private Double manLength; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "体积") | 
 |  |  |     @TableField | 
 |  |  |     private Double volume; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "三方编码") | 
 |  |  | 
 |  |  |     private String threeCode; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "供应商") | 
 |  |  |     @TableField | 
 |  |  |     private String supp; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "供应商编码") | 
 |  |  | 
 |  |  |     private Integer deadWarn; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "制购 1: 制造  2: 采购  3: 外协  ") | 
 |  |  |     @TableField | 
 |  |  |     private Integer source; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "要求检验 1: 是  0: 否  ") | 
 |  |  |     @TableField | 
 |  |  |     private Integer inspect; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "危险品 1: 是  0: 否  ") | 
 |  |  |     @TableField | 
 |  |  |     private Integer danger; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "修改人员") | 
 |  |  | 
 |  |  |     private Date appeTime; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "备注") | 
 |  |  |     @TableField | 
 |  |  |     private String memo; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 拥有者 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "拥有者 1: 杰克   ") | 
 |  |  |     @TableField | 
 |  |  |     private Integer owner; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 备用1 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "备用1") | 
 |  |  |     @TableField | 
 |  |  |     private String standby1 = ""; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 备用2 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "备用2") | 
 |  |  |     @TableField | 
 |  |  |     private String standby2 = ""; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 备用3 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "备用3") | 
 |  |  |     @TableField | 
 |  |  |     private String standby3 = ""; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "备用1") | 
 |  |  |     @TableField("box_type1") | 
 |  |  |     private String boxType1 = "1"; | 
 |  |  |     private String boxType1 = ""; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 备用2 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "备用2") | 
 |  |  |     @TableField("box_type2") | 
 |  |  |     private String boxType2 = "1"; | 
 |  |  |     private String boxType2 = ""; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 备用3 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "备用3") | 
 |  |  |     @TableField("box_type3") | 
 |  |  |     private String boxType3 = "1"; | 
 |  |  |     private String boxType3 = ""; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 是否冻结 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "是否冻结,0.未冻结,1.已冻结") | 
 |  |  |     @TableField | 
 |  |  |     private Integer frozen; | 
 |  |  |  | 
 |  |  |     public String getLocNo$() { | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getFrozen$() { | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.enums.ContainerType; | 
 |  |  | import com.zy.asrs.service.TagService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.service.DocTypeService; | 
 |  |  | import com.zy.asrs.service.OrderSettleService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.zy.asrs.service.BasProcessProceduresService; | 
 |  |  | import com.zy.asrs.service.BasQualityTestingService; | 
 |  |  | import com.zy.asrs.service.OrderService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.zy.asrs.service.BasProcessProceduresService; | 
 |  |  | import com.zy.asrs.service.BasQualityTestingService; | 
 |  |  | import com.zy.asrs.service.OrderService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.zy.asrs.service.BasProcessProceduresService; | 
 |  |  | import com.zy.asrs.service.BasQualityTestingService; | 
 |  |  | import com.zy.asrs.service.OrderService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.zy.asrs.service.BasProcessProceduresService; | 
 |  |  | import com.zy.asrs.service.BasQualityTestingService; | 
 |  |  | import com.zy.asrs.service.OrderService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.service.DocTypeService; | 
 |  |  | import com.zy.asrs.service.OrderSettleService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.service.DocTypeService; | 
 |  |  | import com.zy.asrs.service.OrderSettleService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.service.DocTypeService; | 
 |  |  | import com.zy.asrs.service.OrderSettleService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.service.DocTypeService; | 
 |  |  | import com.zy.asrs.service.OrderSettleService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.service.DocTypeService; | 
 |  |  | import com.zy.asrs.service.OrderSettleService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | //    public void sync(Object source) { | 
 |  |  | //        Synchro.Copy(source, this); | 
 |  |  | //        BeanUtils.copyProperties(source, this); | 
 |  |  | //    } | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import lombok.experimental.Accessors; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | import java.text.SimpleDateFormat; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | import java.text.SimpleDateFormat; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.entity.LocMast; | 
 |  |  | import com.zy.asrs.service.LocMastService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import com.zy.system.entity.User; | 
 |  |  | import com.zy.system.service.UserService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  |  | 
 |  |  | import java.text.SimpleDateFormat; | 
 |  |  | import java.util.Date; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.asrs.entity.LocOwner; | 
 |  |  | import com.zy.asrs.service.LocOwnerService; | 
 |  |  | import com.zy.common.utils.Synchro; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  |  | 
 |  |  | import java.util.Date; | 
 |  |  |  | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void sync(Object source) { | 
 |  |  |         Synchro.Copy(source, this); | 
 |  |  |         BeanUtils.copyProperties(source, this); | 
 |  |  |     } | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.zy.common.service.CommonService; | 
 |  |  | import com.zy.common.web.WcsController; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.springframework.beans.BeanUtils; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  | import org.springframework.transaction.annotation.Transactional; | 
 |  |  | 
 |  |  |             } | 
 |  |  |             Mat mat = matService.selectByMatnr(adjust.getMatnr()); | 
 |  |  |             LocDetl locDetl = new LocDetl(); | 
 |  |  |             locDetl.sync(mat); | 
 |  |  |             BeanUtils.copyProperties(mat, locDetl); | 
 |  |  |             locDetl.setBatch(adjust.getBatch()); | 
 |  |  |             locDetl.setLocNo(locMast.getLocNo()); | 
 |  |  |             locDetl.setZpallet(locMast.getBarcode()); | 
 
 |  |  | 
 |  |  |                     .setAppeTime(new Date()) | 
 |  |  |                     .setSpecs(pakin.getSpecs()) | 
 |  |  |                     .setColor(pakin.getColor()) | 
 |  |  |                     .setLocId(locCache.getId()) | 
 |  |  |                     .setLocNo(locCache.getLocNo()) | 
 |  |  |                     .setAreaId(locCache.getAreaId()) | 
 |  |  |                     .setAreaName(locCache.getAreaName()) | 
 
 |  |  | 
 |  |  | import com.zy.common.utils.Http; | 
 |  |  | import com.zy.system.entity.*; | 
 |  |  | import com.zy.system.service.*; | 
 |  |  | import com.zy.system.timer.LicenseTimer; | 
 |  |  | import com.zy.system.timer.LoadingConfigTimer; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.beans.factory.annotation.Value; | 
 |  |  | 
 |  |  |     private RolePermissionService rolePermissionService; | 
 |  |  |     @Autowired | 
 |  |  |     private LoadingConfigTimer loadingConfigTimer; | 
 |  |  |     @Autowired | 
 |  |  |     private LicenseTimer licenseTimer; | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { | 
 |  |  | 
 |  |  |         if (handler instanceof org.springframework.web.servlet.resource.ResourceHttpRequestHandler) { | 
 |  |  |             return true; | 
 |  |  |         } | 
 |  |  |         if (!licenseTimer.getSystemSupport()) { | 
 |  |  |             Http.response(response, BaseRes.NO_ACTIVATION); | 
 |  |  |             return false; | 
 |  |  |         } | 
 |  |  |         // super账号 | 
 |  |  |         String token = request.getHeader("token"); | 
 |  |  |         if (token != null) { | 
 
 |  |  | 
 |  |  |      * 删除天数 | 
 |  |  |      */ | 
 |  |  |     private Integer logDeleteDays = 360; | 
 |  |  |     /** | 
 |  |  |      * 托盘码是否管理 | 
 |  |  |      */ | 
 |  |  |     private Boolean zpalletManage = false; | 
 |  |  |  | 
 |  |  |     // erp上报 | 
 |  |  |     private Boolean erpReport = false; | 
 |  |  | 
 |  |  |         tokenNumber = configService.getVal("tokenNumber", Integer.class, tokenNumber); | 
 |  |  |         logDeleteDays = configService.getVal("logDeleteDays", Integer.class, logDeleteDays); | 
 |  |  |         erpReport = configService.getVal("erpReport", Boolean.class, erpReport); | 
 |  |  |  | 
 |  |  |         zpalletManage = configService.getVal("zpalletManage", Boolean.class, zpalletManage); | 
 |  |  |  | 
 |  |  |     } | 
 |  |  |  | 
 
 |  |  | 
 |  |  |  | 
 |  |  | #License相关配置 | 
 |  |  | license: | 
 |  |  |   subject: integrationasrs | 
 |  |  |   subject: asrs2.0 | 
 |  |  |   publicAlias: publicCert | 
 |  |  |   storePass: public_zhongyang_123456789 | 
 |  |  |   licensePath: license.lic | 
 
 |  |  | 
 |  |  |     active: dev | 
 |  |  | logging: | 
 |  |  |   file: | 
 |  |  |     path: /stock/out/@pom.build.finalName@/logs | 
 |  |  |     path: /stock/out/wms/logs | 
 
 |  |  | 
 |  |  |     ,{field: 'color', align: 'center',title: '颜色', hide: true} | 
 |  |  |     ,{field: 'brand', align: 'center',title: '品牌', hide: true} | 
 |  |  |     ,{field: 'upQty', align: 'center',title: '组托上限'} | 
 |  |  |     ,{field: 'unit', align: 'center',title: '单位', hide: false} | 
 |  |  |     ,{field: 'storeMax', align: 'center',title: '库存预警数量上限'} | 
 |  |  |     ,{field: 'storeMin', align: 'center',title: '库存预警数量下限'} | 
 |  |  |     ,{field: 'storeMaxDate', align: 'center',title: '库龄预警上限'} | 
 |  |  |     ,{field: 'unit', align: 'center',title: '单位', hide: true} | 
 |  |  |     ,{field: 'price', align: 'center',title: '单价', hide: true} | 
 |  |  |     ,{field: 'sku', align: 'center',title: 'sku', hide: true} | 
 |  |  |     ,{field: 'units', align: 'center',title: '单位量', hide: true} | 
 
 |  |  | 
 |  |  |         url: baseUrl+"/docType/list/auth", | 
 |  |  |         headers: {'token': localStorage.getItem('token')}, | 
 |  |  |         data: { | 
 |  |  |             limit: 9999 | 
 |  |  |             limit: 9999, | 
 |  |  |             pakin: 1 | 
 |  |  |         }, | 
 |  |  |         method: 'POST', | 
 |  |  |         success: function (res) { | 
 
 |  |  | 
 |  |  |         url: baseUrl+"/docType/list/auth", | 
 |  |  |         headers: {'token': localStorage.getItem('token')}, | 
 |  |  |         data: { | 
 |  |  |             limit: 9999 | 
 |  |  |             limit: 9999, | 
 |  |  |             pakout: 1 | 
 |  |  |         }, | 
 |  |  |         method: 'POST', | 
 |  |  |         success: function (res) { |