Commit e2aae5ff by 徐澳

存货档案

parent a29560b8
/**
* Generate time : 2024-01-10 15:43:22
* Generate time : 2024-01-10 18:46:04
* Version : 1.0
*/
package com.baosight.hpjx.hp.pz.domain;
......@@ -18,8 +18,8 @@ public class THppz006 extends DaoEPBase {
private Long id = 0L;
private String companyCode = " "; /* 企业编码 预留*/
private String inventName = " "; /* 存货名称*/
private String inventCode = " "; /* 存货编码*/
private int inventName; /* 存货名称*/
private int inventCode; /* 存货编码*/
private int inventType; /* 存货类型*/
private int status; /* 状态 0未启用 1启用*/
private String spec = " "; /* 规格*/
......@@ -154,28 +154,28 @@ initMetaData();
* get the inventName - 存货名称
* @return the inventName
*/
public String getInventName() {
public int getInventName() {
return this.inventName;
}
/**
* set the inventName - 存货名称
*/
public void setInventName(String inventName) {
public void setInventName(int inventName) {
this.inventName = inventName;
}
/**
* get the inventCode - 存货编码
* @return the inventCode
*/
public String getInventCode() {
public int getInventCode() {
return this.inventCode;
}
/**
* set the inventCode - 存货编码
*/
public void setInventCode(String inventCode) {
public void setInventCode(int inventCode) {
this.inventCode = inventCode;
}
/**
......@@ -381,8 +381,8 @@ public void fromMap(Map map) {
setId(NumberUtils.toLong(StringUtils.toString(map.get("id")), id));
setCompanyCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("companyCode")), companyCode));
setInventName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("inventName")), inventName));
setInventCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("inventCode")), inventCode));
setInventName(NumberUtils.toint(StringUtils.toString(map.get("inventName")), inventName));
setInventCode(NumberUtils.toint(StringUtils.toString(map.get("inventCode")), inventCode));
setInventType(NumberUtils.toint(StringUtils.toString(map.get("inventType")), inventType));
setStatus(NumberUtils.toint(StringUtils.toString(map.get("status")), status));
setSpec(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("spec")), spec));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment