Merge remote-tracking branch 'remotes/origin/test'

yun-zuoyi
曾贞一 6 years ago
commit ae12af551b

@ -1,7 +1,5 @@
package cn.estsh.i3plus.pojo.base.annotation; package cn.estsh.i3plus.pojo.base.annotation;
import cn.estsh.i3plus.pojo.base.enumutil.ImppEnumUtil;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;

@ -897,5 +897,39 @@ public class MesEnumUtil {
} }
} }
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum COMPANY_TYPE {
PREFIX("prefix", "前缀"),
PART_NO("partNo", "物料号"),
CUST_PART_NO("custPartNo", "客户物料号"),
CUST_CODE("custCode", "客户代码"),
PROD_LOCATION("prodLocation", "产地"),
YEAR("year", "年"),
MOTH("month", "月"),
DAY("day", "日"),
HOUR("hour", "小时"),
MINUTE("minute", "分钟"),
SECOND("second", "秒"),
SERIAL("serialNo", "序列号");
private String value;
private String description;
COMPANY_TYPE(String value, String description) {
this.value = value;
this.description = description;
}
public String getValue() {
return value;
}
public String getDescription() {
return description;
}
}
} }

@ -10,6 +10,44 @@ import com.fasterxml.jackson.annotation.JsonFormat;
* @Modify: * @Modify:
**/ **/
public class MesPcnEnumUtil { public class MesPcnEnumUtil {
/**
* mes-pcn
* 10.
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_PCN_TASK_SYNC_STATUS{
SUCCESS(1,"mes主服务定时任务工作清单同步成功"),
ERROR(2,"mes主服务定时任务工作清单同步失败");
private int value;
private String description;
MES_PCN_TASK_SYNC_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/** /**
* PCNMES * PCNMES
* 10. * 10.
@ -119,4 +157,42 @@ public class MesPcnEnumUtil {
} }
} }
/**
* MesProduceSnprintStatus
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PRODUCE_SN_PRINT_STATUS {
CREATE(10, "创建"),
ONLINE(20, "上线打印"),
OFFLINE(30, "下线打印");
private int value;
private String description;
PRODUCE_SN_PRINT_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
} }

@ -82,4 +82,73 @@ public class SoftSwitchEnumUtil {
} }
} }
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum VERIFICATION_METHOD{
LOGIN(1,"登录");
private int value;
private String description;
VERIFICATION_METHOD(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum KEY_TYPE{
ACCOUNT_PASSWORD(1,"账号密码");
private int value;
private String description;
KEY_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
//keyTypeId
} }

@ -1139,8 +1139,7 @@ public class WmsEnumUtil {
CREATE(10, "创建"), CREATE(10, "创建"),
BE_HANDLE(20, "待处理"), BE_HANDLE(20, "待处理"),
FINISH(30, "已处理"), FINISH(30, "已处理"),
HANDLE_ERROR(40, "处理出错"), HANDLE_ERROR(40, "处理出错");
TEST(50, "调试");
private int value; private int value;
private String description; private String description;

@ -531,4 +531,5 @@ public class DdlPreparedPack {
} }
return name; return name;
} }
} }

@ -38,7 +38,7 @@ public class MesNumberRule extends BaseBean {
@Column(name = "PREFIX") @Column(name = "PREFIX")
@ApiParam("前缀") @ApiParam("前缀")
private Integer prefix; private String prefix;
@Column(name = "NUMBER_RULE") @Column(name = "NUMBER_RULE")
@ApiParam("编码规则") @ApiParam("编码规则")

@ -0,0 +1,51 @@
package cn.estsh.i3plus.pojo.mes.pcn.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 :mes-pcn
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-08-27
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="MES_PCN_TASK_LOG")
@Api("mes-pcn定时任务工作清单同步记录")
public class MesPcnTaskLog extends BaseBean {
@Column(name="SYNC_TIME_START")
@ApiParam("同步数据开始时间")
private String syncTimeStart;
@Column(name="SYNC_TIME_END")
@ApiParam("同步数据截止时间")
private String syncTimeEnd;
@Column(name="SYNC_STATUS")
@ApiParam("同步状态")
private Integer syncStatus;
@Column(name="ERROR_CONTENT")
@ApiParam("异常内容")
private String errorContent;
public int getSyncStatusVal() {
return this.syncStatus == null ? 0 : this.syncStatus;
}
}

@ -0,0 +1,22 @@
package cn.estsh.i3plus.pojo.mes.pcn.model;
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesProduceSn;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
/**
* @Description:
* @Reference:
* @Author: Crish
* @CreateDate:2019-08-27-13:24
* @Modify:
**/
@Data
@Api("过程条码打印信息模板")
public class StepPrintSnModel extends MesProduceSn {
@ApiParam("打印描述")
private String printDesc;
}

@ -0,0 +1,16 @@
package cn.estsh.i3plus.pojo.mes.pcn.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesPcnTaskLog;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-08-27
* @Modify:
**/
@Repository
public interface MesPcnTaskLogRepository extends BaseRepository<MesPcnTaskLog, Long> {
}

@ -0,0 +1,16 @@
package cn.estsh.i3plus.pojo.mes.pcn.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesPcnTask;
import org.springframework.stereotype.Repository;
/**
* @Description :mes-pcn
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-08-26
* @Modify:
**/
@Repository
public interface MesPcnTaskRepository extends BaseRepository<MesPcnTask, Long> {
}

@ -10,7 +10,7 @@ import lombok.NoArgsConstructor;
/** /**
* @Author: Wynne.Lu * @Author: Wynne.Lu
* @CreateDate: 2019/8/19 7:00 PM * @CreateDate: 2019/8/19 7:00 PM
* @Description: * @Description: mesmodel -> Esop
**/ **/
@Data @Data

@ -0,0 +1,70 @@
package cn.estsh.i3plus.pojo.mes.model;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.mes.bean.MesNumberRule;
import cn.estsh.i3plus.pojo.mes.bean.MesNumberSerialno;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
/**
* @Author: Wynne.Lu
* @CreateDate: 2019/8/23 11:42 AM
* @Description:
**/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Api("生成条码模型")
public class GenSerialNoModel extends BaseBean {
@ApiParam("规则代码")
private String ruleCode;
@ApiParam("规则描述")
private String ruleDesc;
@ApiParam("物料号")
private String partNo;
@ApiParam("客户物料号")
private String custPartNo;
@ApiParam("客户代码")
private String custCode;
@ApiParam("产地")
private String prodLocation;
@ApiParam("前缀")
private Integer prefix;
@ApiParam("编码规则")
private String numberRule;
@ApiParam("序号长度")
private Integer serialnoLength;
@ApiParam("增量")
private Integer serialnoIncrement;
@ApiParam("最大值后循环")
private Integer isCycle;
@ApiParam("当前编号前缀")
private String currentNumberPrefix;
@ApiParam("当前序号")
private Integer currentSerialno;
@ApiParam("当前编号")
private String currentNumber;
}

@ -16,7 +16,4 @@ import java.util.List;
@Repository @Repository
public interface MesMethodRepository extends BaseRepository<MesMethod, Long> { public interface MesMethodRepository extends BaseRepository<MesMethod, Long> {
List<MesMethod> findByMethodCodeAndIsValidAndIsDeleted(String methodCode, Integer isValid, Integer isDeleted);
List<MesMethod> findByOrganizeCodeAndIsDeleted(String organizeCode, int value);
} }

@ -1,16 +1,14 @@
package cn.estsh.i3plus.pojo.mes.repository; package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesNumberRule; import cn.estsh.i3plus.pojo.mes.bean.MesNumberRule;
import cn.estsh.i3plus.pojo.mes.bean.MesPart;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
* @Description : * @Author: Wynne.Lu
* @Reference : * @CreateDate: 2019/8/23 1:22 PM
* @Author : wangjie * @Description:
* @CreateDate : 2019-08-23
* @Modify:
**/ **/
@Repository @Repository
public interface MesNumberRuleRepository extends BaseRepository<MesNumberRule, Long> { public interface MesNumberRuleRepository extends BaseRepository<MesNumberRule, Long> {

@ -0,0 +1,16 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesNumberSerialno;
import org.springframework.stereotype.Repository;
/**
* @Author: Wynne.Lu
* @CreateDate: 2019/8/23 1:23 PM
* @Description:
**/
@Repository
public interface MesNumberSerialnoRepository extends BaseRepository<MesNumberSerialno, Long> {
}

@ -234,6 +234,14 @@ public class MesHqlPack {
return packBean; return packBean;
} }
public static DdlPackBean getAllBaseDataByNormalPro(String organizeCode) {
DdlPackBean packBean = new DdlPackBean();
DdlPreparedPack.getStringEqualPack(organizeCode, "organizeCode", packBean);
DdlPreparedPack.getNumEqualPack(CommonEnumUtil.IS_VAILD.VAILD.getValue(), "isValid", packBean);
DdlPreparedPack.getNumEqualPack(CommonEnumUtil.IS_DEAL.NO.getValue(), "isDeleted", packBean);
return packBean;
}
/** /**
* MES * MES
* *
@ -445,6 +453,19 @@ public class MesHqlPack {
* @param mesESOP * @param mesESOP
* @return * @return
*/ */
public static DdlPackBean getMesESOPExcludeById(MesESOP mesESOP, String org) {
DdlPackBean packBean = getAllBaseDataByNormalPro(org);
DdlPreparedPack.getStringEqualPack(mesESOP.getPartNo(), "partNo", packBean);
DdlPreparedPack.getStringEqualPack(mesESOP.getRouteCode(), "routeCode", packBean);
DdlPreparedPack.getStringEqualPack(mesESOP.getProcessCode(), "processCode", packBean);
DdlPreparedPack.getStringEqualPack(mesESOP.getStepCode(), "stepCode", packBean);
DdlPreparedPack.getNumEqualPack(mesESOP.getStepSeq(), "stepSeq", packBean);
DdlPreparedPack.getStringEqualPack(mesESOP.getWorkCenterCode(), "workCenterCode", packBean);
DdlPreparedPack.getStringEqualPack(mesESOP.getWorkCellCode(), "workCellCode", packBean);
DdlPreparedPack.getNumNOEqualPack(mesESOP.getId(), "id", packBean);
return packBean;
}
public static DdlPackBean getMesESOP(MesESOP mesESOP, String organizeCode) { public static DdlPackBean getMesESOP(MesESOP mesESOP, String organizeCode) {
DdlPackBean packBean = getAllBaseDataByNormalPro(mesESOP, organizeCode); DdlPackBean packBean = getAllBaseDataByNormalPro(mesESOP, organizeCode);
if (StringUtils.isNotEmpty(mesESOP.getWorkCenterCode())) { if (StringUtils.isNotEmpty(mesESOP.getWorkCenterCode())) {
@ -834,9 +855,19 @@ public class MesHqlPack {
/** /**
* MES * MES
* *
* @param prodCfg * @param
* @return * @return
*/ */
public static DdlPackBean getMesProdCfgExcludeById(MesProdRouteCfg mesProdRouteCfg, String org) {
DdlPackBean packBean = getAllBaseDataByNormalPro(org);
DdlPreparedPack.getStringEqualPack(mesProdRouteCfg.getPartNo(), "partNo", packBean);
DdlPreparedPack.getStringEqualPack(mesProdRouteCfg.getRouteCode(), "routeCode", packBean);
DdlPreparedPack.getStringEqualPack(mesProdRouteCfg.getWorkCenterCode(), "workCenterCode", packBean);
DdlPreparedPack.getNumNOEqualPack(mesProdRouteCfg.getId(), "id", packBean);
return packBean;
}
public static DdlPackBean getMesProdCfg(MesProdCfg prodCfg, String organizeCode) { public static DdlPackBean getMesProdCfg(MesProdCfg prodCfg, String organizeCode) {
DdlPackBean packBean = getAllBaseDataByNormalPro(prodCfg, organizeCode); DdlPackBean packBean = getAllBaseDataByNormalPro(prodCfg, organizeCode);
if (StringUtils.isNotEmpty(prodCfg.getProdCfgCode())) { if (StringUtils.isNotEmpty(prodCfg.getProdCfgCode())) {

@ -48,7 +48,7 @@ public class SuitCoreModel {
private String suitCaseStatusCode; private String suitCaseStatusCode;
/** /**
* *
*/ */
private BsSslKey sslKey; private BsSslKey sslKey;
@ -88,7 +88,7 @@ public class SuitCoreModel {
/** /**
* *
* @param requestSource * @param requestSource
* @param sslKey * @param sslKey
* @param bsSuitCase * @param bsSuitCase
*/ */
public SuitCoreModel(Integer requestSource,BsSslKey sslKey, BsSuitCase bsSuitCase) { public SuitCoreModel(Integer requestSource,BsSslKey sslKey, BsSuitCase bsSuitCase) {

@ -1,5 +1,7 @@
package cn.estsh.i3plus.pojo.wms.bean; package cn.estsh.i3plus.pojo.model.wms;
import cn.estsh.i3plus.pojo.wms.bean.WmsOptionModel;
import cn.estsh.i3plus.pojo.wms.bean.WmsTransType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
@ -43,19 +45,7 @@ public class WmsActionResponseBean<Obj> implements Serializable {
public String message; public String message;
@ApiParam("列表信息") @ApiParam("列表信息")
public List<String> informations; public List<WmsMessageStyleModel> informations;
public List<String> getInformations(){
if(informations == null){
informations= new ArrayList<>();
}
return informations;
}
public void setInformation(List<String> list){
if(list == null){
list = new ArrayList<>();
}
informations = list;
}
@ApiParam("可选项") @ApiParam("可选项")
public List<WmsOptionModel> options; public List<WmsOptionModel> options;
@ -88,50 +78,42 @@ public class WmsActionResponseBean<Obj> implements Serializable {
*/ */
@ApiParam(value = "是否需要选择单号") @ApiParam(value = "是否需要选择单号")
public Boolean toSelected = false; public Boolean toSelected = false;
/**
* truetrue
*/
@ApiParam(value = "按钮是否禁用")
public Boolean isBtnDisabled = true;
/**
* truetrue
*/
@ApiParam(value = "按钮是否禁用")
public Boolean isDetailsBtnDisabled = true;
/** /**
* truetrue * toSelected 使
* keyColumn
*/ */
@ApiParam(value = "按钮是否禁用") @ApiParam(value = "关键字段列名")
public Boolean isCommitBtnDisabled = true; public String keyColumn;
/** /**
* truetrue * truetrue
*/ */
@ApiParam(value = "输入框是否禁用") @ApiParam(value = "输入框是否禁用")
public Boolean isInputBtnDisabled = false; public Boolean isInputBtnDisabled = false;
/**
* toSelected 使
* keyColumn
*/
@ApiParam(value = "关键字段列名")
public String keyColumn;
@ApiParam(value = "是否完成流程操作")
public Boolean isComplete = false;
@ApiParam(value = "交易类型信息") @ApiParam(value = "交易类型信息")
public WmsTransType wmsTransType; public WmsTransType wmsTransType;
@ApiParam(value = "是否自动开窗")
public Boolean isAutoOpenWindow = false;
@ApiParam(value = "正则校验")
private String regularCheck;
@ApiParam(value = "正则校验失败提示")
private String regularCheckFailMsg;
@ApiParam(value = "搜索KEY")
public String searchKey;
@ApiParam(value = "分组KEY")
public String groupKey;
public WmsActionResponseBean(Boolean codeStatus, String message) { public WmsActionResponseBean(Boolean codeStatus, String message) {
this.codeStatus = codeStatus; this.codeStatus = codeStatus;
this.message = message; this.message = message;
} }
public WmsActionResponseBean(String percent, String message, List<String> informations, Obj details, Boolean codeStatus, Map<String, Obj> barCode) { public WmsActionResponseBean(String percent, String message, List<WmsMessageStyleModel> informations, Obj details, Boolean codeStatus, Map<String, Obj> barCode) {
this.percent = percent; this.percent = percent;
this.message = message; this.message = message;
this.informations = informations; this.informations = informations;
@ -140,7 +122,7 @@ public class WmsActionResponseBean<Obj> implements Serializable {
this.barCode = barCode; this.barCode = barCode;
} }
public WmsActionResponseBean(String percent, String message, List<String> informations, Obj details, Boolean codeStatus) { public WmsActionResponseBean(String percent, String message, List<WmsMessageStyleModel> informations, Obj details, Boolean codeStatus) {
this.percent = percent; this.percent = percent;
this.message = message; this.message = message;
this.informations = informations; this.informations = informations;
@ -148,8 +130,7 @@ public class WmsActionResponseBean<Obj> implements Serializable {
this.codeStatus = codeStatus; this.codeStatus = codeStatus;
} }
public WmsActionResponseBean(String percent, String message, List<String> informations, Obj details, Boolean codeStatus, Boolean isBtnDisabled) { public WmsActionResponseBean(String percent, String message, List<WmsMessageStyleModel> informations, Obj details, Boolean codeStatus, Boolean isBtnDisabled) {
this.isBtnDisabled = isBtnDisabled;
this.percent = percent; this.percent = percent;
this.message = message; this.message = message;
this.informations = informations; this.informations = informations;

@ -0,0 +1,43 @@
package cn.estsh.i3plus.pojo.model.wms;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
/**
* @Description
* @Reference
* @Author dragon
* @CreateDate 2019/8/26 10:36
* @Modify
*/
@Data
public class WmsMessageStyleModel implements Serializable {
private static final long serialVersionUID = -810847996371452831L;
@ApiParam("任务状态")
public Integer taskStatus;
@ApiParam("单据明细状态")
public Integer odStatus;
@ApiParam("消息")
public String message;
@ApiParam("前景色")
public String foregroundColor;
@ApiParam("背景色")
public String backgroundColor;
@ApiParam("是否粗体")
public boolean isBold;
@ApiParam("是否斜体")
public boolean isItalics;
@ApiParam("字号")
public Integer fontSize;
public WmsMessageStyleModel() {
}
public WmsMessageStyleModel(String message) {
this.message = message;
}
}

@ -53,6 +53,9 @@ public class WmsTaskInfoModel implements Serializable {
@ApiParam(value = "供应商编号") @ApiParam(value = "供应商编号")
private String vendorNo; private String vendorNo;
@ApiParam(value = "样式")
private WmsMessageStyleModel wmsMessageStyleModel;
public WmsTaskInfoModel() { public WmsTaskInfoModel() {
} }

@ -48,6 +48,12 @@ public class SessionUser implements Serializable {
@ApiParam("用户对象信息") @ApiParam("用户对象信息")
private SysUserInfo userInfo; private SysUserInfo userInfo;
@ApiParam("列表默认分页数量配置")
private Integer[] pageSizeArray;
@ApiParam("列表默认分页数量")
private Integer pageDefaultSize;
public SessionUser() { public SessionUser() {
} }

@ -132,4 +132,11 @@ public class SysTaskPlan extends BaseBean {
@Column(name = "NOTICE_CHANNEL") @Column(name = "NOTICE_CHANNEL")
@ApiParam(value = "通知渠道") @ApiParam(value = "通知渠道")
private String noticeChannel; private String noticeChannel;
public int getTaskPlanStatusVal() {
if(taskPlanStatus != null){
return taskPlanStatus.intValue();
}
return taskPlanStatus;
}
} }

@ -64,7 +64,7 @@ public class BsParamAdapter extends BaseBean {
private String transferParamName; private String transferParamName;
@Column(name = "TRANSFER_PARAM_VAL_TYPE_ID") @Column(name = "TRANSFER_PARAM_VAL_TYPE_ID")
@ApiParam(value = "转换参数类型") @ApiParam(value = "转换参数类型")
private Integer transferParamValTypeId; private Integer transferParamValTypeId;
} }

@ -17,7 +17,7 @@ import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
* @Description : * @Description :
* @Reference : * @Reference :
* @Author : yunhao * @Author : yunhao
* @CreateDate : 2019-08-13 9:21 * @CreateDate : 2019-08-13 9:21
@ -29,9 +29,13 @@ import java.util.List;
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name = "BS_SSL_KEY") @Table(name = "BS_SSL_KEY")
@Api(value = "安全证书", description = "安全证书") @Api(value = "适配认证", description = "适配认证")
public class BsSslKey extends BaseBean { public class BsSslKey extends BaseBean {
@Column(name = "KEY_NAME")
@ApiParam(value = "证书名称")
private String keyName;
@Column(name = "VERIFICATION_METHOD_ID") @Column(name = "VERIFICATION_METHOD_ID")
@ApiParam(value = "认证方式(枚举)") @ApiParam(value = "认证方式(枚举)")
private Integer verificationMethodId; private Integer verificationMethodId;
@ -40,13 +44,9 @@ public class BsSslKey extends BaseBean {
@ApiParam(value = "认证url") @ApiParam(value = "认证url")
private String verificationUrl; private String verificationUrl;
@Column(name = "KEY_TYPE") @Column(name = "KEY_TYPE_ID")
@ApiParam(value = "证书类型枚举") @ApiParam(value = "证书类型枚举")
private Integer keyType; private Integer keyTypeId;
@Column(name = "KEY_NAME")
@ApiParam(value = "证书名称")
private String keyName;
@Column(name = "KEY_FILE_ID") @Column(name = "KEY_FILE_ID")
@ApiParam(value = "证书文件id") @ApiParam(value = "证书文件id")

@ -16,7 +16,7 @@ import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
/** /**
* @Description : * @Description :
* @Reference : * @Reference :
* @Author : yunhao * @Author : yunhao
* @CreateDate : 2019-08-13 9:21 * @CreateDate : 2019-08-13 9:21
@ -28,7 +28,7 @@ import javax.persistence.Table;
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name = "BS_SSL_KEY_PARAM") @Table(name = "BS_SSL_KEY_PARAM")
@Api(value = "安全证书参数", description = "安全证书参数") @Api(value = "适配认证参数", description = "适配认证参数")
@XStreamAlias("BsSslKeyParam") @XStreamAlias("BsSslKeyParam")
public class BsSslKeyParam extends BaseBean { public class BsSslKeyParam extends BaseBean {
@ -45,4 +45,8 @@ public class BsSslKeyParam extends BaseBean {
@ApiParam(value = "参数值") @ApiParam(value = "参数值")
private String paramValue; private String paramValue;
@Column(name = "PARAM_DESCRIPTION")
@ApiParam(value = "参数描述")
private String paramDescription;
} }

@ -95,9 +95,13 @@ public class BsSuitCase extends BaseBean {
private Integer failNum; private Integer failNum;
@Column(name = "SUIT_CASE_DESCRIPTION") @Column(name = "SUIT_CASE_DESCRIPTION")
@ApiParam(value = "适配类型描述") @ApiParam(value = "适配描述")
private String suitCaseDescription; private String suitCaseDescription;
@Column(name = "SUIT_CASE_STATUS")
@ApiParam(value = "适配器状态")
private Integer suitCaseStatus;
@Transient @Transient
@ApiParam(value = "适配器参数") @ApiParam(value = "适配器参数")
List<BsSuitCaseParam> bsSuitCaseParamList; List<BsSuitCaseParam> bsSuitCaseParamList;

@ -59,6 +59,10 @@ public class BsSuitRecord extends BaseBean {
@ApiParam(value = "适配方式id枚举") @ApiParam(value = "适配方式id枚举")
private Integer suitMethodId; private Integer suitMethodId;
@Column(name = "SUIT_METHOD_NAME_RDD")
@ApiParam(value = "适配方式名称枚举")
private Integer suitMethodNameRdd;
@Column(name = "SUIT_TYPE_ID") @Column(name = "SUIT_TYPE_ID")
@ApiParam(value = "适配类型id") @ApiParam(value = "适配类型id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)

@ -25,7 +25,7 @@ import javax.persistence.Table;
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Table(name = "SUIT_RECORD_PARAM") @Table(name = "SUIT_RECORD_PARAM")
@Api(value = "适配记录参数", description = "适配记录参数") @Api(value = "适配记录参数", description = "适配记录参数")
public class SuitRecordParam extends BaseBean { public class BsSuitRecordParam extends BaseBean {
@Column(name = "SUIT_RECORD_ID") @Column(name = "SUIT_RECORD_ID")
@ApiParam(value = "适配记录id") @ApiParam(value = "适配记录id")

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.softswitch.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.softswitch.bean.BsSslKeyParam;
/**
* @Description :
* @Reference :
* @Author : yunhao
* @CreateDate : 2019-08-21 17:47
* @Modify:
**/
public interface BsSslKeyParamRepository extends BaseRepository<BsSslKeyParam, Long> {
}

@ -5,7 +5,7 @@ import cn.estsh.i3plus.pojo.softswitch.bean.BsSslKey;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
* @Description : * @Description :
* @Reference : * @Reference :
* @Author : yunhao * @Author : yunhao
* @CreateDate : 2019-08-13 9:21 * @CreateDate : 2019-08-13 9:21

@ -1,7 +1,7 @@
package cn.estsh.i3plus.pojo.softswitch.repository; package cn.estsh.i3plus.pojo.softswitch.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.softswitch.bean.SuitRecordParam; import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitRecordParam;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
@ -12,7 +12,7 @@ import org.springframework.stereotype.Repository;
* @Modify: * @Modify:
*/ */
@Repository @Repository
public interface SuitRecordParamRepository extends BaseRepository<SuitRecordParam,Long> { public interface BsSuitRecordParamRepository extends BaseRepository<BsSuitRecordParam,Long> {
} }

@ -177,7 +177,7 @@ public class SoftSwitchHqlPack {
} }
/** /**
* *
* @param bsSslKey * @param bsSslKey
* @return * @return
*/ */
@ -185,7 +185,7 @@ public class SoftSwitchHqlPack {
DdlPackBean ddlPackBean = new DdlPackBean(); DdlPackBean ddlPackBean = new DdlPackBean();
DdlPreparedPack.getStringEqualPack(bsSslKey.getKeyName(),"keyName",ddlPackBean); DdlPreparedPack.getStringEqualPack(bsSslKey.getKeyName(),"keyName",ddlPackBean);
DdlPreparedPack.getNumEqualPack(bsSslKey.getKeyType(),"keyType",ddlPackBean); DdlPreparedPack.getNumEqualPack(bsSslKey.getKeyTypeId(),"keyTypeId",ddlPackBean);
ddlPackBean.setOrderByStr(bsSslKey.orderBy()); ddlPackBean.setOrderByStr(bsSslKey.orderBy());
@ -193,7 +193,7 @@ public class SoftSwitchHqlPack {
} }
/** /**
* *
* @param bsSslKey * @param bsSslKey
* @return * @return
*/ */
@ -206,4 +206,66 @@ public class SoftSwitchHqlPack {
return ddlPackBean; return ddlPackBean;
} }
/**
*
* @param bsSslKeyParam
* @return
*/
public static DdlPackBean packHqlBsSslKeyParam(BsSslKeyParam bsSslKeyParam){
DdlPackBean ddlPackBean = new DdlPackBean();
DdlPreparedPack.getNumEqualPack(bsSslKeyParam.getSslKeyId(), "sslKeyId", ddlPackBean);
DdlPreparedPack.getStringLikerPack(bsSslKeyParam.getParamName(), "paramName", ddlPackBean);
ddlPackBean.setOrderByStr(bsSslKeyParam.orderBy());
return ddlPackBean;
}
/**
*
* @param bsSslKeyParam
* @return
*/
public static DdlPackBean packHqlCheckBsSslKeyParamOnly(BsSslKeyParam bsSslKeyParam){
DdlPackBean ddlPackBean = new DdlPackBean();
DdlPreparedPack.getNumEqualPack(bsSslKeyParam.getSslKeyId(), "sslKeyId", ddlPackBean);
DdlPreparedPack.getStringEqualPack(bsSslKeyParam.getParamName(), "paramName", ddlPackBean);
return ddlPackBean;
}
/**
*
* @param bsDataSource
* @return
*/
public static DdlPackBean packHqlBsDataSource(BsDataSource bsDataSource){
DdlPackBean ddlPackBean = new DdlPackBean();
DdlPreparedPack.getStringLikerPack(bsDataSource.getDataSourceName(), "dataSourceName", ddlPackBean);
DdlPreparedPack.getStringLikerPack(bsDataSource.getDataSourceCode(), "dataSourceCode", ddlPackBean);
DdlPreparedPack.getNumEqualPack(bsDataSource.getDataSourceTypeId(), "dataSourceTypeId", ddlPackBean);
DdlPreparedPack.getNumEqualPack(bsDataSource.getIsValid(), "isValid", ddlPackBean);
ddlPackBean.setOrderByStr(bsDataSource.orderBy());
return ddlPackBean;
}
/**
*
* @param bsDataSource
* @return
*/
public static DdlPackBean packHqlCheckBsDataSourceOnly(BsDataSource bsDataSource){
DdlPackBean ddlPackBean = new DdlPackBean();
DdlPreparedPack.getNumEqualPack(bsDataSource.getId(), "id", ddlPackBean);
DdlPreparedPack.getStringLikerPack(bsDataSource.getDataSourceCode(), "dataSourceCode", ddlPackBean);
return ddlPackBean;
}
} }

@ -61,6 +61,14 @@ public class WmsActionGroupDetails extends BaseBean {
@ApiParam(value = "长度检查", example = "0") @ApiParam(value = "长度检查", example = "0")
private Integer lenCheck; private Integer lenCheck;
@Column(name = "REGULAR_CHECK")
@ApiParam(value = "正则校验")
private String regularCheck;
@Column(name = "REGULAR_CHECK_FAIL_MSG")
@ApiParam(value = "正则校验失败提示")
private String regularCheckFailMsg;
@Column(name = "AS_ID") @Column(name = "AS_ID")
@ApiParam(value = "作业步骤", example = "0") @ApiParam(value = "作业步骤", example = "0")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@ -100,6 +108,16 @@ public class WmsActionGroupDetails extends BaseBean {
@ApiParam(value = "是否可提交", example = "2") @ApiParam(value = "是否可提交", example = "2")
private Integer isCommitAble; private Integer isCommitAble;
@Column(name = "IS_AUTO_OPEN_WINDOW")
@ApiParam(value = "是否自动开窗", example = "2")
private Integer isAutoOpenWindow;
@ApiParam(value = "搜索KEY")
public String searchKey;
@ApiParam(value = "分组KEY")
public String groupKey;
public int getSeqVal() { public int getSeqVal() {
return this.seq == null ? 0 : this.seq; return this.seq == null ? 0 : this.seq;
} }
@ -112,10 +130,6 @@ public class WmsActionGroupDetails extends BaseBean {
return this.okSeq == null ? 0 : this.okSeq; return this.okSeq == null ? 0 : this.okSeq;
} }
public int getPreShowVal() {
return this.preShow == null ? 0 : this.preShow;
}
public long getShowAmIdVal() { public long getShowAmIdVal() {
return this.showAmId == null ? 0 : this.showAmId; return this.showAmId == null ? 0 : this.showAmId;
} }
@ -124,6 +138,10 @@ public class WmsActionGroupDetails extends BaseBean {
return this.isCommitAble == null ? 0 : this.isCommitAble; return this.isCommitAble == null ? 0 : this.isCommitAble;
} }
public int getIsAutoOpenWindowVal() {
return this.isAutoOpenWindow == null ? 0 : this.isAutoOpenWindow;
}
public int getValueTypeVal() { public int getValueTypeVal() {
return this.valueType == null ? 0 : this.valueType; return this.valueType == null ? 0 : this.valueType;
} }

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -96,6 +97,11 @@ public class WmsLocate extends BaseBean {
@ApiParam(value = "零件数", example = "-1") @ApiParam(value = "零件数", example = "-1")
private Double partQty; private Double partQty;
// 导入用
@ApiParam(value = "工厂")
@Transient
private String factory;
public Integer getMaxPackageQty() { public Integer getMaxPackageQty() {
return this.maxPackageQty == null ? 0 : this.maxPackageQty.intValue(); return this.maxPackageQty == null ? 0 : this.maxPackageQty.intValue();
} }

@ -211,7 +211,7 @@ public class WmsMoveSn extends BaseBean {
} }
public WmsMoveSn( String organizeCode,String orderNo,Integer item,String partNo,String partNameRdd, public WmsMoveSn( String organizeCode,String orderNo,Integer item,String partNo,String partNameRdd,
String transTypeCode,String transTypeName,Integer itemStatus,String unit, String srcLocateNo,String destLocateNo,Double srcQty,Double destQty,Integer srcQcStatus,Integer descQcStatus,Integer srcSnStatus, String transTypeCode,String transTypeName,Integer itemStatus,String unit, String srcLocateNo,String destLocateNo,Double srcQty,Double destQty,Integer srcQcStatus,Integer descQcStatus,Integer srcSnStatus,
Integer destSnStatus, String lotNo,String dateCode,String refSrc,String destZoneNo,String destWhNo,Integer busiTypeCode){ Integer destSnStatus, String lotNo,String dateCode,String refSrc,String destZoneNo,String destWhNo,Integer busiTypeCode,String sn){
this.organizeCode=organizeCode; this.organizeCode=organizeCode;
this.orderNo=orderNo; this.orderNo=orderNo;
this.item=item; this.item=item;
@ -236,5 +236,6 @@ public class WmsMoveSn extends BaseBean {
this.destZoneNo = destZoneNo; this.destZoneNo = destZoneNo;
this.destWhNo =destWhNo; this.destWhNo =destWhNo;
this.busiTypeCode = busiTypeCode; this.busiTypeCode = busiTypeCode;
this.sn = sn;
} }
} }

Loading…
Cancel
Save