diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInTask.java b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInTask.java index 61482ef..0a32bbb 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInTask.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInTask.java @@ -16,7 +16,7 @@ public class WmsInTask extends BaseEntity private static final long serialVersionUID = 1L; /** 主键 */ - private String id; + private Long id; /** 任务编码 */ @Excel(name = "任务编码") @@ -44,7 +44,7 @@ public class WmsInTask extends BaseEntity /** 是否激活 */ @Excel(name = "是否激活") - private String isActivy; + private String isActive; /** 是否删除 */ @Excel(name = "是否删除") @@ -74,12 +74,16 @@ public class WmsInTask extends BaseEntity @Excel(name = "物料编码") private String materialCode; - public void setId(String id) + /** 入库明细ID */ + @Excel(name = "入库明细ID") + private Long detailInId; + + public void setId(Long id) { this.id = id; } - public String getId() + public Long getId() { return id; } @@ -137,14 +141,14 @@ public class WmsInTask extends BaseEntity { return cellOrig; } - public void setIsActivy(String isActivy) + public void setIsActive(String isActivy) { - this.isActivy = isActivy; + this.isActive = isActivy; } - public String getIsActivy() + public String getIsActive() { - return isActivy; + return isActive; } public void setIsDelete(String isDelete) { @@ -210,6 +214,14 @@ public class WmsInTask extends BaseEntity return materialCode; } + public Long getDetailInId() { + return detailInId; + } + + public void setDetailInId(Long detailInId) { + this.detailInId = detailInId; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) @@ -225,7 +237,7 @@ public class WmsInTask extends BaseEntity .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) - .append("isActivy", getIsActivy()) + .append("isActive", getIsActive()) .append("isDelete", getIsDelete()) .append("batch", getBatch()) .append("materialId", getMaterialId()) @@ -233,6 +245,7 @@ public class WmsInTask extends BaseEntity .append("planInStatus", getPlanInStatus()) .append("planInCode", getPlanInCode()) .append("materialCode", getMaterialCode()) + .append("detailInId", getDetailInId()) .toString(); } } diff --git a/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml b/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml index 2fbef0b..1680e81 100644 --- a/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml +++ b/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml @@ -17,7 +17,7 @@ - + @@ -25,6 +25,7 @@ + @@ -40,14 +41,15 @@ CREATE_TIME, UPDATE_BY, UPDATE_TIME, - IS_ACTIVY, + IS_ACTIVE, IS_DELETE, BATCH, MATERIAL_ID, PLAN_TYPE_ID, PLAN_IN_STATUS, PLAN_IN_CODE, - MATERIAL_CODE + MATERIAL_CODE, + DETAIL_IN_ID from WMS_IN_TASK @@ -67,7 +69,7 @@ and CREATE_TIME = #{createTime} and UPDATE_BY = #{updateBy} and UPDATE_TIME = #{updateTime} - and IS_ACTIVY = #{isActivy} + and IS_ACTIVE = #{isActive} and IS_DELETE = #{isDelete} and BATCH = #{batch} and MATERIAL_ID = #{materialId} @@ -75,6 +77,7 @@ and PLAN_IN_STATUS = #{planInStatus} and PLAN_IN_CODE = #{planInCode} and MATERIAL_CODE = #{materialCode} + and DETAIL_IN_ID = #{detailInId} @@ -97,7 +100,7 @@ CREATE_TIME, UPDATE_BY, UPDATE_TIME, - IS_ACTIVY, + IS_ACTIVE, IS_DELETE, BATCH, MATERIAL_ID, @@ -105,6 +108,7 @@ PLAN_IN_STATUS, PLAN_IN_CODE, MATERIAL_CODE, + DETAIL_IN_ID, #{taskInCode}, @@ -118,7 +122,7 @@ #{createTime}, #{updateBy}, #{updateTime}, - #{isActivy}, + #{isActive}, #{isDelete}, #{batch}, #{materialId}, @@ -126,6 +130,7 @@ #{planInStatus}, #{planInCode}, #{materialCode}, + #{detailInId}, @@ -143,7 +148,7 @@ CREATE_TIME = #{createTime}, UPDATE_BY = #{updateBy}, UPDATE_TIME = #{updateTime}, - IS_ACTIVY = #{isActivy}, + IS_ACTIVE = #{isActive}, IS_DELETE = #{isDelete}, BATCH = #{batch}, MATERIAL_ID = #{materialId}, @@ -151,6 +156,7 @@ PLAN_IN_STATUS = #{planInStatus}, PLAN_IN_CODE = #{planInCode}, MATERIAL_CODE = #{materialCode}, + DETAIL_IN_ID = #{detailInId}, where ID = #{id}