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
adabdf89
Commit
adabdf89
authored
Jan 11, 2024
by
徐澳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间格式优化
parent
5c5f3163
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
36 deletions
+49
-36
ServiceHPPZ002.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ002.java
+9
-9
ServiceHPPZ004.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ004.java
+9
-9
ServiceHPPZ006.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
+9
-9
HPPZ002.jsp
src/main/webapp/HP/PZ/HPPZ002.jsp
+2
-2
HPPZ004.jsp
src/main/webapp/HP/PZ/HPPZ004.jsp
+2
-2
HPPZ006.jsp
src/main/webapp/HP/PZ/HPPZ006.jsp
+18
-5
No files found.
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ002.java
View file @
adabdf89
...
@@ -45,15 +45,14 @@ public class ServiceHPPZ002 extends ServiceBase {
...
@@ -45,15 +45,14 @@ public class ServiceHPPZ002 extends ServiceBase {
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
super
.
insert
(
inInfo
,
"HPPZ002.insert"
);
THppz002
hppz002
=
new
THppz002
();
// THppz002 hppz002 = new THppz002();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
// EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
// for (int i = 0; i < eiBlock.getRowCount(); i++) {
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
// Map<?, ?> map = eiBlock.getRow(i);
hppz002
.
fromMap
(
map
);
// hppz002.fromMap(map);
//
this
.
dao
.
insert
(
"HPPZ002.insert"
,
hppz002
.
toMap
());
// this.dao.insert("HPPZ002.insert", hppz002.toMap());
}
// }
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"新增成功!"
);
inInfo
.
setMsg
(
"新增成功!"
);
...
@@ -74,6 +73,7 @@ public class ServiceHPPZ002 extends ServiceBase {
...
@@ -74,6 +73,7 @@ public class ServiceHPPZ002 extends ServiceBase {
*/
*/
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
THppz002
HPPZ002
=
new
THppz002
();
THppz002
HPPZ002
=
new
THppz002
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ004.java
View file @
adabdf89
...
@@ -45,15 +45,14 @@ public class ServiceHPPZ004 extends ServiceBase {
...
@@ -45,15 +45,14 @@ public class ServiceHPPZ004 extends ServiceBase {
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
super
.
insert
(
inInfo
,
"HPPZ004.insert"
);
THppz004
hppz004
=
new
THppz004
();
// THppz002 hppz002 = new THppz002();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
// EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
// for (int i = 0; i < eiBlock.getRowCount(); i++) {
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
// Map<?, ?> map = eiBlock.getRow(i);
hppz004
.
fromMap
(
map
);
// hppz002.fromMap(map);
//
this
.
dao
.
insert
(
"HPPZ004.insert"
,
hppz004
.
toMap
());
// this.dao.insert("HPPZ002.insert", hppz002.toMap());
}
// }
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"新增成功!"
);
inInfo
.
setMsg
(
"新增成功!"
);
...
@@ -74,6 +73,7 @@ public class ServiceHPPZ004 extends ServiceBase {
...
@@ -74,6 +73,7 @@ public class ServiceHPPZ004 extends ServiceBase {
*/
*/
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
THppz004
HPPZ004
=
new
THppz004
();
THppz004
HPPZ004
=
new
THppz004
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
View file @
adabdf89
...
@@ -45,15 +45,14 @@ public class ServiceHPPZ006 extends ServiceBase {
...
@@ -45,15 +45,14 @@ public class ServiceHPPZ006 extends ServiceBase {
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
super
.
insert
(
inInfo
,
"HPPZ006.insert"
);
THppz006
hppz006
=
new
THppz006
();
// THppz002 hppz002 = new THppz002();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
// EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
// for (int i = 0; i < eiBlock.getRowCount(); i++) {
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
// Map<?, ?> map = eiBlock.getRow(i);
hppz006
.
fromMap
(
map
);
// hppz002.fromMap(map);
//
this
.
dao
.
insert
(
"HPPZ006.insert"
,
hppz006
.
toMap
());
// this.dao.insert("HPPZ002.insert", hppz002.toMap());
}
// }
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"新增成功!"
);
inInfo
.
setMsg
(
"新增成功!"
);
...
@@ -74,6 +73,7 @@ public class ServiceHPPZ006 extends ServiceBase {
...
@@ -74,6 +73,7 @@ public class ServiceHPPZ006 extends ServiceBase {
*/
*/
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
THppz006
hppz006
=
new
THppz006
();
THppz006
hppz006
=
new
THppz006
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
...
...
src/main/webapp/HP/PZ/HPPZ002.jsp
View file @
adabdf89
...
@@ -46,10 +46,10 @@
...
@@ -46,10 +46,10 @@
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
src/main/webapp/HP/PZ/HPPZ004.jsp
View file @
adabdf89
...
@@ -41,10 +41,10 @@
...
@@ -41,10 +41,10 @@
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
src/main/webapp/HP/PZ/HPPZ006.jsp
View file @
adabdf89
...
@@ -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-inventName"
cname=
"存货名称"
colWidth=
"4"
>
<EF:EFOption
label=
"--请选择--"
value=
""
/>
<EF:EFOption
label=
"待定"
value=
"1"
></EF:EFOption>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-inventType"
cname=
"存货类型"
colWidth=
"4"
>
<EF:EFSelect
ename=
"inqu_status-0-inventType"
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>
...
@@ -26,8 +29,18 @@
...
@@ -26,8 +29,18 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"false"
isFloat=
"true"
autoFit=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"false"
isFloat=
"true"
autoFit=
"true"
>
<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:EFComboColumn
ename=
"inventCode"
cname=
"存货编码"
align=
"center"
columnTemplate=
"#=valueField#-#=textField#"
optionLabel=
" "
<EF:EFColumn
ename=
"inventName"
cname=
"存货名称"
width=
"100"
readonly=
"false"
required=
"true"
/>
itemTemplate=
"#=valueField#-#=textField#"
textField=
"textField"
valueField=
"valueField"
width=
"100"
required=
"true"
>
<EF:EFOption
label=
"--请选择--"
value=
""
></EF:EFOption>
<EF:EFOption
label=
"待定"
value=
"1"
></EF:EFOption>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"inventName"
cname=
"存货名称"
align=
"center"
columnTemplate=
"#=valueField#-#=textField#"
optionLabel=
" "
itemTemplate=
"#=valueField#-#=textField#"
textField=
"textField"
valueField=
"valueField"
width=
"100"
required=
"true"
>
<EF:EFOption
label=
"--请选择--"
value=
""
></EF:EFOption>
<EF:EFOption
label=
"待定"
value=
"1"
></EF:EFOption>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
align=
"center"
columnTemplate=
"#=valueField#-#=textField#"
optionLabel=
" "
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
align=
"center"
columnTemplate=
"#=valueField#-#=textField#"
optionLabel=
" "
itemTemplate=
"#=valueField#-#=textField#"
textField=
"textField"
itemTemplate=
"#=valueField#-#=textField#"
textField=
"textField"
valueField=
"valueField"
width=
"100"
required=
"true"
>
valueField=
"valueField"
width=
"100"
required=
"true"
>
...
@@ -49,10 +62,10 @@
...
@@ -49,10 +62,10 @@
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
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