Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
9202937516
@ -0,0 +1,70 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description :IF_订单交付数据
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-11-06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "IF_DELIVER_ORDER_DATA")
|
||||
@Api("IF_订单交付数据")
|
||||
public class IfDeliverOrderData extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 855289009053695347L;
|
||||
|
||||
@Column(name = "RGANIZTION_CODE")
|
||||
@ApiParam("工厂代码")
|
||||
private String rganiztionCode;
|
||||
|
||||
@Column(name = "YEAR")
|
||||
@ApiParam("年")
|
||||
private Integer year;
|
||||
|
||||
@Column(name = "MONTH")
|
||||
@ApiParam("月")
|
||||
private Integer month;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("发运数量")
|
||||
private Integer qty = 0;
|
||||
|
||||
@Column(name = "MOVE_TYPE")
|
||||
@ApiParam("移动类型")
|
||||
private Integer moveType;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
|
||||
@Column(name = "ERROR_MESSAGE")
|
||||
@ApiParam("异常消息")
|
||||
private String errorMessage;
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "IF_CODE")
|
||||
@ApiParam("接口代码")
|
||||
private String ifCode;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :BP业务对比表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-11-06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_BP_BUSINESS")
|
||||
@Api("BP业务对比表")
|
||||
public class MesBpBusiness extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 855289009053666347L;
|
||||
|
||||
@Column(name = "YEAR")
|
||||
@ApiParam("年")
|
||||
private Integer year;
|
||||
|
||||
@Column(name = "MONTH")
|
||||
@ApiParam("月")
|
||||
private Integer month;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("预测数量")
|
||||
private Double qty = 0d;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/7/28 2:37 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class LogisticsBiModel implements Serializable {
|
||||
|
||||
@ApiParam(value = "去年每月发运数量")
|
||||
private double lastQty = 0;
|
||||
|
||||
@ApiParam(value = "今年每月发运数量")
|
||||
private double thisQty = 0;
|
||||
|
||||
@ApiParam(value = "比例值")
|
||||
private double annualRatio = 0;
|
||||
|
||||
@ApiParam(value = "月份")
|
||||
private Integer month;
|
||||
|
||||
@ApiParam(value = "实际出库数量")
|
||||
private double outQty = 0;
|
||||
|
||||
@ApiParam(value = "BP总数")
|
||||
private double bpQty= 0;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.IfDeliverOrderData;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface IfDeliverOrderDataRepository extends BaseRepository<IfDeliverOrderData, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBpBusiness;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface MesBpBusinessRepository extends BaseRepository<MesBpBusiness, Long> {
|
||||
}
|
Loading…
Reference in New Issue