Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hp-smart
Commits
93e33f14
Commit
93e33f14
authored
Jan 22, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.仓库档案页面完善
parent
253a4e1f
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
429 additions
and
311 deletions
+429
-311
HPConstant.java
src/main/java/com/baosight/hpjx/hp/constant/HPConstant.java
+2
-0
HPPZ007.java
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ007.java
+252
-117
ServiceHPPZ007.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
+73
-76
HPPZ007.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ007.xml
+55
-81
HPPZ006.jsp
src/main/webapp/HP/PZ/HPPZ006.jsp
+1
-2
HPPZ007.js
src/main/webapp/HP/PZ/HPPZ007.js
+21
-8
HPPZ007.jsp
src/main/webapp/HP/PZ/HPPZ007.jsp
+25
-27
No files found.
src/main/java/com/baosight/hpjx/hp/constant/HPConstant.java
View file @
93e33f14
...
...
@@ -30,6 +30,8 @@ public class HPConstant {
public
static
final
String
HPPZ003_CUST_CODE
=
"HPPZ003_CUST_CODE"
;
// 存货编码
public
static
final
String
INVENT_CODE
=
"INVENT_CODE"
;
// 仓库编码
public
static
final
String
WH_CODE
=
"WH_CODE"
;
}
/**
...
...
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ007.java
View file @
93e33f14
/**
* Generate time : 2024-01-09 15:56:49
* Version : 1.0
*/
package
com
.
baosight
.
hpjx
.
hp
.
pz
.
domain
;
import
com.baosight.iplat4j.core.util.NumberUtils
;
import
com.baosight.iplat4j.core.util.DateUtils
;
import
java.sql.Timestamp
;
import
com.baosight.iplat4j.core.ei.EiColumn
;
import
com.baosight.iplat4j.core.data.DaoEPBase
;
import
java.util.HashMap
;
...
...
@@ -13,98 +8,161 @@ import java.util.Map;
import
com.baosight.iplat4j.core.util.StringUtils
;
/**
* THppz007
*
*/
* Project: <br>
* Title:THppz007.java <br>
* Description: <br>
*
* Copyrigth:Baosight Software LTD.co Copyright (c) 2019. <br>
*
* @version 1.0
* @history 2024-01-22 15:51:09 create
*/
public
class
HPPZ007
extends
DaoEPBase
{
private
Integer
id
=
0
;
private
static
final
long
serialVersionUID
=
1L
;
public
static
final
String
FIELD_ID
=
"id"
;
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 企业编码 预留*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码 预留*/
public
static
final
String
FIELD_WH_TYPE
=
"whType"
;
/* 仓库类型*/
public
static
final
String
FIELD_WH_CODE
=
"whCode"
;
/* 仓库编码*/
public
static
final
String
FIELD_WH_NAME
=
"whName"
;
/* 仓库名称*/
public
static
final
String
FIELD_PRINC
=
"princ"
;
/* 负责人*/
public
static
final
String
FIELD_STATUS
=
"status"
;
/* 状态 0未启用 1启用*/
public
static
final
String
FIELD_CREATED_BY
=
"createdBy"
;
/* 创建人*/
public
static
final
String
FIELD_CREATED_NAME
=
"createdName"
;
/* 创建人名称*/
public
static
final
String
FIELD_CREATED_TIME
=
"createdTime"
;
/* 创建时间*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 修改人*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 修改人名称*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 修改时间*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 企业编码 预留*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码 预留*/
public
static
final
String
COL_WH_TYPE
=
"WH_TYPE"
;
/* 仓库类型*/
public
static
final
String
COL_WH_CODE
=
"WH_CODE"
;
/* 仓库编码*/
public
static
final
String
COL_WH_NAME
=
"WH_NAME"
;
/* 仓库名称*/
public
static
final
String
COL_PRINC
=
"PRINC"
;
/* 负责人*/
public
static
final
String
COL_STATUS
=
"STATUS"
;
/* 状态 0未启用 1启用*/
public
static
final
String
COL_CREATED_BY
=
"CREATED_BY"
;
/* 创建人*/
public
static
final
String
COL_CREATED_NAME
=
"CREATED_NAME"
;
/* 创建人名称*/
public
static
final
String
COL_CREATED_TIME
=
"CREATED_TIME"
;
/* 创建时间*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 修改人*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 修改人名称*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 修改时间*/
public
static
final
String
QUERY
=
"HPPZ007.query"
;
public
static
final
String
COUNT
=
"HPPZ007.count"
;
public
static
final
String
INSERT
=
"HPPZ007.insert"
;
public
static
final
String
UPDATE
=
"HPPZ007.update"
;
public
static
final
String
DELETE
=
"HPPZ007.delete"
;
private
Long
id
=
null
;
private
String
companyCode
=
" "
;
/* 企业编码 预留*/
private
String
depCode
=
" "
;
/* 部门编码 预留*/
private
String
whType
=
" "
;
/* 仓库类型*/
private
String
whCode
=
" "
;
/* 仓库编码*/
private
String
whName
=
" "
;
/* 仓库名称*/
private
String
princ
=
" "
;
/* 负责人*/
private
int
status
;
/* 状态 0未启用 1启用*/
private
Timestamp
createdTime
;
/* 创建时间*/
private
Integer
status
=
1
;
/* 状态 0未启用 1启用*/
private
String
createdBy
=
" "
;
/* 创建人*/
private
Timestamp
updatedTime
;
/* 修改时间*/
private
String
createdName
=
" "
;
/* 创建人名称*/
private
String
createdTime
=
" "
;
/* 创建时间*/
private
String
updatedBy
=
" "
;
/* 修改人*/
/**
* initialize the metadata
*/
public
void
initMetaData
()
{
EiColumn
eiColumn
;
private
String
updatedName
=
" "
;
/* 修改人名称*/
private
String
updatedTime
=
" "
;
/* 修改时间*/
/**
* initialize the metadata.
*/
public
void
initMetaData
()
{
EiColumn
eiColumn
;
eiColumn
=
new
EiColumn
(
"id"
);
eiColumn
=
new
EiColumn
(
FIELD_ID
);
eiColumn
.
setPrimaryKey
(
true
);
eiColumn
.
setDescName
(
" "
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"companyCode"
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_CODE
);
eiColumn
.
setDescName
(
"企业编码 预留"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"whType"
);
eiColumn
=
new
EiColumn
(
FIELD_DEP_CODE
);
eiColumn
.
setDescName
(
"部门编码 预留"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_WH_TYPE
);
eiColumn
.
setDescName
(
"仓库类型"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"whCode"
);
eiColumn
=
new
EiColumn
(
FIELD_WH_CODE
);
eiColumn
.
setDescName
(
"仓库编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"whName"
);
eiColumn
=
new
EiColumn
(
FIELD_WH_NAME
);
eiColumn
.
setDescName
(
"仓库名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"princ"
);
eiColumn
=
new
EiColumn
(
FIELD_PRINC
);
eiColumn
.
setDescName
(
"负责人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"status"
);
eiColumn
=
new
EiColumn
(
FIELD_STATUS
);
eiColumn
.
setDescName
(
"状态 0未启用 1启用"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"createdTime"
);
eiColumn
.
setDescName
(
"创建时间
"
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_BY
);
eiColumn
.
setDescName
(
"创建人
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"createdBy"
);
eiColumn
.
setDescName
(
"创建人
"
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_NAME
);
eiColumn
.
setDescName
(
"创建人名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"updatedTime"
);
eiColumn
.
setDescName
(
"修改
时间"
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_TIME
);
eiColumn
.
setDescName
(
"创建
时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"updatedBy"
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_BY
);
eiColumn
.
setDescName
(
"修改人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_NAME
);
eiColumn
.
setDescName
(
"修改人名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
/**
* the constructor
*/
public
HPPZ007
()
{
initMetaData
();
}
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_TIME
);
eiColumn
.
setDescName
(
"修改时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
/**
* the constructor.
*/
public
HPPZ007
()
{
initMetaData
();
}
/**
* get the id
* get the id .
* @return the id
*/
public
Integer
getId
()
{
public
Long
getId
()
{
return
this
.
id
;
}
/**
* set the id
* set the id .
*
* @param id
*/
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* get the companyCode - 企业编码 预留
* get the companyCode - 企业编码 预留.
* @return the companyCode
*/
public
String
getCompanyCode
()
{
...
...
@@ -112,13 +170,31 @@ initMetaData();
}
/**
* set the companyCode - 企业编码 预留
* set the companyCode - 企业编码 预留.
*
* @param companyCode - 企业编码 预留
*/
public
void
setCompanyCode
(
String
companyCode
)
{
this
.
companyCode
=
companyCode
;
}
/**
* get the whType - 仓库类型
* get the depCode - 部门编码 预留.
* @return the depCode
*/
public
String
getDepCode
()
{
return
this
.
depCode
;
}
/**
* set the depCode - 部门编码 预留.
*
* @param depCode - 部门编码 预留
*/
public
void
setDepCode
(
String
depCode
)
{
this
.
depCode
=
depCode
;
}
/**
* get the whType - 仓库类型.
* @return the whType
*/
public
String
getWhType
()
{
...
...
@@ -126,13 +202,15 @@ initMetaData();
}
/**
* set the whType - 仓库类型
* set the whType - 仓库类型.
*
* @param whType - 仓库类型
*/
public
void
setWhType
(
String
whType
)
{
this
.
whType
=
whType
;
}
/**
* get the whCode - 仓库编码
* get the whCode - 仓库编码.
* @return the whCode
*/
public
String
getWhCode
()
{
...
...
@@ -140,13 +218,15 @@ initMetaData();
}
/**
* set the whCode - 仓库编码
* set the whCode - 仓库编码.
*
* @param whCode - 仓库编码
*/
public
void
setWhCode
(
String
whCode
)
{
this
.
whCode
=
whCode
;
}
/**
* get the whName - 仓库名称
* get the whName - 仓库名称.
* @return the whName
*/
public
String
getWhName
()
{
...
...
@@ -154,13 +234,15 @@ initMetaData();
}
/**
* set the whName - 仓库名称
* set the whName - 仓库名称.
*
* @param whName - 仓库名称
*/
public
void
setWhName
(
String
whName
)
{
this
.
whName
=
whName
;
}
/**
* get the princ - 负责人
* get the princ - 负责人.
* @return the princ
*/
public
String
getPrinc
()
{
...
...
@@ -168,69 +250,79 @@ initMetaData();
}
/**
* set the princ - 负责人
* set the princ - 负责人.
*
* @param princ - 负责人
*/
public
void
setPrinc
(
String
princ
)
{
this
.
princ
=
princ
;
}
/**
* get the status - 状态 0未启用 1启用
* get the status - 状态 0未启用 1启用.
* @return the status
*/
public
int
getStatus
()
{
public
Integer
getStatus
()
{
return
this
.
status
;
}
/**
* set the status - 状态 0未启用 1启用
* set the status - 状态 0未启用 1启用.
*
* @param status - 状态 0未启用 1启用
*/
public
void
setStatus
(
int
status
)
{
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
/**
* get the createdTime - 创建时间
* @return the createdTime
* get the createdBy - 创建人.
* @return the createdBy
*/
public
Timestamp
getCreatedTime
()
{
return
this
.
createdTime
;
public
String
getCreatedBy
()
{
return
this
.
createdBy
;
}
/**
* set the createdTime - 创建时间
* set the createdBy - 创建人.
*
* @param createdBy - 创建人
*/
public
void
setCreatedTime
(
Timestamp
createdTime
)
{
this
.
createdTime
=
createdTime
;
public
void
setCreatedBy
(
String
createdBy
)
{
this
.
createdBy
=
createdBy
;
}
/**
* get the createdBy - 创建人
* @return the createdBy
* get the createdName - 创建人名称.
* @return the createdName
*/
public
String
getCreatedBy
()
{
return
this
.
createdBy
;
public
String
getCreatedName
()
{
return
this
.
createdName
;
}
/**
* set the createdBy - 创建人
* set the createdName - 创建人名称.
*
* @param createdName - 创建人名称
*/
public
void
setCreatedBy
(
String
createdBy
)
{
this
.
createdBy
=
createdBy
;
public
void
setCreatedName
(
String
createdName
)
{
this
.
createdName
=
createdName
;
}
/**
* get the updatedTime - 修改时间
* @return the upd
atedTime
* get the createdTime - 创建时间.
* @return the cre
atedTime
*/
public
Timestamp
getUpd
atedTime
()
{
return
this
.
upd
atedTime
;
public
String
getCre
atedTime
()
{
return
this
.
cre
atedTime
;
}
/**
* set the updatedTime - 修改时间
* set the createdTime - 创建时间.
*
* @param createdTime - 创建时间
*/
public
void
setUpdatedTime
(
Timestamp
upd
atedTime
)
{
this
.
updatedTime
=
upd
atedTime
;
public
void
setCreatedTime
(
String
cre
atedTime
)
{
this
.
createdTime
=
cre
atedTime
;
}
/**
* get the updatedBy - 修改人
* get the updatedBy - 修改人.
* @return the updatedBy
*/
public
String
getUpdatedBy
()
{
...
...
@@ -238,48 +330,91 @@ initMetaData();
}
/**
* set the updatedBy - 修改人
* set the updatedBy - 修改人.
*
* @param updatedBy - 修改人
*/
public
void
setUpdatedBy
(
String
updatedBy
)
{
this
.
updatedBy
=
updatedBy
;
}
/**
* get the value from Map
*/
public
void
fromMap
(
Map
map
)
{
setId
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
"id"
)),
id
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"companyCode"
)),
companyCode
));
setWhType
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"whType"
)),
whType
));
setWhCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"whCode"
)),
whCode
));
setWhName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"whName"
)),
whName
));
setPrinc
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"princ"
)),
princ
));
setStatus
(
NumberUtils
.
toint
(
StringUtils
.
toString
(
map
.
get
(
"status"
)),
status
));
setCreatedTime
(
DateUtils
.
toTimestamp
(
StringUtils
.
toString
(
map
.
get
(
"createdTime"
))));
setCreatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"createdBy"
)),
createdBy
));
setUpdatedTime
(
DateUtils
.
toTimestamp
(
StringUtils
.
toString
(
map
.
get
(
"updatedTime"
))));
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"updatedBy"
)),
updatedBy
));
}
/**
* get the updatedName - 修改人名称.
* @return the updatedName
*/
public
String
getUpdatedName
()
{
return
this
.
updatedName
;
}
/**
* set the value to Map
*/
public
Map
toMap
()
{
Map
map
=
new
HashMap
();
map
.
put
(
"id"
,
StringUtils
.
toString
(
id
,
eiMetadata
.
getMeta
(
"id"
)));
map
.
put
(
"companyCode"
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
"companyCode"
)));
map
.
put
(
"whType"
,
StringUtils
.
toString
(
whType
,
eiMetadata
.
getMeta
(
"whType"
)));
map
.
put
(
"whCode"
,
StringUtils
.
toString
(
whCode
,
eiMetadata
.
getMeta
(
"whCode"
)));
map
.
put
(
"whName"
,
StringUtils
.
toString
(
whName
,
eiMetadata
.
getMeta
(
"whName"
)));
map
.
put
(
"princ"
,
StringUtils
.
toString
(
princ
,
eiMetadata
.
getMeta
(
"princ"
)));
map
.
put
(
"status"
,
StringUtils
.
toString
(
status
,
eiMetadata
.
getMeta
(
"status"
)));
map
.
put
(
"createdTime"
,
StringUtils
.
toString
(
createdTime
,
eiMetadata
.
getMeta
(
"createdTime"
)));
map
.
put
(
"createdBy"
,
StringUtils
.
toString
(
createdBy
,
eiMetadata
.
getMeta
(
"createdBy"
)));
map
.
put
(
"updatedTime"
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
"updatedTime"
)));
map
.
put
(
"updatedBy"
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
"updatedBy"
)));
return
map
;
/**
* set the updatedName - 修改人名称.
*
* @param updatedName - 修改人名称
*/
public
void
setUpdatedName
(
String
updatedName
)
{
this
.
updatedName
=
updatedName
;
}
/**
* get the updatedTime - 修改时间.
* @return the updatedTime
*/
public
String
getUpdatedTime
()
{
return
this
.
updatedTime
;
}
}
/**
* set the updatedTime - 修改时间.
*
* @param updatedTime - 修改时间
*/
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
}
/**
* get the value from Map.
*
* @param map - source data map
*/
@Override
public
void
fromMap
(
Map
map
)
{
setId
(
NumberUtils
.
toLong
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ID
)),
id
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_CODE
)),
companyCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
setWhType
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_TYPE
)),
whType
));
setWhCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_CODE
)),
whCode
));
setWhName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_NAME
)),
whName
));
setPrinc
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRINC
)),
princ
));
setStatus
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_STATUS
)),
status
));
setCreatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CREATED_BY
)),
createdBy
));
setCreatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CREATED_NAME
)),
createdName
));
setCreatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CREATED_TIME
)),
createdTime
));
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
}
/**
* set the value to Map.
*/
@Override
public
Map
toMap
()
{
Map
map
=
new
HashMap
();
map
.
put
(
FIELD_ID
,
StringUtils
.
toString
(
id
,
eiMetadata
.
getMeta
(
FIELD_ID
)));
map
.
put
(
FIELD_COMPANY_CODE
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_CODE
)));
map
.
put
(
FIELD_DEP_CODE
,
StringUtils
.
toString
(
depCode
,
eiMetadata
.
getMeta
(
FIELD_DEP_CODE
)));
map
.
put
(
FIELD_WH_TYPE
,
StringUtils
.
toString
(
whType
,
eiMetadata
.
getMeta
(
FIELD_WH_TYPE
)));
map
.
put
(
FIELD_WH_CODE
,
StringUtils
.
toString
(
whCode
,
eiMetadata
.
getMeta
(
FIELD_WH_CODE
)));
map
.
put
(
FIELD_WH_NAME
,
StringUtils
.
toString
(
whName
,
eiMetadata
.
getMeta
(
FIELD_WH_NAME
)));
map
.
put
(
FIELD_PRINC
,
StringUtils
.
toString
(
princ
,
eiMetadata
.
getMeta
(
FIELD_PRINC
)));
map
.
put
(
FIELD_STATUS
,
StringUtils
.
toString
(
status
,
eiMetadata
.
getMeta
(
FIELD_STATUS
)));
map
.
put
(
FIELD_CREATED_BY
,
StringUtils
.
toString
(
createdBy
,
eiMetadata
.
getMeta
(
FIELD_CREATED_BY
)));
map
.
put
(
FIELD_CREATED_NAME
,
StringUtils
.
toString
(
createdName
,
eiMetadata
.
getMeta
(
FIELD_CREATED_NAME
)));
map
.
put
(
FIELD_CREATED_TIME
,
StringUtils
.
toString
(
createdTime
,
eiMetadata
.
getMeta
(
FIELD_CREATED_TIME
)));
map
.
put
(
FIELD_UPDATED_BY
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_BY
)));
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
return
map
;
}
}
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
View file @
93e33f14
package
com
.
baosight
.
hpjx
.
hp
.
pz
.
service
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.kc.domain.HPKC007
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ007
;
import
com.baosight.
iplat4j.core.ei.EiBlock
;
import
com.baosight.
hpjx.util.LogUtils
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.exception.PlatException
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
com.baosight.iplat4j.
core.web.threadlocal.UserSession
;
import
com.baosight.iplat4j.
ed.util.SequenceGenerator
;
import
java.sql.Timestamp
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* @author:songx
* @date:2024/1/22,15:57
*/
public
class
ServiceHPPZ007
extends
ServiceBase
{
/**
* @param inInfo
* @return
*/
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
HPPZ007
hppz007
=
new
HPPZ007
();
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
hppz007
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
hppz007
.
eiMetadata
);
try
{
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPPZ007
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
}
/**
* 查询操作.
* 查询操作
*
* @param inInfo
* @return
*/
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
EiInfo
outInfo
=
super
.
query
(
inInfo
,
"HPPZ007.query"
,
new
HPPZ007
());
return
outInfo
;
try
{
inInfo
=
super
.
query
(
inInfo
,
HPPZ007
.
QUERY
,
new
HPKC007
());
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
}
/**
...
...
@@ -41,96 +55,79 @@ public class ServiceHPPZ007 extends ServiceBase {
*/
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
HPPZ007
hppz007
=
new
HPPZ007
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz007
.
fromMap
(
map
);
hppz007
.
setCreatedBy
(
UserSession
.
getLoginName
());
hppz007
.
setCreatedTime
(
Timestamp
.
valueOf
(
sdf
.
format
(
new
Date
())));
this
.
dao
.
insert
(
"HPPZ007.insert"
,
hppz007
.
toMap
());
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
// 数据写入
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HPPZ007
fPz007
=
new
HPPZ007
();
fPz007
.
fromMap
(
resultRows
.
get
(
i
));
// 仓库编码
fPz007
.
setWhCode
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
WH_CODE
));
DaoUtils
.
insert
(
HPPZ007
.
INSERT
,
fPz007
);
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"新增成功!"
);
}
catch
(
PlatException
e
)
{
e
.
printStackTrace
();
inInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
inInfo
.
setMsg
(
"新增失败!原因参见详细错误描述!"
);
inInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"新增失败"
,
e
.
getMessage
());
return
inInfo
;
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据新增成功!"
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"新增失败"
);
}
return
inInfo
;
}
/**
* 修改操作.
* 修改操作
*
* @param inInfo
* @return
*/
public
EiInfo
update
(
EiInfo
inInfo
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
HPPZ007
hppz007
=
new
HPPZ007
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz007
.
fromMap
(
map
);
hppz007
.
setUpdatedBy
(
UserSession
.
getLoginName
());
hppz007
.
setUpdatedTime
(
Timestamp
.
valueOf
(
sdf
.
format
(
new
Date
())));
System
.
out
.
println
(
Timestamp
.
valueOf
(
sdf
.
format
(
new
Date
())));
this
.
dao
.
update
(
"HPPZ007.update"
,
hppz007
.
toMap
());
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HPPZ007
fPz007
=
new
HPPZ007
();
fPz007
.
fromMap
(
resultRows
.
get
(
i
));
DaoUtils
.
update
(
HPPZ007
.
UPDATE
,
fPz007
);
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"修改成功!"
);
}
catch
(
PlatException
e
)
{
inInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
inInfo
.
setMsg
(
"操作失败!原因参见详细错误描述!"
);
inInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"修改失败"
,
e
.
getMessage
());
return
inInfo
;
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据修改成功!"
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"修改失败"
);
}
return
query
(
inInfo
)
;
return
inInfo
;
}
/**
* 删除操作.
* 删除操作
*
* @param inInfo
* @return
*/
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
HPPZ007
hppz007
=
new
HPPZ007
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz007
.
fromMap
(
map
);
this
.
dao
.
delete
(
"HPPZ007.delete"
,
hppz007
.
toMap
());
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
DaoUtils
.
update
(
HPPZ007
.
DELETE
,
resultRows
.
get
(
i
));
}
}
catch
(
PlatException
e
)
{
eiInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
eiInfo
.
setMsg
(
"删除失败,原因参见详细错误描述!"
);
eiInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"删除失败!"
,
e
.
getMessage
());
return
eiInfo
;
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据删除成功!"
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"删除失败"
);
}
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setMsg
(
"删除成功!"
);
return
eiInfo
;
return
inInfo
;
}
/**
* 根据仓库CODE找对象
*
* @param inInfo
* @return
*/
public
EiInfo
queryByWhCode
(
EiInfo
inInfo
)
{
Map
params
=
new
HashMap
<>();
Map
params
=
new
HashMap
<>();
params
.
put
(
"whCode"
,
inInfo
.
getString
(
"whCode"
));
List
query
=
dao
.
query
(
"HPPZ007.queryByWhCode"
,
params
);
List
query
=
dao
.
query
(
"HPPZ007.queryByWhCode"
,
params
);
inInfo
.
set
(
"list"
,
query
);
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ007.xml
View file @
93e33f14
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<!-- table information
Generate time : 2024-01-09 15:56:49
Version : 1.0
tableName :hpjx.t_hppz007
ID INTEGER NOT NULL primarykey,
COMPANY_CODE VARCHAR NOT NULL,
WH_TYPE VARCHAR NOT NULL,
WH_CODE VARCHAR NOT NULL,
WH_NAME VARCHAR NOT NULL,
PRINC VARCHAR NOT NULL,
STATUS TINYINT NOT NULL,
CREATED_TIME DATETIME,
CREATED_BY VARCHAR,
UPDATED_TIME DATETIME,
UPDATED_BY VARCHAR
-->
<sqlMap
namespace=
"HPPZ007"
>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hpjx.hp.pz.domain.HPPZ007"
>
SELECT
<sql
id=
"column"
>
ID as "id",
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
DEP_CODE as "depCode",
<!-- 部门编码 预留 -->
WH_TYPE as "whType",
<!-- 仓库类型 -->
WH_CODE as "whCode",
<!-- 仓库编码 -->
WH_NAME as "whName",
<!-- 仓库名称 -->
PRINC as "princ",
<!-- 负责人 -->
STATUS as "status",
<!-- 状态 0未启用 1启用 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
UPDATED_TIME as "updatedTime",
<!-- 修改时间 -->
UPDATED_BY as "updatedBy"
<!-- 修改人 -->
FROM hpjx.t_hppz007 WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"whCode"
>
WH_CODE = #whCode#
</isNotEmpty>
CREATED_NAME as "createdName",
<!-- 创建人名称 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 修改人 -->
UPDATED_NAME as "updatedName",
<!-- 修改人名称 -->
UPDATED_TIME as "updatedTime"
<!-- 修改时间 -->
</sql>
<sql
id=
"customCondition"
>
<isNotEmpty
prepend=
" AND "
property=
"whCodes"
>
WH_CODE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"whCodes"
>
#whCodes[]#
</iterate>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"whName"
>
WH_NAME LIKE CONCAT('%',CONCAT(#whName#),'%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"whType"
>
WH_TYPE LIKE CONCAT('%',CONCAT(#whType#),'%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
ID asc
</isEmpty>
</dynamic>
</select>
</sql>
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM hpjx.t_hppz007 WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
</select>
<!--
<sql
id=
"condition"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"whType"
>
WH_TYPE = #whType#
</isNotEmpty>
...
...
@@ -81,7 +42,7 @@
WH_CODE = #whCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"whName"
>
WH_NAME = #whName#
WH_NAME LIKE CONCAT('%', #whName#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"princ"
>
PRINC = #princ#
...
...
@@ -89,54 +50,67 @@
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdTime">
CREATED_TIME = #createdTime#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdBy">
CREATED_BY = #createdBy#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedTime">
UPDATED_TIME = #updatedTime#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedBy">
UPDATED_BY = #updatedBy#
</sql>
<sql
id=
"order"
>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
</isNotEmpty>
-->
<isEmpty
property=
"orderBy"
>
ID DESC
</isEmpty>
</dynamic>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hpjx.hp.pz.domain.HPPZ007"
>
SELECT
<include
refid=
"column"
/>
FROM hpjx.t_hppz007 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"customCondition"
/>
<include
refid=
"order"
/>
</select>
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM hpjx.t_hppz007 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"customCondition"
/>
</select>
<insert
id=
"insert"
>
INSERT INTO hpjx.t_hppz007 (
INSERT INTO ${hpjxSchema}.T_HPPZ007 (
COMPANY_CODE,
<!-- 企业编码 预留 -->
DEP_CODE,
<!-- 部门编码 预留 -->
WH_TYPE,
<!-- 仓库类型 -->
WH_CODE,
<!-- 仓库编码 -->
WH_NAME,
<!-- 仓库名称 -->
PRINC,
<!-- 负责人 -->
STATUS,
<!-- 状态 0未启用 1启用 -->
CREATED_TIME,
<!-- 创建时间 -->
CREATED_BY,
<!-- 创建人 -->
UPDATED_TIME,
<!-- 修改时间 -->
UPDATED_BY
<!-- 修改人 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_TIME
<!-- 创建时间 -->
) VALUES (
#companyCode#, #depCode#, #whType#, #whCode#, #whName#, #princ#, #status#,
#createdBy#, #createdName#, #createdTime#
)
VALUES (#whType#, #whCode#, #whName#, #princ#, #status#, #createdTime#, #createdBy#, #updatedTime#, #updatedBy#)
</insert>
<delete
id=
"delete"
>
DELETE FROM hpjx.t_hppz007 WHERE
ID = #id#
DELETE FROM hpjx.t_hppz007 WHERE ID = #id#
</delete>
<update
id=
"update"
>
UPDATE hpjx.t_hppz007
SET
WH_TYPE = #whType#,
<!-- 仓库类型 -->
WH_CODE = #whCode#,
<!-- 仓库编码 -->
WH_NAME = #whName#,
<!-- 仓库名称 -->
PRINC = #princ#,
<!-- 负责人 -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
CREATED_TIME = #createdTime#,
<!-- 创建时间 -->
CREATED_BY = #createdBy#,
<!-- 创建人 -->
UPDATED_TIME = #updatedTime#,
<!-- 修改时间 -->
UPDATED_BY = #updatedBy#
<!-- 修改人 -->
WHERE
ID = #id#
UPDATED_BY = #updatedBy#,
<!-- 修改人 -->
UPDATED_NAME = #updatedName#,
<!-- 修改人名称 -->
UPDATED_TIME = #updatedTime#
<!-- 修改时间 -->
WHERE ID = #id#
</update>
<select
id=
"queryComboBox"
parameterClass=
"java.util.HashMap"
...
...
src/main/webapp/HP/PZ/HPPZ006.jsp
View file @
93e33f14
...
...
@@ -17,8 +17,7 @@
<EF:EFOption
label=
"--全部--"
value=
""
/>
<EF:EFOptions
blockId=
"invent_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFSelect
cname=
"状态"
ename=
"inqu_status-0-status"
colWidth=
"3"
template=
"#=valueField#-#=textField#"
valueTemplate=
"#=valueField#-#=textField#"
>
<EF:EFSelect
cname=
"状态"
ename=
"inqu_status-0-status"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFSelect>
...
...
src/main/webapp/HP/PZ/HPPZ007.js
View file @
93e33f14
$
(
function
()
{
$
(
"#QUERY"
).
on
(
"click"
,
function
()
{
resultGrid
.
dataSource
.
page
(
1
);
});
$
(
function
()
{
// 查询
$
(
"#QUERY"
).
on
(
"click"
,
query
);
IPLATUI
.
EFGrid
.
result
=
{
pageable
:
{
pageSize
:
20
,
pageSizes
:
[
10
,
20
,
30
,
50
,
100
,
200
],
},
pageSizes
:
[
10
,
20
,
30
,
50
,
100
,
200
]
}
}
});
/**
* 页面加载时执行
*/
$
(
window
).
load
(
function
()
{
// 查询
query
();
});
/**
* 查询
*/
let
query
=
function
()
{
resultGrid
.
dataSource
.
page
(
1
);
}
src/main/webapp/HP/PZ/HPPZ007.jsp
View file @
93e33f14
...
...
@@ -4,43 +4,41 @@
<
%@
taglib
prefix=
"EF"
tagdir=
"/WEB-INF/tags/EF"
%
>
<c:set
var=
"ctx"
value=
"${pageContext.request.contextPath}"
/>
<head>
<
%
--
<
link
rel=
"stylesheet"
href=
"${ctx}/css/simulatedOperation.css"
/>
--%>
</head>
<EF:EFPage
title=
"仓库档案"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
><
%
--
type=
"query"
efRegionShowClear=
"true"
efRegionSave=
"true"
--
%
>
<div
class=
"row"
>
<
%
--
blockId=
"inqu_status"
row=
"0"
--
%
>
<EF:EFInput
blockId=
"inqu_status"
ename=
"whName"
cname=
"仓库名称:"
row=
"0"
/>
<EF:EFInput
blockId=
"inqu_status"
ename=
"whType"
cname=
"仓库类型:"
row=
"0"
/>
<EF:EFPage
title=
"仓库档案"
>
<EF:EFSelect
cname=
"状态:"
optionLabel=
"全部"
blockId=
"inqu_status"
ename=
"status"
row=
"0"
>
<EF:EFOption
label=
"启用"
value=
"1"
/>
<EF:EFOption
label=
"停用"
value=
"0"
/>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"仓库名称:"
blockId=
"inqu_status"
ename=
"whName"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"仓库类型:"
blockId=
"inqu_status"
ename=
"whType"
row=
"0"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hppz.whType"
/>
</EF:EFSelect>
<EF:EFSelect
cname=
"状态:"
blockId=
"inqu_status"
ename=
"status"
row=
"0"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFSelect>
</div>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"记录集"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"whType"
cname=
"仓库类型"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库编码"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
/>
<EF:EFColumn
ename=
"princ"
cname=
"负责人"
/>
<EF:EFComboColumn
align=
"center"
ename=
"status"
cname=
"状态"
>
<EF:EFOption
label=
"启用"
value=
"1"
/>
<EF:EFOption
label=
"停用"
value=
"0"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFComboColumn
ename=
"whType"
cname=
"仓库类型"
width=
"120"
align=
"center"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hppz.whType"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"princ"
cname=
"负责人"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
enable=
"false"
cname=
"创建时间"
/>
<EF:EFColumn
ename=
"createdBy"
enable=
"false"
cname=
"创建人"
/>
<EF:EFColumn
ename=
"updatedTime"
enable=
"false"
cname=
"修改时间"
/>
<EF:EFColumn
ename=
"updatedBy"
enable=
"false"
cname=
"修改人"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"updatedName"
cname=
"更新人名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
enable=
"false"
width=
"140"
align=
"center"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFPage>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment