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
7d546edc
Commit
7d546edc
authored
Jan 24, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存货档案opt
parent
d6144287
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
HPPZ006.java
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ006.java
+14
-14
HPPZ006.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ006.xml
+4
-4
HPPZ006.js
src/main/webapp/HP/PZ/HPPZ006.js
+1
-1
HPPZ006.jsp
src/main/webapp/HP/PZ/HPPZ006.jsp
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ006.java
View file @
7d546edc
...
...
@@ -31,7 +31,7 @@ public class HPPZ006 extends DaoEPBase {
public
static
final
String
FIELD_STATUS
=
"status"
;
/* 状态 0未启用 1启用*/
public
static
final
String
FIELD_SPEC
=
"spec"
;
/* 规格*/
public
static
final
String
FIELD_LENGTH
=
"length"
;
/* 长*/
public
static
final
String
FIELD_WID
E
=
"wide
"
;
/* 宽*/
public
static
final
String
FIELD_WID
TH
=
"width
"
;
/* 宽*/
public
static
final
String
FIELD_THICK
=
"thick"
;
/* 厚*/
public
static
final
String
FIELD_MATERIAL
=
"material"
;
/* 材质*/
public
static
final
String
FIELD_COEFFICIENT
=
"coefficient"
;
/* 系数*/
...
...
@@ -52,7 +52,7 @@ public class HPPZ006 extends DaoEPBase {
public
static
final
String
COL_STATUS
=
"STATUS"
;
/* 状态 0未启用 1启用*/
public
static
final
String
COL_SPEC
=
"SPEC"
;
/* 规格*/
public
static
final
String
COL_LENGTH
=
"LENGTH"
;
/* 长*/
public
static
final
String
COL_WID
E
=
"WIDE
"
;
/* 宽*/
public
static
final
String
COL_WID
TH
=
"WIDTH
"
;
/* 宽*/
public
static
final
String
COL_THICK
=
"THICK"
;
/* 厚*/
public
static
final
String
COL_MATERIAL
=
"MATERIAL"
;
/* 材质*/
public
static
final
String
COL_COEFFICIENT
=
"COEFFICIENT"
;
/* 系数*/
...
...
@@ -79,7 +79,7 @@ public class HPPZ006 extends DaoEPBase {
private
Integer
status
=
1
;
/* 状态 0未启用 1启用*/
private
String
spec
=
" "
;
/* 规格*/
private
BigDecimal
length
=
new
BigDecimal
(
0.00
);
/* 长*/
private
BigDecimal
wid
e
=
new
BigDecimal
(
0.00
);
/* 宽*/
private
BigDecimal
wid
th
=
new
BigDecimal
(
0.00
);
/* 宽*/
private
BigDecimal
thick
=
new
BigDecimal
(
0.00
);
/* 厚*/
private
String
material
=
" "
;
/* 材质*/
private
BigDecimal
coefficient
=
new
BigDecimal
(
0.00
);
/* 系数*/
...
...
@@ -137,7 +137,7 @@ public class HPPZ006 extends DaoEPBase {
eiColumn
.
setDescName
(
"长"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_WID
E
);
eiColumn
=
new
EiColumn
(
FIELD_WID
TH
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
2
);
eiColumn
.
setFieldLength
(
10
);
...
...
@@ -345,20 +345,20 @@ public class HPPZ006 extends DaoEPBase {
this
.
length
=
length
;
}
/**
* get the wid
e
- 宽.
* @return the wid
e
* get the wid
th
- 宽.
* @return the wid
th
*/
public
BigDecimal
getWid
e
()
{
return
this
.
wid
e
;
public
BigDecimal
getWid
th
()
{
return
this
.
wid
th
;
}
/**
* set the wid
e
- 宽.
* set the wid
th
- 宽.
*
* @param wid
e
- 宽
* @param wid
th
- 宽
*/
public
void
setWid
e
(
BigDecimal
wide
)
{
this
.
wid
e
=
wide
;
public
void
setWid
th
(
BigDecimal
width
)
{
this
.
wid
th
=
width
;
}
/**
* get the thick - 厚.
...
...
@@ -537,7 +537,7 @@ public class HPPZ006 extends DaoEPBase {
setStatus
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_STATUS
)),
status
));
setSpec
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_SPEC
)),
spec
));
setLength
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_LENGTH
)),
length
));
setWid
e
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WIDE
)),
wide
));
setWid
th
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WIDTH
)),
width
));
setThick
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_THICK
)),
thick
));
setMaterial
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_MATERIAL
)),
material
));
setCoefficient
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COEFFICIENT
)),
coefficient
));
...
...
@@ -566,7 +566,7 @@ public class HPPZ006 extends DaoEPBase {
map
.
put
(
FIELD_STATUS
,
StringUtils
.
toString
(
status
,
eiMetadata
.
getMeta
(
FIELD_STATUS
)));
map
.
put
(
FIELD_SPEC
,
StringUtils
.
toString
(
spec
,
eiMetadata
.
getMeta
(
FIELD_SPEC
)));
map
.
put
(
FIELD_LENGTH
,
StringUtils
.
toString
(
length
,
eiMetadata
.
getMeta
(
FIELD_LENGTH
)));
map
.
put
(
FIELD_WID
E
,
StringUtils
.
toString
(
wide
,
eiMetadata
.
getMeta
(
FIELD_WIDE
)));
map
.
put
(
FIELD_WID
TH
,
StringUtils
.
toString
(
width
,
eiMetadata
.
getMeta
(
FIELD_WIDTH
)));
map
.
put
(
FIELD_THICK
,
StringUtils
.
toString
(
thick
,
eiMetadata
.
getMeta
(
FIELD_THICK
)));
map
.
put
(
FIELD_MATERIAL
,
StringUtils
.
toString
(
material
,
eiMetadata
.
getMeta
(
FIELD_MATERIAL
)));
map
.
put
(
FIELD_COEFFICIENT
,
StringUtils
.
toString
(
coefficient
,
eiMetadata
.
getMeta
(
FIELD_COEFFICIENT
)));
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ006.xml
View file @
7d546edc
...
...
@@ -12,7 +12,7 @@
STATUS as "status",
<!-- 状态 0未启用 1启用 -->
SPEC as "spec",
<!-- 规格 -->
LENGTH as "length",
<!-- 长 -->
WID
E as "wide
",
<!-- 宽 -->
WID
TH as "width
",
<!-- 宽 -->
THICK as "thick",
<!-- 厚 -->
MATERIAL as "material",
<!-- 材质 -->
COEFFICIENT as "coefficient",
<!-- 系数 -->
...
...
@@ -87,7 +87,7 @@
STATUS,
<!-- 状态 0未启用 1启用 -->
SPEC,
<!-- 规格 -->
LENGTH,
<!-- 长 -->
WID
E
,
<!-- 宽 -->
WID
TH
,
<!-- 宽 -->
THICK,
<!-- 厚 -->
MATERIAL,
<!-- 材质 -->
COEFFICIENT,
<!-- 系数 -->
...
...
@@ -97,7 +97,7 @@
CREATED_TIME
<!-- 创建时间 -->
) VALUES (
#companyCode#, #depCode#, #inventType#, #inventCode#, #inventName#,
#status#, #spec#, #length#, #wid
e
#, #thick#, #material#, #coefficient#,
#status#, #spec#, #length#, #wid
th
#, #thick#, #material#, #coefficient#,
#unit#, #createdBy#, #createdName#, #createdTime#
)
</insert>
...
...
@@ -113,7 +113,7 @@
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
SPEC = #spec#,
<!-- 规格 -->
LENGTH = #length#,
<!-- 长 -->
WID
E = #wide
#,
<!-- 宽 -->
WID
TH = #width
#,
<!-- 宽 -->
THICK = #thick#,
<!-- 厚 -->
MATERIAL = #material#,
<!-- 材质 -->
COEFFICIENT = #coefficient#,
<!-- 系数 -->
...
...
src/main/webapp/HP/PZ/HPPZ006.js
View file @
7d546edc
...
...
@@ -15,7 +15,7 @@ $(function() {
return
options
.
length
==
0
?
"-"
:
options
.
length
;
}
},
{
field
:
"wid
e
"
,
field
:
"wid
th
"
,
template
:
function
(
options
)
{
return
options
.
length
==
0
?
"-"
:
options
.
length
;
}
...
...
src/main/webapp/HP/PZ/HPPZ006.jsp
View file @
7d546edc
...
...
@@ -35,7 +35,7 @@
<EF:EFColumn
ename=
"inventCode"
cname=
"存货名称"
width=
"120"
align=
"center"
requird=
"true"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
maxLength=
"50"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"wid
e
"
cname=
"宽"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"wid
th
"
cname=
"宽"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"100"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"coefficient"
cname=
"系数"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
...
...
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