whycq0520
2022-03-24 03b41fa7164bb7dc5a8bd17a06cfceed43e65617
src/main/java/zy/cloud/wms/manager/entity/Item.java
@@ -3,6 +3,7 @@
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.core.common.Cools;
@@ -92,7 +93,7 @@
     * 开始时间
     */
    @ApiModelProperty(value= "开始时间")
    @TableField("start_time")
    @TableField(value = "start_time", strategy = FieldStrategy.IGNORED)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
@@ -100,7 +101,7 @@
     * 结束时间
     */
    @ApiModelProperty(value= "结束时间")
    @TableField("end_time")
    @TableField(value = "end_time" ,strategy = FieldStrategy.IGNORED)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
@@ -150,12 +151,12 @@
    private String type;
    @TableField("real_start_time")
    @TableField(value = "real_start_time", strategy = FieldStrategy.IGNORED)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realStartTime;
    @TableField("real_end_time")
    @TableField(value = "real_end_time", strategy = FieldStrategy.IGNORED)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realEndTime;
@@ -174,9 +175,201 @@
    @TableField("project_status")
    private Integer projectStatus;
    /**
     * 订单类型
     */
    @ApiModelProperty(value= "订单类型")
    @TableField("orderDesc")
    private String orderDesc;
    /**
     * 业务员
     */
    @ApiModelProperty(value= "业务员")
    @TableField("salesman")
    private String salesman;
    /**
     * 售前核价金额
     */
    @ApiModelProperty(value= "售前核价金额")
    @TableField("presaleAmt")
    private Double presaleAmt;
    /**
     * 销售预交货期
     */
    @ApiModelProperty(value= "销售预交货期")
    @TableField("predeDate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date predeDate;
    /**
     * 销售预安装期
     */
    @ApiModelProperty(value= "销售预安装期")
    @TableField("preinDate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date preinDate;
    /**
     * 产品重量
     */
    @ApiModelProperty(value= "产品重量")
    @TableField("weight")
    private Double weight;
    /**
     * 是否安装
     */
    @ApiModelProperty(value= "安装")
    @TableField("installMk")
    private Integer installMk;
    /**
     * 是否运输
     */
    @ApiModelProperty(value= "运输")
    @TableField("deliveryMk")
    private Integer deliveryMk;
    /**
     * 客户联系人
     */
    @ApiModelProperty(value= "客户联系人")
    @TableField("custMan")
    private String custMan;
    /**
     * 联系方式
     */
    @ApiModelProperty(value= "联系方式")
    @TableField("custMobile")
    private String custMobile;
    /**
     * 联系地址
     */
    @ApiModelProperty(value= "联系地址")
    @TableField("custAdress")
    private String custAdress;
    /**
     * 进度
     */
    @ApiModelProperty(value= "进度")
    @TableField("progressRate")
    private String progressRate;
    /**
     * 车辆信息
     */
    @ApiModelProperty(value= "车辆信息")
    @TableField("planCarInfo")
    private String planCarInfo;
    /**
     * 预计发货日期
     */
    @ApiModelProperty(value= "预计发货日期")
    @TableField("plandeDate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date plandeDate;
    /**
     * 实际发货日期
     */
    @ApiModelProperty(value= "实际发货日期")
    @TableField("realdeDate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realdeDate;
    /**
     * 预计安装日期
     */
    @ApiModelProperty(value= "预计安装日期")
    @TableField("planinDate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date planinDate;
    /**
     * 实际安装日期
     */
    @ApiModelProperty(value= "实际安装日期")
    @TableField("realinDate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realinDate;
    /**
     * 预计运费
     */
    @ApiModelProperty(value= "预计运费")
    @TableField("plandeAmt")
    private Double plandeAmt;
    /**
     * 实际运费
     */
    @ApiModelProperty(value= "实际运费")
    @TableField("realdeAmt")
    private Double realdeAmt;
    /**
     * 预计安装费
     */
    @ApiModelProperty(value= "预计安装费")
    @TableField("planinAmt")
    private Double planinAmt;
    /**
     * 实际安装费
     */
    @ApiModelProperty(value= "实际安装费")
    @TableField("realinAmt")
    private Double realinAmt;
    /**
     * 预计初验日期
     */
    @ApiModelProperty(value= "预计初验日期")
    @TableField("planFADate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date planFADate;
    /**
     * 实际初验日期
     */
    @ApiModelProperty(value= "实际初验日期")
    @TableField("realFADate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realFADate;
    /**
     * 预计终验日期
     */
    @ApiModelProperty(value= "预计终验日期")
    @TableField("planLADate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date planLADate;
    /**
     * 实际终验日期
     */
    @ApiModelProperty(value= "实际终验日期")
    @TableField("realLADate")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realLADate;
    /**
     * 预计车辆数量
     */
    @ApiModelProperty(value= "预计车辆数量")
    @TableField("planCarnumber")
    private Integer planCarnumber;
    public Item() {}
//    Item item = new Item(
//            null,    // 项目编号[非空]
@@ -297,6 +490,13 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.startTime);
    }
    public String getStartTime0$(){
        if (Cools.isEmpty(this.startTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.startTime);
    }
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
@@ -310,6 +510,12 @@
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.endTime);
    }
    public String getEndTime0$(){
        if (Cools.isEmpty(this.endTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.endTime);
    }
    public void setEndTime(Date endTime) {
@@ -331,6 +537,32 @@
                return "禁用";
            default:
                return String.valueOf(this.status);
        }
    }
    public String getInstallMk$(){
        if (null == this.installMk){ return null; }
        switch (this.installMk){
            case 0:
                return "否";
            case 1:
                return "是";
            default:
                return String.valueOf(this.installMk);
        }
    }
    public String getDeliveryMk$(){
        if (null == this.deliveryMk){ return null; }
        switch (this.deliveryMk){
            case 0:
                return "否";
            case 1:
                return "是";
            default:
                return String.valueOf(this.deliveryMk);
        }
    }
@@ -400,6 +632,16 @@
        }
    }
    public String getRealStartTime0$(){
        if (!Cools.isEmpty(this.realStartTime)) {
            return new SimpleDateFormat("yyyy-MM-dd").format(this.realStartTime);
        }else {
            return "";
        }
    }
    public String getRealEndTime$(){
        if (!Cools.isEmpty(this.realEndTime)) {
            return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.realEndTime);
@@ -407,6 +649,14 @@
            return "";
        }
    }
    public String getRealEndTime0$(){
        if (!Cools.isEmpty(this.realEndTime)) {
            return new SimpleDateFormat("yyyy-MM-dd").format(this.realEndTime);
        }else {
            return "";
        }
    }
    public String getType$(){
        ProjectTypeService bean = SpringUtils.getBean(ProjectTypeService.class);
        ProjectType id = bean.selectOne(new EntityWrapper<ProjectType>()
@@ -444,6 +694,145 @@
        this.memo = memo;
    }
    public String getPredeDate$(){
        if (Cools.isEmpty(this.predeDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.predeDate);
    }
    public String getPredeDate0$(){
        if (Cools.isEmpty(this.predeDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.predeDate);
    }
    public String getPreinDate$(){
        if (Cools.isEmpty(this.preinDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.preinDate);
    }
    public String getPreinDate0$(){
        if (Cools.isEmpty(this.preinDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.preinDate);
    }
    public String getPlandeDate$(){
        if (Cools.isEmpty(this.plandeDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.plandeDate);
    }
    public String getPlandeDate0$(){
        if (Cools.isEmpty(this.plandeDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.plandeDate);
    }
    public String getRealdeDate$(){
        if (Cools.isEmpty(this.realdeDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.realdeDate);
    }
    public String getRealdeDate0$(){
        if (Cools.isEmpty(this.realdeDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.realdeDate);
    }
    public String getPlaninDate$(){
        if (Cools.isEmpty(this.planinDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.planinDate);
    }
    public String getPlaninDate0$(){
        if (Cools.isEmpty(this.planinDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.planinDate);
    }
    public String getRealinDate$(){
        if (Cools.isEmpty(this.realinDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.realinDate);
    }
    public String getRealinDate0$(){
        if (Cools.isEmpty(this.realinDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.realinDate);
    }
    public String getPlanFADate$(){
        if (Cools.isEmpty(this.planFADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.planFADate);
    }
    public String getPlanFADate0$(){
        if (Cools.isEmpty(this.planFADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.planFADate);
    }
    public String getRealFADate$(){
        if (Cools.isEmpty(this.realFADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.realFADate);
    }
    public String getRealFADate0$(){
        if (Cools.isEmpty(this.realFADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.realFADate);
    }
    public String getPlanLADate$(){
        if (Cools.isEmpty(this.planLADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.planLADate);
    }
    public String getPlanLADate0$(){
        if (Cools.isEmpty(this.planLADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.planLADate);
    }
    public String getRealLADate$(){
        if (Cools.isEmpty(this.realLADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.realLADate);
    }
    public String getRealLADate0$(){
        if (Cools.isEmpty(this.realLADate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.realLADate);
    }
}
}