Commit 1f76cc4d by 徐澳

修改

parent 878d4691
...@@ -16,7 +16,7 @@ import com.baosight.iplat4j.core.util.StringUtils; ...@@ -16,7 +16,7 @@ import com.baosight.iplat4j.core.util.StringUtils;
*/ */
public class THppz004 extends DaoEPBase { public class THppz004 extends DaoEPBase {
private Integer id = 0; private Long id = 0L;
private String companyCode = " "; /* 企业编码 预留*/ private String companyCode = " "; /* 企业编码 预留*/
private String inventName = " "; /* 存货名称*/ private String inventName = " "; /* 存货名称*/
private String inventCode = " "; /* 存货编码*/ private String inventCode = " "; /* 存货编码*/
...@@ -91,14 +91,14 @@ initMetaData(); ...@@ -91,14 +91,14 @@ initMetaData();
* get the id * get the id
* @return the id * @return the id
*/ */
public Integer getId() { public Long getId() {
return this.id; return this.id;
} }
/** /**
* set the id * set the id
*/ */
public void setId(Integer id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
/** /**
...@@ -246,7 +246,7 @@ initMetaData(); ...@@ -246,7 +246,7 @@ initMetaData();
*/ */
public void fromMap(Map map) { public void fromMap(Map map) {
setId(NumberUtils.toInteger(StringUtils.toString(map.get("id")), id)); setId(NumberUtils.toLong(StringUtils.toString(map.get("id")), id));
setCompanyCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("companyCode")), companyCode)); setCompanyCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("companyCode")), companyCode));
setInventName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("inventName")), inventName)); setInventName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("inventName")), inventName));
setInventCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("inventCode")), inventCode)); setInventCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("inventCode")), inventCode));
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<EF:EFColumn ename="id" cname="内码" hidden="true"/> <EF:EFColumn ename="id" cname="内码" hidden="true"/>
<EF:EFComboColumn ename="custType" cname="供应商类型" align="center" <EF:EFComboColumn ename="custType" cname="供应商类型" align="center"
columnTemplate="#=textField#-#=valueField#" optionLabel=" " columnTemplate="#=valueField#-#=textField#" optionLabel=" "
itemTemplate="#=textField#-#=valueField#" textField="textField" itemTemplate="#=valueField#-#=textField#" textField="textField"
valueField="valueField" width="100" required="true"> valueField="valueField" width="100" required="true">
<EF:EFOption label="--请选择--" value=""></EF:EFOption> <EF:EFOption label="--请选择--" value=""></EF:EFOption>
<EF:EFOption label="国企" value="1"></EF:EFOption> <EF:EFOption label="国企" value="1"></EF:EFOption>
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
<EF:EFColumn ename="custCode" cname="供应商编码" width="100" readonly="false" required="true"/> <EF:EFColumn ename="custCode" cname="供应商编码" width="100" readonly="false" required="true"/>
<EF:EFColumn ename="custName" cname="供应商名称" width="100" readonly="false" required="true"/> <EF:EFColumn ename="custName" cname="供应商名称" width="100" readonly="false" required="true"/>
<EF:EFColumn ename="address" cname="地址" width="100" readonly="false" required="true"/> <EF:EFColumn ename="address" cname="地址" width="100" readonly="false" required="true"/>
<EF:EFComboColumn ename="status" cname="状态" align="center" columnTemplate="#=textField#-#=valueField#" optionLabel=" " <EF:EFComboColumn ename="status" cname="状态" align="center" columnTemplate="#=valueField#-#=textField#" optionLabel=" "
itemTemplate="#=textField#-#=valueField#" textField="textField" itemTemplate="#=valueField#-#=textField#" textField="textField"
valueField="valueField" width="100" required="true"> valueField="valueField" width="100" required="true">
<EF:EFOption label="--请选择--" value=""></EF:EFOption> <EF:EFOption label="--请选择--" value=""></EF:EFOption>
<EF:EFOption label="启用" value="1"></EF:EFOption> <EF:EFOption label="启用" value="1"></EF:EFOption>
......
...@@ -9,7 +9,10 @@ ...@@ -9,7 +9,10 @@
<EF:EFRegion id="inqu" title="查询条件"> <EF:EFRegion id="inqu" title="查询条件">
<div class="row"> <div class="row">
<EF:EFInput ename="inqu_status-0-inventName" cname="存货类型" colWidth="4" readonly="false"/> <EF:EFSelect ename="inqu_status-0-inventType" cname="存货类型" colWidth="4">
<EF:EFOption label="--请选择--" value=""/>
<EF:EFOption label="待定" value="1"></EF:EFOption>
</EF:EFSelect>
<EF:EFSelect ename="inqu_status-0-status" cname="状态" colWidth="4"> <EF:EFSelect ename="inqu_status-0-status" cname="状态" colWidth="4">
<EF:EFOption label="--请选择--" value=""/> <EF:EFOption label="--请选择--" value=""/>
<EF:EFOption label="启用" value="1"></EF:EFOption> <EF:EFOption label="启用" value="1"></EF:EFOption>
...@@ -24,14 +27,14 @@ ...@@ -24,14 +27,14 @@
<EF:EFColumn ename="id" cname="内码" hidden="true"/> <EF:EFColumn ename="id" cname="内码" hidden="true"/>
<EF:EFColumn ename="inventCode" cname="类型编码" width="100" readonly="false" required="true"/> <EF:EFColumn ename="inventCode" cname="类型编码" width="100" readonly="false" required="true"/>
<EF:EFColumn ename="inventName" cname="存货名称" width="100" readonly="false" required="true"/> <EF:EFColumn ename="inventName" cname="存货名称" width="100" readonly="false" required="true"/>
<EF:EFComboColumn ename="inventType" cname="存货类型" align="center" columnTemplate="#=textField#-#=valueField#" optionLabel=" " <EF:EFComboColumn ename="inventType" cname="存货类型" align="center" columnTemplate="#=valueField#-#=textField#" optionLabel=" "
itemTemplate="#=textField#-#=valueField#" textField="textField" itemTemplate="#=valueField#-#=textField#" textField="textField"
valueField="valueField" width="100" required="true"> valueField="valueField" width="100" required="true">
<EF:EFOption label="--请选择--" value=""></EF:EFOption> <EF:EFOption label="--请选择--" value=""></EF:EFOption>
<EF:EFOption label="待定" value="1"></EF:EFOption> <EF:EFOption label="待定" value="1"></EF:EFOption>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFComboColumn ename="status" cname="状态" align="center" columnTemplate="#=textField#-#=valueField#" optionLabel=" " <EF:EFComboColumn ename="status" cname="状态" align="center" columnTemplate="#=valueField#-#=textField#" optionLabel=" "
itemTemplate="#=textField#-#=valueField#" textField="textField" itemTemplate="#=valueField#-#=textField#" textField="textField"
valueField="valueField" width="100" required="true"> valueField="valueField" width="100" required="true">
<EF:EFOption label="--请选择--" value=""></EF:EFOption> <EF:EFOption label="--请选择--" value=""></EF:EFOption>
<EF:EFOption label="启用" value="1"></EF:EFOption> <EF:EFOption label="启用" value="1"></EF:EFOption>
......
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