用户信息拆分 合并代码处理
commit
98d60b8443
@ -0,0 +1,49 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.platform.sqlpack;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.tool.BsonPackTool;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.LogOperate;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.LogSystem;
|
||||||
|
import com.mongodb.BasicDBObject;
|
||||||
|
import com.mongodb.client.model.Filters;
|
||||||
|
import org.bson.conversions.Bson;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : Bson对象封装
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2018-11-08 13:15
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public class CoreBsonPack {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日志复杂查询
|
||||||
|
* @param logSystem
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static Bson packBsonByLogSystem(LogSystem logSystem){
|
||||||
|
Bson bson = new BasicDBObject();
|
||||||
|
|
||||||
|
bson = BsonPackTool.getNumEqualPack(logSystem.getLogLevel(),"logLevel",bson);
|
||||||
|
bson = BsonPackTool.getNumEqualPack(logSystem.getLogModuleId(),"logModuleId",bson);
|
||||||
|
bson = BsonPackTool.timeBuilder(logSystem.getCreateDatetime(),"createDatetime",bson,false,false);
|
||||||
|
bson = BsonPackTool.getStringLikerPack(logSystem.getRemoteIp(),"remoteIp",bson);
|
||||||
|
bson = BsonPackTool.getStringLikerPack(logSystem.getRequestUrl(),"requestUrl",bson);
|
||||||
|
bson = BsonPackTool.getStringLikerPack(logSystem.getLogMethod(),"logMethod",bson);
|
||||||
|
|
||||||
|
return bson;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Bson packBsonByLogOperate(LogOperate logOperate){
|
||||||
|
Bson bson = new BasicDBObject();
|
||||||
|
|
||||||
|
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateTypeId(),"operateTypeId",bson);
|
||||||
|
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModuleId(),"operateModuleId",bson);
|
||||||
|
bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(),"createDatetime",bson,false,false);
|
||||||
|
bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(),"createUser",bson);
|
||||||
|
|
||||||
|
return bson;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :移库单详情实体(用于转储类业务)
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2018-11-13 16:06
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_DOC_MOVEMENT_DETAILS")
|
||||||
|
@Api("移库单详情表")
|
||||||
|
public class WmsDocMovementDetails extends BaseBean {
|
||||||
|
@Column(name = "ORDER_NO")
|
||||||
|
@ApiParam(value = "单号")
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@Column(name = "ITEM")
|
||||||
|
@ApiParam(value = "行号", example = "1")
|
||||||
|
private Integer item;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam(value = "物料编码")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "PART_NAME")
|
||||||
|
@ApiParam(value = "物料名称")
|
||||||
|
private String partName;
|
||||||
|
|
||||||
|
@Column(name = "UNIT")
|
||||||
|
@ApiParam(value = "单位")
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
@Column(name = "SRC_WH")
|
||||||
|
@ApiParam(value = "发出库仓库")
|
||||||
|
private String srcWh;
|
||||||
|
|
||||||
|
|
||||||
|
@Column(name = "DEST_WH")
|
||||||
|
@ApiParam(value = "接收库仓库")
|
||||||
|
private String destWh;
|
||||||
|
|
||||||
|
@Column(name = "QTY")
|
||||||
|
@ApiParam(value = "需求数量", example = "1")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
@Column(name = "PRINT_QTY")
|
||||||
|
@ApiParam(value = "条码打印数量", example = "1")
|
||||||
|
private Double printQty;
|
||||||
|
|
||||||
|
@Column(name = "FACT_QTY")
|
||||||
|
@ApiParam(value = "操作完成数量", example = "1")
|
||||||
|
private Double factQty;
|
||||||
|
|
||||||
|
@Column(name = "ZDATE")
|
||||||
|
@ApiParam(value = "计划日期")
|
||||||
|
private String zdate;
|
||||||
|
|
||||||
|
@Column(name = "ZTIME")
|
||||||
|
@ApiParam(value = "计划时间")
|
||||||
|
private String ztime;
|
||||||
|
|
||||||
|
@Column(name = "SRC_NO")
|
||||||
|
@ApiParam(value = "源单号")
|
||||||
|
private String srcNo;
|
||||||
|
/**
|
||||||
|
* 状态:N=正常,C=行取消
|
||||||
|
*/
|
||||||
|
@Column(name = "ITEM_STATUS")
|
||||||
|
@ApiParam(value = "状态", example = "1")
|
||||||
|
private Integer itemStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否免费:0=计费,1=免费
|
||||||
|
*/
|
||||||
|
@Column(name = "IS_FREE")
|
||||||
|
@ApiParam(value = "是否免费", example = "1")
|
||||||
|
public Integer isFree;
|
||||||
|
|
||||||
|
@Column(name = "REMARK")
|
||||||
|
@ApiParam(value = "操作原因")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
@Column(name = "PICK_QTY")
|
||||||
|
@ApiParam(value = "已配数量", example = "1")
|
||||||
|
private Double pickQty;
|
||||||
|
|
||||||
|
@Column(name = "OUT_QTY")
|
||||||
|
@ApiParam(value = "已提交数量", example = "1")
|
||||||
|
private Double outQty;
|
||||||
|
|
||||||
|
@Column(name = "INLINE_QTY")
|
||||||
|
@ApiParam(value = "已上线数量", example = "1")
|
||||||
|
private Double inlineQty;
|
||||||
|
|
||||||
|
@Column(name = "REJECT_QTY")
|
||||||
|
@ApiParam(value = "退料数量", example = "1")
|
||||||
|
private Double rejectQty;
|
||||||
|
|
||||||
|
@Column(name = "REJECT_POST_QTY")
|
||||||
|
@ApiParam(value = "退料提交数量", example = "1")
|
||||||
|
private Double rejectPostQty;
|
||||||
|
}
|
@ -0,0 +1,102 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :移库单实体(用于转储类业务)
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2018-11-13 16:06
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_DOC_MOVEMENT_MASTER")
|
||||||
|
@Api("移库单表")
|
||||||
|
public class WmsDocMovementMaster extends BaseBean {
|
||||||
|
@Column(name = "ORDER_NO")
|
||||||
|
@ApiParam(value = "移库单单号")
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 移动类型:IN=入库,OUT=出库,MOVE=移库
|
||||||
|
*/
|
||||||
|
@Column(name = "MOVE_TYPE")
|
||||||
|
@ApiParam("移动类型")
|
||||||
|
public String moveType;
|
||||||
|
/**
|
||||||
|
* 业务类型:RC=收货,QC=质检,IN=入库,ZI=杂收,ZO=杂发,
|
||||||
|
* VJ=供应商退货,CJ=客户退货,WP=工单领料,WJ=工单退料,
|
||||||
|
* MI=移库入库,MO=移库出库,SO=发运
|
||||||
|
*/
|
||||||
|
@Column(name = "BUSI_TYPE")
|
||||||
|
@ApiParam(value = "业务类型", example = "1")
|
||||||
|
public Integer busiType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 状态:0=新建,10=处理中
|
||||||
|
* ,20=已完成,90=已关闭,91=已取消
|
||||||
|
*/
|
||||||
|
@Column(name = "ORDER_STATUS")
|
||||||
|
@ApiParam(value = "状态", example = "1")
|
||||||
|
public Integer orderStatus;
|
||||||
|
|
||||||
|
@Column(name = "CUSTOMER_NO")
|
||||||
|
@ApiParam(value = "客户编号")
|
||||||
|
private String customerNo;
|
||||||
|
|
||||||
|
@Column(name = "VENDOR_NO")
|
||||||
|
@ApiParam(value = "供应商编号")
|
||||||
|
private String vendorNo;
|
||||||
|
|
||||||
|
@Column(name = "VERSION")
|
||||||
|
@ApiParam(value = "版本", example = "1")
|
||||||
|
private Integer version;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据类型::1=工单配料
|
||||||
|
*/
|
||||||
|
@Column(name = "REF_TYPE")
|
||||||
|
@ApiParam(value = "关联单据类型")
|
||||||
|
private String refType;
|
||||||
|
|
||||||
|
@Column(name = "REF_NO")
|
||||||
|
@ApiParam(value = "关联单据")
|
||||||
|
private String refNo;
|
||||||
|
|
||||||
|
@Column(name = "ERP_SRC_NO")
|
||||||
|
@ApiParam(value = "ERP单号")
|
||||||
|
private String erpSrcNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据类型::1=工单配料
|
||||||
|
*/
|
||||||
|
@Column(name = "ORDER_TYPE")
|
||||||
|
@ApiParam(value = "单据类型")
|
||||||
|
private String orderType;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam(value = "物料编码")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "PART_NAME")
|
||||||
|
@ApiParam(value = "物料名称")
|
||||||
|
private String partName;
|
||||||
|
|
||||||
|
@Column(name = "QTY")
|
||||||
|
@ApiParam(value = "数量", example = "1")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
}
|
@ -1,118 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.wms.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiParam;
|
|
||||||
import lombok.Data;
|
|
||||||
import org.hibernate.annotations.DynamicInsert;
|
|
||||||
import org.hibernate.annotations.DynamicUpdate;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description : 库存移动单明细信息
|
|
||||||
* @Reference :
|
|
||||||
* @Author : silliter.yuan
|
|
||||||
* @CreateDate : 2018-11-06 15:58
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
@Data
|
|
||||||
@Entity
|
|
||||||
@DynamicInsert
|
|
||||||
@DynamicUpdate
|
|
||||||
@Table(name="WMS_DOC_MOVEMENT_DETAILS")
|
|
||||||
@Api("库存移动单明细信息")
|
|
||||||
public class WmsMoveMentDetails extends BaseBean {
|
|
||||||
|
|
||||||
@Column(name="ORDER_NO")
|
|
||||||
@ApiParam("单号")
|
|
||||||
public String orderNo;
|
|
||||||
|
|
||||||
@Column(name="ITEM")
|
|
||||||
@ApiParam("行号")
|
|
||||||
public String item;
|
|
||||||
|
|
||||||
@Column(name="PART_NO")
|
|
||||||
@ApiParam("物料编码")
|
|
||||||
public String partNo;
|
|
||||||
|
|
||||||
@Column(name="PART_NAME_RDD")
|
|
||||||
@ApiParam("物料名称")
|
|
||||||
public String partNameRdd;
|
|
||||||
|
|
||||||
@Column(name="QTY")
|
|
||||||
@ApiParam(value = "需求数量", example = "0")
|
|
||||||
public Double qty;
|
|
||||||
|
|
||||||
@Column(name="UNIT")
|
|
||||||
@ApiParam("单位")
|
|
||||||
public String unit;
|
|
||||||
|
|
||||||
@Column(name="SRC_WH")
|
|
||||||
@ApiParam("发出库仓库")
|
|
||||||
public String srcWh;
|
|
||||||
|
|
||||||
@Column(name="DEST_WH")
|
|
||||||
@ApiParam("接收库仓库")
|
|
||||||
public String destWh;
|
|
||||||
|
|
||||||
@Column(name="PRINT_QTY")
|
|
||||||
@ApiParam("条码打印数量")
|
|
||||||
public String printQty;
|
|
||||||
|
|
||||||
@Column(name="FACT_QTY")
|
|
||||||
@ApiParam("操作完成数量")
|
|
||||||
public String factQty;
|
|
||||||
|
|
||||||
@Column(name="ZDATE")
|
|
||||||
@ApiParam("计划交货日期")
|
|
||||||
public String zDate;
|
|
||||||
|
|
||||||
@Column(name="ZTIME")
|
|
||||||
@ApiParam("计划交货时间")
|
|
||||||
public String zTime;
|
|
||||||
|
|
||||||
@Column(name="SRC_NO")
|
|
||||||
@ApiParam("源单号")
|
|
||||||
public String srcNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 状态:N=正常,C=行取消
|
|
||||||
*/
|
|
||||||
@Column(name="STATUS")
|
|
||||||
@ApiParam(value = "状态", example = "1")
|
|
||||||
public Integer status;
|
|
||||||
|
|
||||||
@Column(name="REMARK")
|
|
||||||
@ApiParam("备注")
|
|
||||||
public String reMark;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 是否免费:0=计费,1=免费
|
|
||||||
*/
|
|
||||||
@Column(name="IS_FREE")
|
|
||||||
@ApiParam(value = "是否免费", example = "1")
|
|
||||||
public Integer isFree;
|
|
||||||
|
|
||||||
@Column(name="PICK_QTY")
|
|
||||||
@ApiParam(value = "已配数量", example = "0")
|
|
||||||
public Double pickQty;
|
|
||||||
|
|
||||||
@Column(name="OUT_QTY")
|
|
||||||
@ApiParam(value = "已提交数量", example = "0")
|
|
||||||
public Double outQty;
|
|
||||||
|
|
||||||
@Column(name="INLINE_QTY")
|
|
||||||
@ApiParam(value = "已上线数量", example = "0")
|
|
||||||
public Double inLineQty;
|
|
||||||
|
|
||||||
@Column(name="REJECT_QTY")
|
|
||||||
@ApiParam(value = "退料数量", example = "0")
|
|
||||||
public Double rejectQty;
|
|
||||||
|
|
||||||
@Column(name="REJECT_POST_QTY")
|
|
||||||
@ApiParam(value = "退料提交数量", example = "0")
|
|
||||||
public Double rejectPostQty;
|
|
||||||
}
|
|
@ -1,99 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.wms.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiParam;
|
|
||||||
import lombok.Data;
|
|
||||||
import org.hibernate.annotations.DynamicInsert;
|
|
||||||
import org.hibernate.annotations.DynamicUpdate;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description : 库存移动单主表信息(用于转储类业务)
|
|
||||||
* @Reference :
|
|
||||||
* @Author : silliter.yuan
|
|
||||||
* @CreateDate : 2018-11-06 15:58
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
@Data
|
|
||||||
@Entity
|
|
||||||
@DynamicInsert
|
|
||||||
@DynamicUpdate
|
|
||||||
@Table(name="WMS_DOC_MOVEMENT_MASTER")
|
|
||||||
@Api("库存移动单主表信息")
|
|
||||||
public class WmsMoveMentMaster extends BaseBean {
|
|
||||||
|
|
||||||
@Column(name="ORDER_NO")
|
|
||||||
@ApiParam("单号")
|
|
||||||
public String orderNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 移动类型:IN=入库,OUT=出库,MOVE=移库
|
|
||||||
*/
|
|
||||||
@Column(name="MOVE_TYPE")
|
|
||||||
@ApiParam("移动类型")
|
|
||||||
public String moveType;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 业务类型:RC=收货,QC=质检,IN=入库,ZI=杂收,ZO=杂发,
|
|
||||||
* VJ=供应商退货,CJ=客户退货,WP=工单领料,WJ=工单退料,
|
|
||||||
* MI=移库入库,MO=移库出库,SO=发运
|
|
||||||
*/
|
|
||||||
@Column(name="TYPE")
|
|
||||||
@ApiParam("业务类型")
|
|
||||||
public String type;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 状态:0=新建,10=处理中
|
|
||||||
* ,20=已完成,90=已关闭,91=已取消
|
|
||||||
*/
|
|
||||||
@Column(name="STATUS")
|
|
||||||
@ApiParam(value = "状态", example = "0")
|
|
||||||
public Integer status;
|
|
||||||
|
|
||||||
@Column(name="CUSTOMER_NO")
|
|
||||||
@ApiParam("客户编号")
|
|
||||||
public String customerNo;
|
|
||||||
|
|
||||||
@Column(name="VENDOR_NO")
|
|
||||||
@ApiParam("供应商编号")
|
|
||||||
public String vendorNo;
|
|
||||||
|
|
||||||
@Column(name="VERSION")
|
|
||||||
@ApiParam("版本")
|
|
||||||
public String version;
|
|
||||||
|
|
||||||
@Column(name="SRC")
|
|
||||||
@ApiParam("单据来源")
|
|
||||||
public String src;
|
|
||||||
|
|
||||||
@Column(name="SRC_NO")
|
|
||||||
@ApiParam("关联单据")
|
|
||||||
public String srcNo;
|
|
||||||
|
|
||||||
@Column(name="ERP_ORDERNO")
|
|
||||||
@ApiParam("ERP单号")
|
|
||||||
public String erpOrderNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 单据类型:WO=工单配料
|
|
||||||
*/
|
|
||||||
@Column(name="ORDER_TYPE")
|
|
||||||
@ApiParam("单据类型")
|
|
||||||
public String orderType;
|
|
||||||
|
|
||||||
@Column(name="PART_NO")
|
|
||||||
@ApiParam("物料编码")
|
|
||||||
public String partNo;
|
|
||||||
|
|
||||||
@Column(name="PART_NAME_RDD")
|
|
||||||
@ApiParam("物料名称")
|
|
||||||
public String partNameRdd;
|
|
||||||
|
|
||||||
@Column(name="QTY")
|
|
||||||
@ApiParam(value = "需求数量", example = "0")
|
|
||||||
public Double qty;
|
|
||||||
}
|
|
@ -0,0 +1,54 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :物流路线分配实体
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2018-11-08 17:54
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_ROUTING_ASSIGN")
|
||||||
|
@Api("物流路线分配表")
|
||||||
|
public class WmsRoutingAssign extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "WH_NO")
|
||||||
|
@ApiParam(value = "仓库代码")
|
||||||
|
private String whNo;
|
||||||
|
|
||||||
|
@Column(name = "ZONE_NO")
|
||||||
|
@ApiParam(value = "存储区编号")
|
||||||
|
private String zoneNo;
|
||||||
|
|
||||||
|
@Column(name = "LOCATE_NO")
|
||||||
|
@ApiParam(value = "库位编号")
|
||||||
|
private String locateNo;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam(value = "物料编码")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "VENDOR_NO")
|
||||||
|
@ApiParam(value = "供应商编码")
|
||||||
|
private String vendorNo;
|
||||||
|
|
||||||
|
@Column(name = "ROUTING_CODE")
|
||||||
|
@ApiParam(value = "路线编码")
|
||||||
|
private String routingCode;
|
||||||
|
}
|
@ -0,0 +1,54 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :物流路线明细表实体
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2018-11-08 17:54
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_ROUTING_DETAIL")
|
||||||
|
@Api("物流路线明细表")
|
||||||
|
public class WmsRoutingDetail extends BaseBean {
|
||||||
|
@Column(name = "ROUTING_CODE")
|
||||||
|
@ApiParam(value = "路线编码")
|
||||||
|
private String routingCode;
|
||||||
|
|
||||||
|
@Column(name = "OP_STEP")
|
||||||
|
@ApiParam(value = "作业步骤")
|
||||||
|
private String opStep;
|
||||||
|
|
||||||
|
@Column(name = "OK_SEQ")
|
||||||
|
@ApiParam(value = "成功跳转序号", example = "1")
|
||||||
|
private Integer okSeq;
|
||||||
|
|
||||||
|
@Column(name = "NG_SEQ")
|
||||||
|
@ApiParam(value = "失败跳转序号", example = "1")
|
||||||
|
private Integer ngSeq;
|
||||||
|
|
||||||
|
@Column(name = "SEQ")
|
||||||
|
@ApiParam(value = "序号", example = "1")
|
||||||
|
private Integer seq;
|
||||||
|
|
||||||
|
@Column(name = "PARENT_SEQ")
|
||||||
|
@ApiParam(value = "上级步骤序号", example = "1")
|
||||||
|
private Integer parentSeq;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,41 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :物流路线主表实体
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2018-11-08 17:54
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_ROUTING_MASTER")
|
||||||
|
@Api("物流路线主表")
|
||||||
|
public class WmsRoutingMaster extends BaseBean {
|
||||||
|
@Column(name = "ROUTING_CODE")
|
||||||
|
@ApiParam(value = "路线编码")
|
||||||
|
private String routingCode;
|
||||||
|
|
||||||
|
@Column(name = "ROUTING_NAME")
|
||||||
|
@ApiParam(value = "路线名称")
|
||||||
|
private String routingName;
|
||||||
|
|
||||||
|
@Column(name = "SEQ")
|
||||||
|
@ApiParam(value = "序号", example = "1")
|
||||||
|
private Integer seq;
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsCheckFactRecord;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsIbCheckPlan;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 抽点记录表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2018-11-13 15:38
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface WmsCheckFactRecordRepository extends BaseRepository<WmsCheckFactRecord, Long> {
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsDocMovementDetails;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :库存移动单详情表的方法接口
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2018-11-13 10:19
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsDocMovementDetailsRepository extends BaseRepository<WmsDocMovementDetails, Long> {
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsDocMovementMaster;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :库存移动单主表的方法接口
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dragon.xu
|
||||||
|
* @CreateDate : 2018-11-13 10:19
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsDocMovementMasterRepository extends BaseRepository<WmsDocMovementMaster, Long> {
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue