从dev拉取最新代码
parent
eb1c89e5e6
commit
d8779f42fb
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description 拉动规则实体
|
||||
* @Author Jason
|
||||
* @Date 2020-03-20
|
||||
* @ModifyDate 2020-03-20
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PULL_RULE")
|
||||
@Api("拉动规则")
|
||||
public class WmsPullRule extends BaseBean {
|
||||
@Column(name = "PULL_WAY")
|
||||
@ApiParam(value = "拉动类型", example = "10")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "PULL_WAY_STATUS")
|
||||
private Integer pullWay;
|
||||
|
||||
@Column(name = "CONTAIN_UNFINISH_ORDER")
|
||||
@ApiParam(value = "考虑未完成的移库单", example = "0")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2, entityName = "TRUE_OR_FALSE")
|
||||
private Integer containUnfinishOrder;
|
||||
|
||||
@Column(name = "CONTAIN_EXIST_PERIOD")
|
||||
@ApiParam(value = "考虑现有库存", example = "0")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2, entityName = "TRUE_OR_FALSE")
|
||||
private Integer containExistStock;
|
||||
|
||||
@Column(name = "TAIL_QTY_MODE")
|
||||
@ApiParam(value = "尾数计算方式", example = "0")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, isRequire = 2, entityName = "TAIL_QTY_MODE")
|
||||
private Integer tailQtyMode;
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description
|
||||
* @author jason.niu
|
||||
* @date 2020/03/25
|
||||
*/
|
||||
@Data
|
||||
@Api("外部拉动单模型")
|
||||
public class WmsPullOrderModel {
|
||||
|
||||
@ApiParam("工厂代码")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiParam("车间")
|
||||
private String workShopCode;
|
||||
|
||||
@ApiParam("产线")
|
||||
private String lineNo;
|
||||
|
||||
@ApiParam("库位")
|
||||
private String locateNo;
|
||||
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("供应商")
|
||||
private String vendorNo;
|
||||
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@ApiParam("业务类型")
|
||||
private Integer busiType;
|
||||
}
|
@ -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.WmsPullRule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :拉动规则Repository的方法接口
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-03-23 15:38
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPullRuleRepository extends BaseRepository<WmsPullRule, Long> {
|
||||
}
|
Loading…
Reference in New Issue