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
1d396ed0
Commit
1d396ed0
authored
Jan 10, 2024
by
徐澳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改实体类文件
parent
6ff5ff0e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
69 deletions
+45
-69
THppz004.java
...main/java/com/baosight/iplat4j/hp/pz/domain/THppz004.java
+28
-49
HPPZ004.xml
src/main/java/com/baosight/iplat4j/hp/pz/sql/HPPZ004.xml
+14
-17
HPPZ002.js
src/main/webapp/HP/PZ/HPPZ002.js
+1
-1
HPPZ004.jsp
src/main/webapp/HP/PZ/HPPZ004.jsp
+2
-2
No files found.
src/main/java/com/baosight/iplat4j/hp/pz/domain/THppz004.java
View file @
1d396ed0
/**
* Generate time : 2024-01-10 1
0:59:3
1
* Generate time : 2024-01-10 1
4:11:2
1
* Version : 1.0
*/
package
com
.
baosight
.
iplat4j
.
hp
.
pz
.
domain
;
...
...
@@ -18,10 +18,9 @@ public class THppz004 extends DaoEPBase {
private
Integer
id
=
0
;
private
String
companyCode
=
" "
;
/* 企业编码 预留*/
private
String
inventName
=
" "
;
/* 存货类型*/
private
String
inventCode
=
" "
;
/* 存货类型编码*/
private
int
inventFatherName
;
/* 存货性质*/
private
String
inventFatherCode
=
" "
;
/* 上级存货类型编码*/
private
String
inventName
=
" "
;
/* 存货名称*/
private
String
inventCode
=
" "
;
/* 存货编码*/
private
int
inventType
;
/* 存货类型*/
private
int
status
;
/* 状态 0未启用 1启用*/
private
String
createdBy
=
" "
;
/* 创建人*/
private
String
createdTime
=
" "
;
/* 创建时间*/
...
...
@@ -44,19 +43,15 @@ EiColumn eiColumn;
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"inventName"
);
eiColumn
.
setDescName
(
"存货
类型
"
);
eiColumn
.
setDescName
(
"存货
名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"inventCode"
);
eiColumn
.
setDescName
(
"存货类型编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"inventFatherName"
);
eiColumn
.
setDescName
(
"存货性质"
);
eiColumn
.
setDescName
(
"存货编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"invent
FatherCod
e"
);
eiColumn
.
setDescName
(
"
上级存货类型编码
"
);
eiColumn
=
new
EiColumn
(
"invent
Typ
e"
);
eiColumn
.
setDescName
(
"
存货类型
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
"status"
);
...
...
@@ -121,7 +116,7 @@ initMetaData();
this
.
companyCode
=
companyCode
;
}
/**
* get the inventName - 存货
类型
* get the inventName - 存货
名称
* @return the inventName
*/
public
String
getInventName
()
{
...
...
@@ -129,13 +124,13 @@ initMetaData();
}
/**
* set the inventName - 存货
类型
* set the inventName - 存货
名称
*/
public
void
setInventName
(
String
inventName
)
{
this
.
inventName
=
inventName
;
}
/**
* get the inventCode - 存货
类型
编码
* get the inventCode - 存货编码
* @return the inventCode
*/
public
String
getInventCode
()
{
...
...
@@ -143,53 +138,39 @@ initMetaData();
}
/**
* set the inventCode - 存货
类型
编码
* set the inventCode - 存货编码
*/
public
void
setInventCode
(
String
inventCode
)
{
this
.
inventCode
=
inventCode
;
}
/**
* get the invent
FatherName - 存货性质
* @return the invent
FatherNam
e
* get the invent
Type - 存货类型
* @return the invent
Typ
e
*/
public
int
getInvent
FatherNam
e
()
{
return
this
.
invent
FatherNam
e
;
public
int
getInvent
Typ
e
()
{
return
this
.
invent
Typ
e
;
}
/**
* set the invent
FatherName - 存货性质
* set the invent
Type - 存货类型
*/
public
void
setInvent
FatherName
(
int
inventFatherNam
e
)
{
this
.
invent
FatherName
=
inventFatherNam
e
;
public
void
setInvent
Type
(
int
inventTyp
e
)
{
this
.
invent
Type
=
inventTyp
e
;
}
/**
* get the
inventFatherCode - 上级存货类型编码
* @return the
inventFatherCode
* get the
status - 状态 0未启用 1启用
* @return the
status
*/
public
String
getInventFatherCode
()
{
return
this
.
inventFatherCode
;
public
int
getStatus
()
{
return
this
.
status
;
}
/**
* set the
inventFatherCode - 上级存货类型编码
* set the
status - 状态 0未启用 1启用
*/
public
void
setInventFatherCode
(
String
inventFatherCode
)
{
this
.
inventFatherCode
=
inventFatherCode
;
}
/**
* get the status - 状态 0未启用 1启用
* @return the status
*/
public
int
getStatus
()
{
return
this
.
status
;
}
/**
* set the status - 状态 0未启用 1启用
*/
public
void
setStatus
(
int
status
)
{
public
void
setStatus
(
int
status
)
{
this
.
status
=
status
;
}
}
/**
* get the createdBy - 创建人
* @return the createdBy
...
...
@@ -269,8 +250,7 @@ public void fromMap(Map map) {
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
));
setInventFatherName
(
NumberUtils
.
toint
(
StringUtils
.
toString
(
map
.
get
(
"inventFatherName"
)),
inventFatherName
));
setInventFatherCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"inventFatherCode"
)),
inventFatherCode
));
setInventType
(
NumberUtils
.
toint
(
StringUtils
.
toString
(
map
.
get
(
"inventType"
)),
inventType
));
setStatus
(
NumberUtils
.
toint
(
StringUtils
.
toString
(
map
.
get
(
"status"
)),
status
));
setCreatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"createdBy"
)),
createdBy
));
setCreatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
"createdTime"
)),
createdTime
));
...
...
@@ -289,8 +269,7 @@ Map map = new HashMap();
map
.
put
(
"companyCode"
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
"companyCode"
)));
map
.
put
(
"inventName"
,
StringUtils
.
toString
(
inventName
,
eiMetadata
.
getMeta
(
"inventName"
)));
map
.
put
(
"inventCode"
,
StringUtils
.
toString
(
inventCode
,
eiMetadata
.
getMeta
(
"inventCode"
)));
map
.
put
(
"inventFatherName"
,
StringUtils
.
toString
(
inventFatherName
,
eiMetadata
.
getMeta
(
"inventFatherName"
)));
map
.
put
(
"inventFatherCode"
,
StringUtils
.
toString
(
inventFatherCode
,
eiMetadata
.
getMeta
(
"inventFatherCode"
)));
map
.
put
(
"inventType"
,
StringUtils
.
toString
(
inventType
,
eiMetadata
.
getMeta
(
"inventType"
)));
map
.
put
(
"status"
,
StringUtils
.
toString
(
status
,
eiMetadata
.
getMeta
(
"status"
)));
map
.
put
(
"createdBy"
,
StringUtils
.
toString
(
createdBy
,
eiMetadata
.
getMeta
(
"createdBy"
)));
map
.
put
(
"createdTime"
,
StringUtils
.
toString
(
createdTime
,
eiMetadata
.
getMeta
(
"createdTime"
)));
...
...
src/main/java/com/baosight/iplat4j/hp/pz/sql/HPPZ004.xml
View file @
1d396ed0
...
...
@@ -23,10 +23,9 @@
SELECT
ID as "id",
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
INVENT_NAME as "inventName",
<!-- 存货类型 -->
INVENT_CODE as "inventCode",
<!-- 存货类型编码 -->
INVENT_FATHER_NAME as "inventFatherName",
<!-- 存货性质 -->
INVENT_FATHER_CODE as "inventFatherCode",
<!-- 上级存货类型编码 -->
INVENT_NAME as "inventName",
<!-- 存货名称 -->
INVENT_CODE as "inventCode",
<!-- 存货编码 -->
INVENT_TYPE as "inventType",
<!-- 存货类型 -->
STATUS as "status",
<!-- 状态 0未启用 1启用 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
...
...
@@ -100,16 +99,15 @@
<insert
id=
"insert"
>
INSERT INTO hpjx.t_hppz004 (
COMPANY_CODE,
<!-- 企业编码 预留 -->
INVENT_NAME,
<!-- 存货类型 -->
INVENT_CODE,
<!-- 存货类型编码 -->
INVENT_FATHER_NAME,
<!-- 存货性质 -->
INVENT_FATHER_CODE,
<!-- 上级存货类型编码 -->
INVENT_NAME,
<!-- 存货名称 -->
INVENT_CODE,
<!-- 存货编码 -->
INVENT_TYPE,
<!-- 存货类型 -->
STATUS,
<!-- 状态 0未启用 1启用 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_TIME,
<!-- 创建时间 -->
DEP_CODE
<!-- 部门编码 -->
)
VALUES ( #companyCode#, #inventName#, #inventCode#, #invent
FatherName#, #inventFatherCod
e#, #status#, #createdBy#, #createdTime#, #depCode#)
VALUES ( #companyCode#, #inventName#, #inventCode#, #invent
Typ
e#, #status#, #createdBy#, #createdTime#, #depCode#)
</insert>
<delete
id=
"delete"
>
...
...
@@ -120,14 +118,13 @@
<update
id=
"update"
>
UPDATE hpjx.t_hppz004
SET
INVENT_NAME = #inventName#,
<!-- 存货类型 -->
INVENT_CODE = #inventCode#,
<!-- 存货类型编码 -->
INVENT_FATHER_NAME = #inventFatherName#,
<!-- 上级存货类型 -->
INVENT_FATHER_CODE = #inventFatherCode#,
<!-- 上级存货类型编码 -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_TIME = #updatedTime#
<!-- 更新时间 -->
WHERE
INVENT_NAME = #inventName#,
<!-- 存货名称 -->
INVENT_CODE = #inventCode#,
<!-- 存货编码 -->
INVENT_TYPE = #inventType#,
<!-- 存货类型 -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
WHERE
ID = #id#
</update>
...
...
src/main/webapp/HP/PZ/HPPZ002.js
View file @
1d396ed0
...
...
@@ -40,7 +40,7 @@ $(function() {
});
// 修改
$
(
"#UPDATE"
).
on
(
"click"
,
function
()
{
$
(
"#
BTN_
UPDATE"
).
on
(
"click"
,
function
()
{
var
rowCount
=
resultGrid
.
getCheckedRows
();
// 检验是否选中数据
if
(
rowCount
==
null
||
rowCount
==
""
)
{
...
...
src/main/webapp/HP/PZ/HPPZ004.jsp
View file @
1d396ed0
...
...
@@ -23,8 +23,8 @@
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"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=
"invent
FatherName"
cname=
"存货性质
"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"存货
名称
"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"invent
Type"
cname=
"存货类型
"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
columnTemplate=
"#=textField#-#=valueField#"
optionLabel=
" "
itemTemplate=
"#=textField#-#=valueField#"
textField=
"textField"
valueField=
"valueField"
width=
"100"
required=
"true"
>
...
...
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