package com.zy.ints.entity;
|
|
import com.core.common.Cools;
|
import com.zy.asrs.entity.LocMast;
|
import com.zy.asrs.service.LocMastService;
|
import com.zy.system.entity.User;
|
import com.zy.system.service.UserService;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.core.common.SpringUtils;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.core.common.SpringUtils;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.core.common.SpringUtils;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.core.common.SpringUtils;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@TableName("ints_wait_matchk_log")
|
public class WaitMatchkLog implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 单据编号
|
*/
|
@ApiModelProperty(value= "单据编号")
|
@TableField("bill_no")
|
private String billNo;
|
|
/**
|
* 序号
|
*/
|
@ApiModelProperty(value= "序号")
|
@TableField("seq_no")
|
private Integer seqNo;
|
|
/**
|
* 单据类型 1: 抽盘 2: 月度盘点 3: 季度盘点 4: 年度盘点 5: 全盘
|
*/
|
@ApiModelProperty(value= "单据类型 1: 抽盘 2: 月度盘点 3: 季度盘点 4: 年度盘点 5: 全盘 ")
|
@TableField("bill_type")
|
private Integer billType;
|
|
/**
|
* 库位号
|
*/
|
@ApiModelProperty(value= "库位号")
|
@TableField("loc_no")
|
private String locNo;
|
|
/**
|
* 托盘号
|
*/
|
@ApiModelProperty(value= "托盘号")
|
private String zpallet;
|
|
/**
|
* 物料编码
|
*/
|
@ApiModelProperty(value= "物料编码")
|
@TableField("mat_no")
|
private String matNo;
|
|
/**
|
* 物料名称
|
*/
|
@ApiModelProperty(value= "物料名称")
|
@TableField("mat_name")
|
private String matName;
|
|
/**
|
* 库存数量
|
*/
|
@ApiModelProperty(value= "库存数量")
|
@TableField("stock_qty")
|
private Double stockQty;
|
|
/**
|
* 盘点数量
|
*/
|
@ApiModelProperty(value= "盘点数量")
|
@TableField("check_qty")
|
private Double checkQty;
|
|
/**
|
* ERP连线 0: 非连线 1: ERP连线
|
*/
|
@ApiModelProperty(value= "ERP连线 0: 非连线 1: ERP连线 ")
|
@TableField("link_erp")
|
private Integer linkErp;
|
|
/**
|
* 完成状态 0: 待处理 1: 盘点中 2: 盘点完成 3: 取消盘点
|
*/
|
@ApiModelProperty(value= "完成状态 0: 待处理 1: 盘点中 2: 盘点完成 3: 取消盘点 ")
|
@TableField("io_status")
|
private Integer ioStatus;
|
|
/**
|
* 完成时间
|
*/
|
@ApiModelProperty(value= "完成时间")
|
@TableField("io_time")
|
private Date ioTime;
|
|
/**
|
* 审核状态 0: 待审 1: 已审 2: 拒绝
|
*/
|
@ApiModelProperty(value= "审核状态 0: 待审 1: 已审 2: 拒绝 ")
|
@TableField("verify_status")
|
private Integer verifyStatus;
|
|
/**
|
* 审核人员
|
*/
|
@ApiModelProperty(value= "审核人员")
|
@TableField("verify_user")
|
private Long verifyUser;
|
|
/**
|
* 修改人员
|
*/
|
@ApiModelProperty(value= "修改人员")
|
@TableField("modi_user")
|
private Long modiUser;
|
|
/**
|
* 修改时间
|
*/
|
@ApiModelProperty(value= "修改时间")
|
@TableField("modi_time")
|
private Date modiTime;
|
|
/**
|
* 建档人员
|
*/
|
@ApiModelProperty(value= "建档人员")
|
@TableField("appe_user")
|
private Long appeUser;
|
|
/**
|
* 建档时间
|
*/
|
@ApiModelProperty(value= "建档时间")
|
@TableField("appe_time")
|
private Date appeTime;
|
|
public WaitMatchkLog() {}
|
|
public WaitMatchkLog(String billNo,Integer seqNo,Integer billType,String locNo,String zpallet,String matNo,String matName,Double stockQty,Double checkQty,Integer linkErp,Integer ioStatus,Date ioTime,Integer verifyStatus,Long verifyUser,Long modiUser,Date modiTime,Long appeUser,Date appeTime) {
|
this.billNo = billNo;
|
this.seqNo = seqNo;
|
this.billType = billType;
|
this.locNo = locNo;
|
this.zpallet = zpallet;
|
this.matNo = matNo;
|
this.matName = matName;
|
this.stockQty = stockQty;
|
this.checkQty = checkQty;
|
this.linkErp = linkErp;
|
this.ioStatus = ioStatus;
|
this.ioTime = ioTime;
|
this.verifyStatus = verifyStatus;
|
this.verifyUser = verifyUser;
|
this.modiUser = modiUser;
|
this.modiTime = modiTime;
|
this.appeUser = appeUser;
|
this.appeTime = appeTime;
|
}
|
|
// WaitMatchkLog waitMatchkLog = new WaitMatchkLog(
|
// null, // 单据编号[非空]
|
// null, // 序号[非空]
|
// null, // 单据类型
|
// null, // 库位号[非空]
|
// null, // 托盘号
|
// null, // 物料编码[非空]
|
// null, // 物料名称[非空]
|
// null, // 库存数量
|
// null, // 盘点数量
|
// null, // ERP连线
|
// null, // 完成状态
|
// null, // 完成时间
|
// null, // 审核状态
|
// null, // 审核人员
|
// null, // 修改人员
|
// null, // 修改时间
|
// null, // 建档人员
|
// null // 建档时间
|
// );
|
|
public String getBillNo() {
|
return billNo;
|
}
|
|
public void setBillNo(String billNo) {
|
this.billNo = billNo;
|
}
|
|
public Integer getSeqNo() {
|
return seqNo;
|
}
|
|
public void setSeqNo(Integer seqNo) {
|
this.seqNo = seqNo;
|
}
|
|
public Integer getBillType() {
|
return billType;
|
}
|
|
public String getBillType$(){
|
if (null == this.billType){ return null; }
|
switch (this.billType){
|
case 1:
|
return "抽盘";
|
case 2:
|
return "月度盘点";
|
case 3:
|
return "季度盘点";
|
case 4:
|
return "年度盘点";
|
case 5:
|
return "全盘";
|
default:
|
return String.valueOf(this.billType);
|
}
|
}
|
|
public void setBillType(Integer billType) {
|
this.billType = billType;
|
}
|
|
public String getLocNo() {
|
return locNo;
|
}
|
|
public String getLocNo$(){
|
LocMastService service = SpringUtils.getBean(LocMastService.class);
|
LocMast locMast = service.selectById(this.locNo);
|
if (!Cools.isEmpty(locMast)){
|
return String.valueOf(locMast.getLocNo());
|
}
|
return null;
|
}
|
|
public void setLocNo(String locNo) {
|
this.locNo = locNo;
|
}
|
|
public String getZpallet() {
|
return zpallet;
|
}
|
|
public void setZpallet(String zpallet) {
|
this.zpallet = zpallet;
|
}
|
|
public String getMatNo() {
|
return matNo;
|
}
|
|
public void setMatNo(String matNo) {
|
this.matNo = matNo;
|
}
|
|
public String getMatName() {
|
return matName;
|
}
|
|
public void setMatName(String matName) {
|
this.matName = matName;
|
}
|
|
public Double getStockQty() {
|
return stockQty;
|
}
|
|
public void setStockQty(Double stockQty) {
|
this.stockQty = stockQty;
|
}
|
|
public Double getCheckQty() {
|
return checkQty;
|
}
|
|
public void setCheckQty(Double checkQty) {
|
this.checkQty = checkQty;
|
}
|
|
public Integer getLinkErp() {
|
return linkErp;
|
}
|
|
public String getLinkErp$(){
|
if (null == this.linkErp){ return null; }
|
switch (this.linkErp){
|
case 0:
|
return "非连线";
|
case 1:
|
return "ERP连线";
|
default:
|
return String.valueOf(this.linkErp);
|
}
|
}
|
|
public void setLinkErp(Integer linkErp) {
|
this.linkErp = linkErp;
|
}
|
|
public Integer getIoStatus() {
|
return ioStatus;
|
}
|
|
public String getIoStatus$(){
|
if (null == this.ioStatus){ return null; }
|
switch (this.ioStatus){
|
case 0:
|
return "待处理";
|
case 1:
|
return "盘点中";
|
case 2:
|
return "盘点完成";
|
case 3:
|
return "取消盘点";
|
default:
|
return String.valueOf(this.ioStatus);
|
}
|
}
|
|
public void setIoStatus(Integer ioStatus) {
|
this.ioStatus = ioStatus;
|
}
|
|
public Date getIoTime() {
|
return ioTime;
|
}
|
|
public String getIoTime$(){
|
if (Cools.isEmpty(this.ioTime)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.ioTime);
|
}
|
|
public void setIoTime(Date ioTime) {
|
this.ioTime = ioTime;
|
}
|
|
public Integer getVerifyStatus() {
|
return verifyStatus;
|
}
|
|
public String getVerifyStatus$(){
|
if (null == this.verifyStatus){ return null; }
|
switch (this.verifyStatus){
|
case 0:
|
return "待审";
|
case 1:
|
return "已审";
|
case 2:
|
return "拒绝";
|
default:
|
return String.valueOf(this.verifyStatus);
|
}
|
}
|
|
public void setVerifyStatus(Integer verifyStatus) {
|
this.verifyStatus = verifyStatus;
|
}
|
|
public Long getVerifyUser() {
|
return verifyUser;
|
}
|
|
public String getVerifyUser$(){
|
UserService service = SpringUtils.getBean(UserService.class);
|
User user = service.selectById(this.verifyUser);
|
if (!Cools.isEmpty(user)){
|
return String.valueOf(user.getUsername());
|
}
|
return null;
|
}
|
|
public void setVerifyUser(Long verifyUser) {
|
this.verifyUser = verifyUser;
|
}
|
|
public Long getModiUser() {
|
return modiUser;
|
}
|
|
public String getModiUser$(){
|
UserService service = SpringUtils.getBean(UserService.class);
|
User user = service.selectById(this.modiUser);
|
if (!Cools.isEmpty(user)){
|
return String.valueOf(user.getUsername());
|
}
|
return null;
|
}
|
|
public void setModiUser(Long modiUser) {
|
this.modiUser = modiUser;
|
}
|
|
public Date getModiTime() {
|
return modiTime;
|
}
|
|
public String getModiTime$(){
|
if (Cools.isEmpty(this.modiTime)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime);
|
}
|
|
public void setModiTime(Date modiTime) {
|
this.modiTime = modiTime;
|
}
|
|
public Long getAppeUser() {
|
return appeUser;
|
}
|
|
public String getAppeUser$(){
|
UserService service = SpringUtils.getBean(UserService.class);
|
User user = service.selectById(this.appeUser);
|
if (!Cools.isEmpty(user)){
|
return String.valueOf(user.getUsername());
|
}
|
return null;
|
}
|
|
public void setAppeUser(Long appeUser) {
|
this.appeUser = appeUser;
|
}
|
|
public Date getAppeTime() {
|
return appeTime;
|
}
|
|
public String getAppeTime$(){
|
if (Cools.isEmpty(this.appeTime)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
|
}
|
|
public void setAppeTime(Date appeTime) {
|
this.appeTime = appeTime;
|
}
|
|
|
}
|