From af863ec5a1333b3a07de21137ecd39f776ac0547 Mon Sep 17 00:00:00 2001 From: "jessica.chen" Date: Tue, 4 Dec 2018 13:53:49 +0800 Subject: [PATCH 01/24] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=B4=A8=E6=A3=80?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java index 010ac3e..2696427 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java @@ -1231,7 +1231,7 @@ public class WmsEnumUtil { */ @JsonFormat(shape = JsonFormat.Shape.OBJECT) public enum QC_INFO_TYPE { - FEED(1, "进料检验"), ONLINE(10, "在线检验"), EMDPRODUCT(30, "成品检验,"), SHIPMENTS(40, "出货检验,"); + FEED(1, "进料检验"), ONLINE(10, "在线检验"), EMDPRODUCT(30, "成品检验"), SHIPMENTS(40, "出货检验"); private int value; private String description; @@ -1267,9 +1267,9 @@ public class WmsEnumUtil { public enum QC_INFO_STATUS { CREATE(1, "新建"), FINISH(5, "待处理"), - FAIL(10, "已完成,"), - CLOSE(90, "已关闭,"), - CANCEL(91, "已取消,"); + FAIL(10, "已完成"), + CLOSE(90, "已关闭"), + CANCEL(91, "已取消"); private int value; private String description; From 800c77cf1d6f9fc40339dbdf6126b234e5030971 Mon Sep 17 00:00:00 2001 From: Silliter Date: Tue, 4 Dec 2018 15:09:31 +0800 Subject: [PATCH 02/24] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/base/enumutil/WmsEnumUtil.java | 33 ++++++++++++++++++++++ .../i3plus/pojo/wms/bean/WmsActionStepCall.java | 4 +++ 2 files changed, 37 insertions(+) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java index 010ac3e..3001219 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java @@ -1769,4 +1769,37 @@ public class WmsEnumUtil { } } + /** + * 成功标志枚举 + */ + @JsonFormat(shape = JsonFormat.Shape.OBJECT) + public enum RC_OK_VALUE { + + IS_TRUE(10, true, "成功"), + IS_FALSE(20, false, "失败"); + + private int value; + private boolean codeValue; + private String description; + + RC_OK_VALUE(int value, boolean codeValue, String description) { + this.value = value; + this.codeValue = codeValue; + this.description = description; + } + + public int getValue() { + return value; + } + + public boolean getCodeValue() { + return codeValue; + } + + public String getDescription() { + return description; + } + } + + } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java index 2ab3567..b4e124b 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java @@ -54,4 +54,8 @@ public class WmsActionStepCall extends BaseBean { @Column(name="AM_TYPE") @ApiParam(value = "组件类型", example = "0") public Integer amType; + + @Column(name="OK_VALUE") + @ApiParam(value = "成功标志", example = "10") + public Integer okValue; } From 7982a4fdc1fad01dd955ffad6a3ae9e4bd893a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=AF=E8=A3=95?= Date: Tue, 4 Dec 2018 16:45:12 +0800 Subject: [PATCH 03/24] =?UTF-8?q?=E5=AD=98=E5=82=A8=E5=8C=BA=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java index 700ffe5..12636d5 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java @@ -385,11 +385,13 @@ public class WmsHqlPack { StringBuffer result = new StringBuffer(); //仓库代码 - HqlPack.getStringEqualPack(wmsZones.getWhNo(), "whNo", result); + HqlPack.getStringLikerPack(wmsZones.getWhNo(), "whNo", result); //库存地代码 - HqlPack.getStringEqualPack(wmsZones.getAreaNo(), "areaNo", result); + HqlPack.getStringLikerPack(wmsZones.getAreaNo(), "areaNo", result); //存储区代码 - HqlPack.getStringEqualPack(wmsZones.getZoneNo(), "zoneNo", result); + HqlPack.getStringLikerPack(wmsZones.getZoneNo(), "zoneNo", result); + //存储区名称 + HqlPack.getStringLikerPack(wmsZones.getZoneName(),"zoneName", result); getStringBuilderPack(wmsZones, result); From 5398a45033735bd914387c0df5b32f9b10488623 Mon Sep 17 00:00:00 2001 From: "wei.peng" Date: Tue, 4 Dec 2018 17:51:10 +0800 Subject: [PATCH 04/24] Sonar Test --- .../java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java index 1e02137..ae21e54 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java @@ -26,9 +26,9 @@ public class CommonEnumUtil { SURFACE(98,"i3surface","对外服务"), CENTER(99,"icloud-server","注册中心"); - public int value; - public String code; - public String description; + private int value; + private String code; + private String description; private SOFT_TYPE(int value, String code, String description) { this.value = value; From 7706f19445a1427aaefbdecc58763119395400d5 Mon Sep 17 00:00:00 2001 From: amy <962239776@qq.com> Date: Tue, 4 Dec 2018 18:10:18 +0800 Subject: [PATCH 05/24] =?UTF-8?q?=E6=8A=BD=E7=82=B9model=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/model/wms/CheckPointModel.java | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java diff --git a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java new file mode 100644 index 0000000..8a6b197 --- /dev/null +++ b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java @@ -0,0 +1,45 @@ +package cn.estsh.i3plus.pojo.model.wms; + +import lombok.Data; + +/** + * @Description : 抽点接收数据model + * @Reference : + * @Author : amy + * @CreateDate : 2018-12-04 10:31 + * @Modify: + **/ +@Data +public class CheckPointModel { + + /** + * 单据类型 + */ + private String orderType; + + /** + *条码类型 + */ + private String snType; + + /** + *条码 + */ + private String sn; + + /** + *订单号 + */ + private String orderNo; + + /** + *工厂代码 + */ + private String organizeCode; + + /** + *实际抽点数量【从前端输入获取】 + */ + private Double actQty; + +} From 707d54cc1c483051a514d0ef4be38046d9075fd3 Mon Sep 17 00:00:00 2001 From: jimmy <1622218722@qq.com> Date: Tue, 4 Dec 2018 21:24:34 +0800 Subject: [PATCH 06/24] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java index 905459f..8f6e017 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java @@ -83,10 +83,12 @@ public class WmsActionLog extends BaseBean { public String orderNo; @Column(name="START_TIME") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value = "开始作业时间") public String startTime; @Column(name="END_TIME") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value = "结束作业时间") public String endTime; From d7b4b1f7ab1eaebdfa87133443bca9df2cad0161 Mon Sep 17 00:00:00 2001 From: "yunhao.wang" Date: Tue, 4 Dec 2018 21:29:19 +0800 Subject: [PATCH 07/24] =?UTF-8?q?transient=20=E6=9B=BF=E6=8D=A2=E4=B8=BA?= =?UTF-8?q?=20@Transien?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/estsh/i3plus/pojo/base/bean/BaseBean.java | 18 ++++++++++----- .../i3plus/pojo/platform/bean/SysDepartment.java | 12 ++++++---- .../pojo/platform/bean/SysLocaleResource.java | 4 +++- .../estsh/i3plus/pojo/platform/bean/SysMenu.java | 10 ++++---- .../i3plus/pojo/platform/bean/SysOrganize.java | 14 ++++++----- .../i3plus/pojo/platform/bean/SysPosition.java | 8 ++++--- .../estsh/i3plus/pojo/platform/bean/SysUser.java | 7 ++++-- .../i3plus/pojo/platform/bean/SysUserInfo.java | 27 ++++++++++++++-------- .../i3plus/pojo/platform/sqlpack/CoreBsonPack.java | 2 ++ .../pojo/wms/bean/WmsActionGroupDetails.java | 4 +++- .../estsh/i3plus/pojo/wms/bean/WmsActionLog.java | 16 +++++++++---- .../i3plus/pojo/wms/bean/WmsActionLogDetails.java | 4 +++- .../i3plus/pojo/wms/bean/WmsActionStepCall.java | 7 ++++-- .../pojo/wms/bean/WmsActionStepCallParam.java | 4 +++- .../estsh/i3plus/pojo/wms/bean/WmsAreaOwner.java | 13 +++++++---- .../i3plus/pojo/wms/bean/WmsCheckFactRecord.java | 4 +++- .../estsh/i3plus/pojo/wms/bean/WmsIbCheckPlan.java | 13 +++++++---- .../cn/estsh/i3plus/pojo/wms/bean/WmsObject.java | 7 ++++-- .../cn/estsh/i3plus/pojo/wms/bean/WmsPOMaster.java | 4 +++- .../cn/estsh/i3plus/pojo/wms/bean/WmsQCMaster.java | 7 ++++-- .../cn/estsh/i3plus/pojo/wms/bean/WmsShopping.java | 7 ++++-- .../cn/estsh/i3plus/pojo/wms/bean/WmsTrans.java | 7 ++++-- .../cn/estsh/i3plus/pojo/wms/bean/WmsTransRcd.java | 4 +++- 23 files changed, 138 insertions(+), 65 deletions(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/bean/BaseBean.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/bean/BaseBean.java index d8ec9de..9987e99 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/bean/BaseBean.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/bean/BaseBean.java @@ -80,28 +80,34 @@ public abstract class BaseBean implements Serializable { @ApiParam(value = "修改日期") public String modifyDatetime; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value="创建日期查询用,查询起始日期",example = "2018-01-01 01:00:00") - public transient String createDateTimeStart; + public String createDateTimeStart; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value="创建日期查询用,查询结束日期",example = "2018-12-31 23:59:59") - public transient String createDateTimeEnd; + public String createDateTimeEnd; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value="修改日期查询用,查询起始日期",example = "2018-01-01 01:00:00") - public transient String modifyDateTimeStart; + public String modifyDateTimeStart; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value = "修改日期查询用,查询结束日期",example = "2018-12-31 23:59:59") - public transient String modifyDateTimeEnd; + public String modifyDateTimeEnd; + @Transient @ApiParam(value = "排序属性") - public transient String orderByParam = ""; + public String orderByParam = ""; + @Transient @ApiParam(value = "排序类型,1 正序,2 倒序",example = "1") //CommonEnumUtil.ASC_OR_DESC 1 asc,2 desc - public transient int ascOrDesc = 1; + public int ascOrDesc = 1; //排序方式 public String orderBy(){ diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysDepartment.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysDepartment.java index 6ab6e0e..abf2465 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysDepartment.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysDepartment.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.util.List; /** @@ -34,11 +35,11 @@ public class SysDepartment extends BaseBean { @Column(name="NAME") @ApiParam(value ="名称") private String name; - + @Column(name="DEPARTMENT_CODE") @ApiParam(value ="部门代码") private String departmentCode; - + @Column(name="PARENT_NAME_RDD") @ApiParam(value ="父节点名称") private String parentNameRdd; @@ -52,17 +53,18 @@ public class SysDepartment extends BaseBean { @Column(name="ORGANIZATION_NAME_RDD") @ApiParam(value ="所属组织名称" , access ="所属组织名称") private String organizeNameRdd; - + @Column(name="ORGANIZE_ID") @ApiParam(value ="所属组织" , example = "0") @JsonSerialize(using = ToStringSerializer.class) private Long organizeId; - + @Column(name="DEPARTMENT_SORT") @ApiParam(value ="排序" , example ="1" , access ="排序") private Integer departmentSort; + @Transient @ApiParam(value ="子集列表") - private transient List childList; + private List childList; } diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysLocaleResource.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysLocaleResource.java index 0de27ad..ff23075 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysLocaleResource.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysLocaleResource.java @@ -10,6 +10,7 @@ import lombok.EqualsAndHashCode; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 系统资源表,通过resourceType,languageId和resourceKey三者,查询value @@ -31,7 +32,8 @@ public class SysLocaleResource extends BaseBean { @ApiParam(value = "资源类型",example = "1",access = "使用枚举:CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE") private Integer resourceType; - private transient String resourceTypeTxt; + @Transient + private String resourceTypeTxt; public String getResourceTypeTxt(){ if(this.resourceType != null){ diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysMenu.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysMenu.java index 55af110..61b930a 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysMenu.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysMenu.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.util.List; /** @@ -52,7 +53,7 @@ public class SysMenu extends BaseBean { @Column(name="PARENT_NAME_RDD") @ApiParam(value ="父级功能名称" , access ="父级功能名称") private String parentNameRdd; - + @Column(name="MENU_CLASS_PATH") @ApiParam(value ="资源class path" , access ="资源class path") private String menuClassPath; @@ -72,7 +73,7 @@ public class SysMenu extends BaseBean { @Column(name="MENU_CSS") @ApiParam(value ="资源css" , access ="资源css") private String menuCss; - + @Column(name="MENU_ICON") @ApiParam(value ="资源icon" , access ="资源icon") private String menuIcon; @@ -80,12 +81,13 @@ public class SysMenu extends BaseBean { @Column(name="MENU_DESCRIPTION") @ApiParam(value ="资源描述" , access ="配置描述") private String menuDescription; - + @Column(name="MENU_STATUS") @ApiParam(value ="功能状态(1.正常,2.禁用)" , example ="1" , access ="功能状态(1.正常,2.禁用)",defaultValue="1") private Integer menuStatus; + @Transient @ApiParam(value ="子集列表") - private transient List childList; + private List childList; } diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrganize.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrganize.java index c6b1131..2851d38 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrganize.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrganize.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.text.DecimalFormat; import java.util.List; @@ -35,11 +36,11 @@ public class SysOrganize extends BaseBean { @Column(name="NAME") @ApiParam(value ="名称") private String name; - + @Column(name="ORGANIZE_CODE") @ApiParam(value ="组织代码") private String organizeCode; - + @Column(name="ORGANIZE_TYPE") @ApiParam(value ="组织类型ID(枚举:1.集团,2.公司,3.工厂)" , example ="1") private Integer organizeType; @@ -53,20 +54,21 @@ public class SysOrganize extends BaseBean { @Column(name="PARENT_NAME_RDD") @ApiParam(value ="父节点") private String parentNameRdd; - + @Column(name="ORGANIZE_DESCRIPTION") @ApiParam(value ="组织描述") private String organizeDescription; - + @Column(name="ORGANIZE_SORT") @ApiParam(value ="排序" , example ="1") private Integer organizeSort; - + @Column(name="ORGANIZE_STATUS") @ApiParam(value ="组织状态(枚举:1.正常,2.禁用)" , example ="1") private Integer organizeStatus; + @Transient @ApiParam(value ="子集列表") - private transient List childList; + private List childList; } diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysPosition.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysPosition.java index dd5e424..513f3c2 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysPosition.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysPosition.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.util.List; /** @@ -34,7 +35,7 @@ public class SysPosition extends BaseBean { @Column(name="NAME") @ApiParam(value ="名称" , access ="名称") private String name; - + @Column(name="POSITION_CODE") @ApiParam(value ="岗位代码" , access ="岗位代码") private String positionCode; @@ -48,12 +49,13 @@ public class SysPosition extends BaseBean { @Column(name="PARENT_NAME_RDD") @ApiParam(value ="上级岗位名称" , access ="上级岗位名称") private String parentNameRdd; - + @Column(name="POSITION_DESCRIPTION") @ApiParam(value ="描述" , access ="描述") private String positionDescription; + @Transient @ApiParam(value ="子部门列表") - private transient List childList; + private List childList; } diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java index 4641688..22aa6ae 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.util.List; /** @@ -92,9 +93,11 @@ public class SysUser extends BaseBean { @ApiParam(value ="用户类型(枚举,待定)" , example ="-1") private Integer userType; + @Transient @ApiParam(value ="用户所有角色信息") - private transient List roleList; + private List roleList; + @Transient @ApiParam(value ="用户所有权限信息") - private transient List menuList; + private List menuList; } diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java index 24e1dde..23b16ff 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java @@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.util.List; /** @@ -52,7 +53,7 @@ public class SysUserInfo extends BaseBean { @Column(name="USER_SEX") @ApiParam(value ="性别(1.男,2.女)" , example ="1" , access ="性别(1.男,2.女)") private Integer userSex; - + @Column(name="USER_AGE") @ApiParam(value ="年龄" , example ="1" , access ="年龄") private Integer userAge; @@ -112,28 +113,36 @@ public class SysUserInfo extends BaseBean { @ApiParam(value ="登录次数",example = "0") private Integer userLoginNum; + @Transient @ApiParam(value ="用户所有部门信息") - private transient List departmentList; + private List departmentList; + @Transient @ApiParam("用户的部门ID信息") - private transient List departmentIdList; + private List departmentIdList; + @Transient @ApiParam(value ="用户所有岗位信息") - private transient List positionList; + private List positionList; + @Transient @ApiParam(value ="用户所有组织信息") - private transient List organizeList; + private List organizeList; + @Transient @ApiParam(value ="用户岗位信息") - private transient SysDepartment department; + private SysDepartment department; + @Transient @ApiParam(value ="用户组织信息") - private transient SysOrganize organize; + private SysOrganize organize; + @Transient @ApiParam(value = "岗位信息",access = "用户主岗位信息") - private transient SysPosition position; + private SysPosition position; + @Transient @JsonIgnore @ApiParam(value ="用户详细信息") - private transient SysUser user; + private SysUser user; } diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/sqlpack/CoreBsonPack.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/sqlpack/CoreBsonPack.java index 9350790..3833ebd 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/sqlpack/CoreBsonPack.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/sqlpack/CoreBsonPack.java @@ -45,6 +45,8 @@ public class CoreBsonPack { bson = BsonPackTool.getNumEqualPack(logOperate.getOperateType(),"operateType",bson); bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModule(),"operateModule",bson); bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(),"createDatetime",bson,false,false); + bson = BsonPackTool.getStringLikerPack(logOperate.getRemoteIp(),"remoteIp",bson); + bson = BsonPackTool.getStringLikerPack(logOperate.getOperateMessage(),"operateMessage",bson); bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(),"createUser",bson); return bson; diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionGroupDetails.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionGroupDetails.java index c841866..179e772 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionGroupDetails.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionGroupDetails.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 作业流程明细 @@ -64,7 +65,8 @@ public class WmsActionGroupDetails extends BaseBean { @JsonSerialize(using = ToStringSerializer.class) private Long asId; + @Transient @ApiParam(value = "作业步骤名称") - private transient String asName; + private String asName; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java index 905459f..a876c41 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLog.java @@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 作业记录表 @@ -49,8 +50,9 @@ public class WmsActionLog extends BaseBean { @ApiParam(value = "交易类型编号") public String transTypeCode; + @Transient @ApiParam(value = "交易类型名称") - public transient String transTypeName; + public String transTypeName; @Column(name="AG_ID") @ApiParam(value = "作业流程编号", example = "1") @@ -90,21 +92,25 @@ public class WmsActionLog extends BaseBean { @ApiParam(value = "结束作业时间") public String endTime; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value="开始作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00") - public transient String startTimeStart; + public String startTimeStart; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value="开始作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59") - public transient String startTimeEnd; + public String startTimeEnd; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value="结束作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00") - public transient String endTimeStart; + public String endTimeStart; + @Transient @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiParam(value="结束作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59") - public transient String endTimeEnd; + public String endTimeEnd; // 状态:1=创建,10=处理中,20=已完成 @Column(name="ACTION_STATUS") diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLogDetails.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLogDetails.java index 11ad078..23941de 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLogDetails.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionLogDetails.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description :作业记录明细表 @@ -44,8 +45,9 @@ public class WmsActionLogDetails extends BaseBean { } } + @Transient @ApiParam(value = "流程名称") - public transient String agNameC; + public String agNameC; @Column(name="SEQ") @ApiParam(value = "序号", example = "1") diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java index b4e124b..74eb9a6 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCall.java @@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 作业步骤调用 @@ -45,11 +46,13 @@ public class WmsActionStepCall extends BaseBean { @JsonSerialize(using = ToStringSerializer.class) public Long amId; + @Transient @ApiParam(value = "组件名称") - public transient String amName; + public String amName; + @Transient @ApiParam(value = "组件描述") - public transient String amDesc; + public String amDesc; @Column(name="AM_TYPE") @ApiParam(value = "组件类型", example = "0") diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCallParam.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCallParam.java index a467907..ffe7a9e 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCallParam.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionStepCallParam.java @@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description :作业步骤调用参数表 @@ -53,7 +54,8 @@ public class WmsActionStepCallParam extends BaseBean { @ApiParam(value = "参数值") private String paramValue; + @Transient @ApiParam(value = "组件名称") - private transient String amName; + private String amName; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsAreaOwner.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsAreaOwner.java index bc3db4a..0d74dea 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsAreaOwner.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsAreaOwner.java @@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description :责任区域分配信息 @@ -60,15 +61,19 @@ public class WmsAreaOwner extends BaseBean { @ApiParam(value = "是否预分配人员") private Integer isPreAssign; + @Transient @ApiParam(value = "供应商名称") - private transient String vendorName; + private String vendorName; + @Transient @ApiParam(value = "仓库名称") - private transient String whName; + private String whName; + @Transient @ApiParam(value = "存储区名称") - private transient String zoneName; + private String zoneName; + @Transient @ApiParam(value = "库位名称") - private transient String locateName; + private String locateName; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsCheckFactRecord.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsCheckFactRecord.java index cc86295..a27823a 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsCheckFactRecord.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsCheckFactRecord.java @@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 抽点记录信息 @@ -64,6 +65,7 @@ public class WmsCheckFactRecord extends BaseBean { @ApiParam(value = "抽点数量", example = "0") public Double checkQty; + @Transient @ApiParam(value ="供应商全称") - private transient String vendorDesc; + private String vendorDesc; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsIbCheckPlan.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsIbCheckPlan.java index d6aad6f..4ec45d7 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsIbCheckPlan.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsIbCheckPlan.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 抽点比例表 @@ -60,20 +61,24 @@ public class WmsIbCheckPlan extends BaseBean{ @ApiParam(value ="已抽点件数", example = "-1") private Integer checkCounter; + @Transient @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @ApiParam(value="开始日期,查询开始日期") - public transient String startDateStart; + public String startDateStart; + @Transient @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @ApiParam(value="开始日期,查询开始日期") - public transient String startDateEnd; + public String startDateEnd; + @Transient @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @ApiParam(value="结束日期,查询结束日期") - public transient String endDateStart; + public String endDateStart; + @Transient @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @ApiParam(value = "结束日期,查询结束日期") - public transient String endDateEnd; + public String endDateEnd; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsObject.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsObject.java index 7c84477..f8612cd 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsObject.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsObject.java @@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; import java.util.List; /** @@ -81,10 +82,12 @@ public class WmsObject extends BaseBean { @ApiParam("自定义业务拦截") private String bizIntercept; + @Transient @ApiParam("元数据字段列表") - private transient List fiedList; + private List fiedList; + @Transient @ApiParam("自定义按钮列表") - private transient List btnList; + private List btnList; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPOMaster.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPOMaster.java index 80481ee..71c2745 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPOMaster.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPOMaster.java @@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : PO订单主表 @@ -70,6 +71,7 @@ public class WmsPOMaster extends BaseBean { /** * 供应商名称 */ + @Transient @ApiParam("供应商名称") - private transient String vendorName; + private String vendorName; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsQCMaster.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsQCMaster.java index b986ff5..c930713 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsQCMaster.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsQCMaster.java @@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 质检单主表信息 @@ -75,9 +76,11 @@ public class WmsQCMaster extends BaseBean { @ApiParam("入库单号") public String ibNo; + @Transient @ApiParam(value ="客户简称") - private transient String custName; + private String custName; + @Transient @ApiParam(value = "供应商简称") - private transient String VendorDesc; + private String VendorDesc; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsShopping.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsShopping.java index 18f57bc..9d9c2a2 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsShopping.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsShopping.java @@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 产品发运信息 @@ -75,9 +76,11 @@ public class WmsShopping extends BaseBean { @ApiParam("特殊发货标志") public String shippingFlag; + @Transient @ApiParam(value ="客户简称") - private transient String custName; + private String custName; + @Transient @ApiParam(value = "发往地简称") - private transient String flagName; + private String flagName; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTrans.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTrans.java index a0cffe4..421e07e 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTrans.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTrans.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 库存交易记录表 @@ -80,12 +81,14 @@ public class WmsTrans extends BaseBean{ @ApiParam(value ="库位代码") private String locCode; + @Transient @ApiParam(value ="目标库位id",example = "-1") @JsonSerialize(using = ToStringSerializer.class) - private transient Long targetLocId; + private Long targetLocId; + @Transient @ApiParam(value ="目标库位代码") - private transient String targetLocCode; + private String targetLocCode; @Column(name="GROUP_ID") @ApiParam(value ="分组id",example = "-1") diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransRcd.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransRcd.java index f369735..6fd02b2 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransRcd.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransRcd.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 仓库交易归档表 @@ -85,8 +86,9 @@ public class WmsTransRcd extends BaseBean{ @JsonSerialize(using = ToStringSerializer.class) private Long groupId; + @Transient @ApiParam(value ="库存数", example = "0") - private transient Double qit; + private Double qit; public Long getLocId() { From 7c37ce05a74caeceb0ed7ed0fd1bec4334c7d3fa Mon Sep 17 00:00:00 2001 From: "yunhao.wang" Date: Wed, 5 Dec 2018 09:40:59 +0800 Subject: [PATCH 08/24] =?UTF-8?q?transient=20=E6=9B=BF=E6=8D=A2=E4=B8=BA?= =?UTF-8?q?=20@Transien?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java index cec7c91..84781e3 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUserInfo.java @@ -129,6 +129,7 @@ public class SysUserInfo extends BaseBean { @ApiParam("用户的岗位ID信息") private List positionIdList; + @Transient @ApiParam(value ="用户所有组织信息") private List organizeList; From 06d801be018b258f7534757e71410a3d8170cdea Mon Sep 17 00:00:00 2001 From: Silliter Date: Wed, 5 Dec 2018 14:48:58 +0800 Subject: [PATCH 09/24] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/base/enumutil/WmsEnumUtil.java | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java index daa4ebc..a5b40ae 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java @@ -1801,5 +1801,34 @@ public class WmsEnumUtil { } } + /** + * 通用序号编码枚举 + */ + @JsonFormat(shape = JsonFormat.Shape.OBJECT) + public enum COMMON_SEQ { + TASK_MV_ORDERNO("TASK_MV_ORDERNO", "作业任务移动单号"), + ROUTING_SEQ("ROUTING_SEQ", "物料路线序号"), + LOCATE_SEQ("LOCATE_SEQ", "库位序号"), + OP_SEQ("OP_SEQ", "作业类型序号"), + TRAN_SEQ("TRAN_SEQ", "交易类型序号"), + STEP_SEQ("STEP_SEQ", "步骤调用序号"); + + private String code; + private String description; + + COMMON_SEQ(String code, String description) { + this.code = code; + this.description = description; + } + + public String getCode() { + return code; + } + + public String getDescription() { + return description; + } + } + } From a7a39d70164a0063d0faa0252cdaa0f6b04c92be Mon Sep 17 00:00:00 2001 From: Silliter Date: Wed, 5 Dec 2018 18:35:25 +0800 Subject: [PATCH 10/24] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java index a5b40ae..5c6dbf9 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java @@ -1815,12 +1815,17 @@ public class WmsEnumUtil { private String code; private String description; + int value; COMMON_SEQ(String code, String description) { this.code = code; this.description = description; } + public int getValue() { + return value; + } + public String getCode() { return code; } From 950303231fe96bbf2b0fa1c28f513ad717e5f252 Mon Sep 17 00:00:00 2001 From: jimmy <1622218722@qq.com> Date: Thu, 6 Dec 2018 11:12:15 +0800 Subject: [PATCH 11/24] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java | 3 ++- .../main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransType.java | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java index a5b40ae..ea7894b 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java @@ -1811,7 +1811,8 @@ public class WmsEnumUtil { LOCATE_SEQ("LOCATE_SEQ", "库位序号"), OP_SEQ("OP_SEQ", "作业类型序号"), TRAN_SEQ("TRAN_SEQ", "交易类型序号"), - STEP_SEQ("STEP_SEQ", "步骤调用序号"); + STEP_SEQ("STEP_SEQ", "步骤调用序号"), + ORDER_NO("ORDER_NO", "盘点主表序号"); private String code; private String description; diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransType.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransType.java index 246524b..a9dde28 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransType.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTransType.java @@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 交易类型表 @@ -42,9 +43,13 @@ public class WmsTransType extends BaseBean { @ApiParam(value = "序号", example = "-1") private Integer seq; - @Column(name = "PROG_CODE") - @ApiParam(value = "处理程序", example = "-1") + @Column(name = "AG_ID") + @ApiParam(value = "作业流程", example = "-1") @JsonSerialize(using = ToStringSerializer.class) private Long agId; + @Transient + @ApiParam("中文流程名称") + private String agNameC; + } From 1b54063b5686f59d584673c2dda55dfcea3339ab Mon Sep 17 00:00:00 2001 From: Silliter Date: Thu, 6 Dec 2018 11:53:10 +0800 Subject: [PATCH 12/24] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java index 8a6b197..eabefdf 100644 --- a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java +++ b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java @@ -40,6 +40,6 @@ public class CheckPointModel { /** *实际抽点数量【从前端输入获取】 */ - private Double actQty; + private Integer actQty; } From 660db622a8054dd2edf3d0109b1663aadc7ab6a8 Mon Sep 17 00:00:00 2001 From: "gragon.xu" Date: Thu, 6 Dec 2018 14:51:28 +0800 Subject: [PATCH 13/24] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E7=B1=BB=E5=8E=BB=E6=8E=89=E8=B0=83=E7=94=A8=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionModule.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionModule.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionModule.java index a59768a..5586f68 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionModule.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsActionModule.java @@ -40,10 +40,6 @@ public class WmsActionModule extends BaseBean { @ApiParam("实现类") public String callClass; - @Column(name="CALL_FUN") - @ApiParam("调用方法") - public String callFun; - @Column(name="AM_TYPE") @ApiParam(value = "组件类型", example = "0") public Integer amType; From ca78fb48fc1522a54cd497136ad43bff52c18443 Mon Sep 17 00:00:00 2001 From: Silliter Date: Thu, 6 Dec 2018 15:21:59 +0800 Subject: [PATCH 14/24] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java index 12636d5..4f7483f 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java @@ -1160,6 +1160,7 @@ public class WmsHqlPack { HqlPack.getStringLikerPack(wmsActionLog.getAgNameC(),"agNameC",result); // 单据编号 HqlPack.getStringLikerPack(wmsActionLog.getOrderNo(),"orderNo",result); + getStringBuilderPack(wmsActionLog, result); return result.toString(); @@ -1182,6 +1183,8 @@ public class WmsHqlPack { getStringBuilderPack(wmsActionLogDetails, result); + HqlPack.getOrderByPack(new Object[]{1}, new String[]{"seq"}, result); + return result.toString(); } } From 398de72b6ca040d11286fed20cf26141ad4ab42d Mon Sep 17 00:00:00 2001 From: amy <962239776@qq.com> Date: Thu, 6 Dec 2018 15:48:14 +0800 Subject: [PATCH 15/24] =?UTF-8?q?=E5=86=85=E9=83=A8=E7=A7=BB=E5=BA=93?= =?UTF-8?q?=E5=8D=95=E5=AE=9E=E4=BD=93=E5=AD=97=E6=AE=B5=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java index 8aeed96..e0597a1 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java @@ -51,4 +51,8 @@ public class WmsMoveMaster extends BaseBean { @Column(name="REMARK") @ApiParam("备注") public String reMark; + + @Column(name="TRANS_TYPE_CODE") + @ApiParam("交易代码") + public String transCode; } From d87eedb28598a19ffa954437d24f96bc9daf9c4a Mon Sep 17 00:00:00 2001 From: Silliter Date: Thu, 6 Dec 2018 16:39:49 +0800 Subject: [PATCH 16/24] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java index 4f7483f..02b81b0 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/sqlpack/WmsHqlPack.java @@ -698,10 +698,13 @@ public class WmsHqlPack { StringBuffer result = new StringBuffer(); // 订单号 - HqlPack.getStringEqualPack(wmsTempOrderLock.getOrderNo(), "orderNo", result); + HqlPack.getStringLikerPack(wmsTempOrderLock.getOrderNo(), "orderNo", result); // 业务类型 HqlPack.getStringEqualPack(wmsTempOrderLock.getBizType(), "bizType", result); + // 物料代码 + HqlPack.getStringEqualPack(wmsTempOrderLock.getPartNo(), "partNo", result); + getStringBuilderPack(wmsTempOrderLock, result); return result.toString(); From 787501c59cdb72ff2c75a6201e8d1c049fe66441 Mon Sep 17 00:00:00 2001 From: jimmy <1622218722@qq.com> Date: Fri, 7 Dec 2018 11:05:43 +0800 Subject: [PATCH 17/24] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTaskInfo.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTaskInfo.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTaskInfo.java index 764561c..38a3dbb 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTaskInfo.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsTaskInfo.java @@ -25,7 +25,7 @@ import javax.persistence.Table; @DynamicUpdate @EqualsAndHashCode(callSuper = true) @Table(name="WMS_TASK") -@Api("ASN主表信息") +@Api("作业任务表") public class WmsTaskInfo extends BaseBean { @Column(name="MOVE_NO") @@ -48,6 +48,10 @@ public class WmsTaskInfo extends BaseBean { * 状态:1=创建,10=待处理,20=已处理 */ @Column(name="TASK_STATUS") - @ApiParam(value = "状态", example = "1") + @ApiParam(value = "任务状态", example = "1") public Integer taskStatus; + + @Column(name="TRANS_TYPE_CODE") + @ApiParam("交易类型") + private String transTypeCode; } From 70e1c259e2dfc51e589d1ee2cdf7af2b2d8e8027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=AF=E8=A3=95?= Date: Fri, 7 Dec 2018 17:36:58 +0800 Subject: [PATCH 18/24] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java | 4 ++++ .../pojo/wms/repository/WmsMoveDetailsRepository.java | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java index 8aeed96..74b954b 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java @@ -51,4 +51,8 @@ public class WmsMoveMaster extends BaseBean { @Column(name="REMARK") @ApiParam("备注") public String reMark; + + @Column(name = "TRANS_TYPE_CODE") + @ApiParam(value = "交易类型编号") + private String transTypeCode; } diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsMoveDetailsRepository.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsMoveDetailsRepository.java index fea096d..e8aca84 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsMoveDetailsRepository.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsMoveDetailsRepository.java @@ -2,6 +2,8 @@ package cn.estsh.i3plus.pojo.wms.repository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.wms.bean.WmsMoveDetails; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.query.Param; /** * @Description : 库存移动单明细信息 @@ -11,4 +13,15 @@ import cn.estsh.i3plus.pojo.wms.bean.WmsMoveDetails; * @Modify: **/ public interface WmsMoveDetailsRepository extends BaseRepository { + + /** + * 获取item最大值 + * @param organizeCode + * @param isValid + * @param isDeleted + * @return + */ + @Query("select max(item) from WmsMoveDetails where organizeCode = :organizeCode and isValid = :isValid and isDeleted = :isDeleted") + int getMaxItem(@Param("organizeCode")String organizeCode, @Param("isValid")int isValid, @Param("isDeleted")int isDeleted); + } From a3861b194d927d5f1768d2cf48eaf2ad2c73ab28 Mon Sep 17 00:00:00 2001 From: amy <962239776@qq.com> Date: Fri, 7 Dec 2018 17:45:51 +0800 Subject: [PATCH 19/24] modify --- .../src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java index 74b954b..71c9869 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsMoveMaster.java @@ -53,6 +53,6 @@ public class WmsMoveMaster extends BaseBean { public String reMark; @Column(name = "TRANS_TYPE_CODE") - @ApiParam(value = "交易类型编号") + @ApiParam(value = "交易类型代码") private String transTypeCode; } From 680c22e1f1a446c7c438ac2088709454cd0a9efb Mon Sep 17 00:00:00 2001 From: "yunhao.wang" Date: Fri, 7 Dec 2018 18:21:18 +0800 Subject: [PATCH 20/24] =?UTF-8?q?Excel=E5=AF=BC=E5=85=A5=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java index 8694646..e086d41 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java @@ -73,4 +73,9 @@ public class SysOrderNoRule extends BaseBean { @Column(name = "ORDER_NO_RULE_STATUS") @ApiParam(value = "单号规则状态") private Integer orderNoRuleStatus; + + @Column(name="ORDER_NO_RULE_DESCRIPTION") + @ApiParam(value ="描述") + private String orderNoRuleDescription; + } From 236dbc4f66a0b116bd0c2b384c630cefb49be8f1 Mon Sep 17 00:00:00 2001 From: "yunhao.wang" Date: Fri, 7 Dec 2018 18:49:29 +0800 Subject: [PATCH 21/24] =?UTF-8?q?=E9=A1=B9=E7=9B=AEpom=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=BAdev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/i3plus-pojo-base/pom.xml | 2 +- modules/i3plus-pojo-mes/pom.xml | 2 +- modules/i3plus-pojo-model/pom.xml | 2 +- modules/i3plus-pojo-platform/pom.xml | 2 +- modules/i3plus-pojo-wms/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/i3plus-pojo-base/pom.xml b/modules/i3plus-pojo-base/pom.xml index da0fd4a..a2edb7a 100644 --- a/modules/i3plus-pojo-base/pom.xml +++ b/modules/i3plus-pojo-base/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT + 1.0-SNAPSHOT-DEV ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-mes/pom.xml b/modules/i3plus-pojo-mes/pom.xml index 3ee81da..59a7b13 100644 --- a/modules/i3plus-pojo-mes/pom.xml +++ b/modules/i3plus-pojo-mes/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT + 1.0-SNAPSHOT-DEV ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-model/pom.xml b/modules/i3plus-pojo-model/pom.xml index c369e12..0cc25e0 100644 --- a/modules/i3plus-pojo-model/pom.xml +++ b/modules/i3plus-pojo-model/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT + 1.0-SNAPSHOT-DEV ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-platform/pom.xml b/modules/i3plus-pojo-platform/pom.xml index de63812..12de98e 100644 --- a/modules/i3plus-pojo-platform/pom.xml +++ b/modules/i3plus-pojo-platform/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT + 1.0-SNAPSHOT-DEV ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-wms/pom.xml b/modules/i3plus-pojo-wms/pom.xml index ba27b81..5b73b9a 100644 --- a/modules/i3plus-pojo-wms/pom.xml +++ b/modules/i3plus-pojo-wms/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT + 1.0-SNAPSHOT-DEV ../../pom.xml 4.0.0 diff --git a/pom.xml b/pom.xml index bcf0ef5..56bf184 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ i3plus.pojo i3plus-pojo pom - 1.0-SNAPSHOT + 1.0-SNAPSHOT-DEV modules/i3plus-pojo-base From e0f3118296e65d357d873f65337883d0c5b2664e Mon Sep 17 00:00:00 2001 From: "wei.peng" Date: Fri, 7 Dec 2018 19:44:43 +0800 Subject: [PATCH 22/24] =?UTF-8?q?=E5=8F=91=E5=B8=83=20=E6=AD=A3=E5=BC=8F?= =?UTF-8?q?=E7=89=88=E6=9C=AC=201.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/i3plus-pojo-base/pom.xml | 2 +- modules/i3plus-pojo-mes/pom.xml | 2 +- modules/i3plus-pojo-model/pom.xml | 2 +- modules/i3plus-pojo-platform/pom.xml | 2 +- modules/i3plus-pojo-wms/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/i3plus-pojo-base/pom.xml b/modules/i3plus-pojo-base/pom.xml index a2edb7a..888e1bd 100644 --- a/modules/i3plus-pojo-base/pom.xml +++ b/modules/i3plus-pojo-base/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT-DEV + 1.0-DEV-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-mes/pom.xml b/modules/i3plus-pojo-mes/pom.xml index 59a7b13..62ebe64 100644 --- a/modules/i3plus-pojo-mes/pom.xml +++ b/modules/i3plus-pojo-mes/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT-DEV + 1.0-DEV-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-model/pom.xml b/modules/i3plus-pojo-model/pom.xml index 0cc25e0..485fdd6 100644 --- a/modules/i3plus-pojo-model/pom.xml +++ b/modules/i3plus-pojo-model/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT-DEV + 1.0-DEV-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-platform/pom.xml b/modules/i3plus-pojo-platform/pom.xml index 12de98e..e310bfd 100644 --- a/modules/i3plus-pojo-platform/pom.xml +++ b/modules/i3plus-pojo-platform/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT-DEV + 1.0-DEV-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/modules/i3plus-pojo-wms/pom.xml b/modules/i3plus-pojo-wms/pom.xml index 5b73b9a..7409467 100644 --- a/modules/i3plus-pojo-wms/pom.xml +++ b/modules/i3plus-pojo-wms/pom.xml @@ -5,7 +5,7 @@ i3plus-pojo i3plus.pojo - 1.0-SNAPSHOT-DEV + 1.0-DEV-SNAPSHOT ../../pom.xml 4.0.0 diff --git a/pom.xml b/pom.xml index 56bf184..ead6373 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ i3plus.pojo i3plus-pojo pom - 1.0-SNAPSHOT-DEV + 1.0-DEV-SNAPSHOT modules/i3plus-pojo-base From 8e25a0c4376c0402d8c046dfac735f7a10a660a7 Mon Sep 17 00:00:00 2001 From: "yunhao.wang" Date: Sat, 8 Dec 2018 22:11:37 +0800 Subject: [PATCH 23/24] =?UTF-8?q?=E5=8D=95=E5=8F=B7=E8=A7=84=E5=88=99?= =?UTF-8?q?=E7=AE=A1=E7=90=86excel=E5=AF=BC=E5=85=A5=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/base/enumutil/CommonEnumUtil.java | 10 ++++++++ .../i3plus/pojo/platform/bean/SysOrderNoRule.java | 27 ++++++++++++++++++---- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java index ae21e54..38b454c 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java @@ -120,6 +120,16 @@ public class CommonEnumUtil { } return tmp; } + + public static int descOf(String desc) { + int tmp = 1; + for (int i = 0; i < values().length; i++) { + if (values()[i].description.equals(desc)) { + tmp = values()[i].value; + } + } + return tmp; + } } /** diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java index e086d41..a76db1f 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysOrderNoRule.java @@ -1,6 +1,8 @@ package cn.estsh.i3plus.pojo.platform.bean; import cn.estsh.i3plus.pojo.base.bean.BaseBean; +import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil; +import cn.estsh.i3plus.pojo.base.enumutil.ImppEnumUtil; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.Api; @@ -13,6 +15,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; +import javax.persistence.Transient; /** * @Description : 单号规则 @@ -58,20 +61,36 @@ public class SysOrderNoRule extends BaseBean { private Long serialNoLength; @Column(name = "IS_CYCLE") - @ApiParam(value = "达到最大值后是否循环",example = "1") + @ApiParam(value = "达到最大值后是否循环",example = "1",hidden = true) private Integer isCycle; + @Transient + @ApiParam(value = "达到最大值后是否循环",example = "否") + private String isCycleName; + + public String getIsCycleName() { + if(isCycle != null){ + CommonEnumUtil.TRUE_OR_FALSE.valueOf(isCycle); + } + return isCycleName; + } + + public void setIsCycleName(String isCycleName) { + this.isCycleName = isCycleName; + this.isCycle = CommonEnumUtil.TRUE_OR_FALSE.descOf(isCycleName); + } + @Column(name = "SERIAL_NO") - @ApiParam(value = "当前流水号",example = "-1") + @ApiParam(value = "当前流水号",example = "-1",hidden = true) @JsonSerialize(using = ToStringSerializer.class) private Long serialNo; @Column(name = "ORDER_NO") - @ApiParam(value = "当前单号") + @ApiParam(value = "当前单号",hidden = true) private String orderNo; @Column(name = "ORDER_NO_RULE_STATUS") - @ApiParam(value = "单号规则状态") + @ApiParam(value = "单号规则状态",hidden = true) private Integer orderNoRuleStatus; @Column(name="ORDER_NO_RULE_DESCRIPTION") From 263384eaaa03193448b8ee32d75f459ff3c36b24 Mon Sep 17 00:00:00 2001 From: jimmy <1622218722@qq.com> Date: Mon, 10 Dec 2018 10:30:16 +0800 Subject: [PATCH 24/24] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java index eabefdf..494586d 100644 --- a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java +++ b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/wms/CheckPointModel.java @@ -41,5 +41,4 @@ public class CheckPointModel { *实际抽点数量【从前端输入获取】 */ private Integer actQty; - }