|
|
@@ -18,6 +18,7 @@ import com.jeesite.common.mybatis.mapper.query.QueryType;
|
|
|
@Column(name="doc_line_no", attrName="docLineNo", label="行号"),
|
|
|
@Column(name="lot_code", attrName="lotCode", label="批号"),
|
|
|
@Column(name="cp_code", attrName="cpCode", label="成品号"),
|
|
|
+ @Column(name="sale_qty", attrName="saleQty", label="销售数量"),
|
|
|
@Column(name="sh_state", attrName="shState", label="审核状态", comment="审核状态(1=审核后,2=弃审,3=删除)"),
|
|
|
@Column(name="mes_state", attrName="mesState", label="mes完成情况", comment="mes完成情况(1=未扫码,2=已扫码)"),
|
|
|
@Column(name="create_by", attrName="createBy", label="创建人", isUpdate=false, isQuery=false),
|
|
|
@@ -27,23 +28,33 @@ import com.jeesite.common.mybatis.mapper.query.QueryType;
|
|
|
}, orderBy="a.update_date DESC"
|
|
|
)
|
|
|
public class MesProductSale extends DataEntity<MesProductSale> {
|
|
|
-
|
|
|
+
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
private String saleOrder; // 销售订单号
|
|
|
private String docLineNo; // 行号
|
|
|
private String lotCode; // 批号
|
|
|
private String cpCode; // 成品号
|
|
|
+
|
|
|
+ private String saleQty; //销售数量
|
|
|
private String shState; // 审核状态(1=审核后,2=弃审,3=删除)
|
|
|
private String mesState; // mes完成情况(1=未扫码,2=已扫码)
|
|
|
|
|
|
public MesProductSale() {
|
|
|
this(null);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public MesProductSale(String id){
|
|
|
super(id);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ public String getSaleQty() {
|
|
|
+ return saleQty;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSaleQty(String saleQty) {
|
|
|
+ this.saleQty = saleQty;
|
|
|
+ }
|
|
|
+
|
|
|
@Size(min=0, max=64, message="销售订单号长度不能超过 64 个字符")
|
|
|
public String getSaleOrder() {
|
|
|
return saleOrder;
|
|
|
@@ -52,7 +63,7 @@ public class MesProductSale extends DataEntity<MesProductSale> {
|
|
|
public void setSaleOrder(String saleOrder) {
|
|
|
this.saleOrder = saleOrder;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=64, message="行号长度不能超过 64 个字符")
|
|
|
public String getDocLineNo() {
|
|
|
return docLineNo;
|
|
|
@@ -61,7 +72,7 @@ public class MesProductSale extends DataEntity<MesProductSale> {
|
|
|
public void setDocLineNo(String docLineNo) {
|
|
|
this.docLineNo = docLineNo;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=64, message="批号长度不能超过 64 个字符")
|
|
|
public String getLotCode() {
|
|
|
return lotCode;
|
|
|
@@ -70,7 +81,7 @@ public class MesProductSale extends DataEntity<MesProductSale> {
|
|
|
public void setLotCode(String lotCode) {
|
|
|
this.lotCode = lotCode;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=64, message="成品号长度不能超过 64 个字符")
|
|
|
public String getCpCode() {
|
|
|
return cpCode;
|
|
|
@@ -79,7 +90,7 @@ public class MesProductSale extends DataEntity<MesProductSale> {
|
|
|
public void setCpCode(String cpCode) {
|
|
|
this.cpCode = cpCode;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=1, message="审核状态长度不能超过 1 个字符")
|
|
|
public String getShState() {
|
|
|
return shState;
|
|
|
@@ -88,7 +99,7 @@ public class MesProductSale extends DataEntity<MesProductSale> {
|
|
|
public void setShState(String shState) {
|
|
|
this.shState = shState;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Size(min=0, max=1, message="mes完成情况长度不能超过 1 个字符")
|
|
|
public String getMesState() {
|
|
|
return mesState;
|
|
|
@@ -97,5 +108,5 @@ public class MesProductSale extends DataEntity<MesProductSale> {
|
|
|
public void setMesState(String mesState) {
|
|
|
this.mesState = mesState;
|
|
|
}
|
|
|
-
|
|
|
-}
|
|
|
+
|
|
|
+}
|