自动化立体仓库 - WMS系统
pang.jiabao
2025-04-28 d9aab59e3d4c8688eaf00c0d98f6926a218ff57f
src/main/java/com/zy/system/entity/SaasLog.java
@@ -6,6 +6,7 @@
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.Cools;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@@ -15,6 +16,7 @@
@Data
@TableName("sys_saas_log")
@AllArgsConstructor
public class SaasLog implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -59,6 +61,22 @@
    private String batch;
    private Integer packageNo;
    /**
     * 主体
     */
    private String owner;
    /**
     * 车间
     */
    private String workshop;
    /**
     * 单据类型
     */
    @TableField("doc_type")
    private Long docType;
    public SaasLog() {}
    public SaasLog(Long id,Integer type,String locNo,String matnr,Date ioTime,Long createBy) {
@@ -87,6 +105,9 @@
    }
    public String getType$(){
        if (this.type == null) {
            return "";
        }
        if (this.type ==0) {
            return "入库";
           } else if (this.type == 1) {
@@ -95,11 +116,16 @@
            return "库位移转";
        } else if (this.type == 3) {
            return "库存调整";
        }else {
        }else if (this.type == 4) {
            return "退货";
        } else {
            return "";
        }
    }
    public String getDocType$(){
        return "";
    }
}