Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
5a49204e
Commit
5a49204e
authored
Jun 07, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-06-07 销售发货数量重量类型修改
parent
76369964
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
HGYX001.java
src/main/java/com/baosight/hggp/hg/yx/domain/HGYX001.java
+16
-8
No files found.
src/main/java/com/baosight/hggp/hg/yx/domain/HGYX001.java
View file @
5a49204e
...
@@ -3,6 +3,8 @@ package com.baosight.hggp.hg.yx.domain;
...
@@ -3,6 +3,8 @@ package com.baosight.hggp.hg.yx.domain;
import
com.baosight.iplat4j.core.util.NumberUtils
;
import
com.baosight.iplat4j.core.util.NumberUtils
;
import
com.baosight.iplat4j.core.ei.EiColumn
;
import
com.baosight.iplat4j.core.ei.EiColumn
;
import
com.baosight.iplat4j.core.data.DaoEPBase
;
import
com.baosight.iplat4j.core.data.DaoEPBase
;
import
java.math.BigDecimal
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Map
;
import
com.baosight.iplat4j.core.util.StringUtils
;
import
com.baosight.iplat4j.core.util.StringUtils
;
...
@@ -119,8 +121,8 @@ public class HGYX001 extends DaoEPBase {
...
@@ -119,8 +121,8 @@ public class HGYX001 extends DaoEPBase {
private
String
receUserPhone
=
" "
;
/* 收货人电话*/
private
String
receUserPhone
=
" "
;
/* 收货人电话*/
private
Integer
tranType
=
0
;
/* 运输方式*/
private
Integer
tranType
=
0
;
/* 运输方式*/
private
String
numPlate
=
" "
;
/* 车号*/
private
String
numPlate
=
" "
;
/* 车号*/
private
String
consQuantity
=
" "
;
/* 发货数量*/
private
BigDecimal
consQuantity
=
new
BigDecimal
(
"0"
)
;
/* 发货数量*/
private
String
consWeight
=
" "
;
/* 发货重量*/
private
BigDecimal
consWeight
=
new
BigDecimal
(
"0"
)
;
/* 发货重量*/
private
Integer
status
=
0
;
/* 审批状态 0-未审核,1-已审核*/
private
Integer
status
=
0
;
/* 审批状态 0-未审核,1-已审核*/
/**
/**
...
@@ -239,10 +241,16 @@ public class HGYX001 extends DaoEPBase {
...
@@ -239,10 +241,16 @@ public class HGYX001 extends DaoEPBase {
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CONS_QUANTITY
);
eiColumn
=
new
EiColumn
(
FIELD_CONS_QUANTITY
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
0
);
eiColumn
.
setFieldLength
(
20
);
eiColumn
.
setDescName
(
"发货数量"
);
eiColumn
.
setDescName
(
"发货数量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CONS_WEIGHT
);
eiColumn
=
new
EiColumn
(
FIELD_CONS_WEIGHT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
17
);
eiColumn
.
setDescName
(
"发货重量"
);
eiColumn
.
setDescName
(
"发货重量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
...
@@ -696,7 +704,7 @@ public class HGYX001 extends DaoEPBase {
...
@@ -696,7 +704,7 @@ public class HGYX001 extends DaoEPBase {
* get the consQuantity - 发货数量.
* get the consQuantity - 发货数量.
* @return the consQuantity
* @return the consQuantity
*/
*/
public
String
getConsQuantity
()
{
public
BigDecimal
getConsQuantity
()
{
return
this
.
consQuantity
;
return
this
.
consQuantity
;
}
}
...
@@ -705,14 +713,14 @@ public class HGYX001 extends DaoEPBase {
...
@@ -705,14 +713,14 @@ public class HGYX001 extends DaoEPBase {
*
*
* @param consQuantity - 发货数量
* @param consQuantity - 发货数量
*/
*/
public
void
setConsQuantity
(
String
consQuantity
)
{
public
void
setConsQuantity
(
BigDecimal
consQuantity
)
{
this
.
consQuantity
=
consQuantity
;
this
.
consQuantity
=
consQuantity
;
}
}
/**
/**
* get the consWeight - 发货重量.
* get the consWeight - 发货重量.
* @return the consWeight
* @return the consWeight
*/
*/
public
String
getConsWeight
()
{
public
BigDecimal
getConsWeight
()
{
return
this
.
consWeight
;
return
this
.
consWeight
;
}
}
...
@@ -721,7 +729,7 @@ public class HGYX001 extends DaoEPBase {
...
@@ -721,7 +729,7 @@ public class HGYX001 extends DaoEPBase {
*
*
* @param consWeight - 发货重量
* @param consWeight - 发货重量
*/
*/
public
void
setConsWeight
(
String
consWeight
)
{
public
void
setConsWeight
(
BigDecimal
consWeight
)
{
this
.
consWeight
=
consWeight
;
this
.
consWeight
=
consWeight
;
}
}
/**
/**
...
@@ -775,8 +783,8 @@ public class HGYX001 extends DaoEPBase {
...
@@ -775,8 +783,8 @@ public class HGYX001 extends DaoEPBase {
setReceUserPhone
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_RECE_USER_PHONE
)),
receUserPhone
));
setReceUserPhone
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_RECE_USER_PHONE
)),
receUserPhone
));
setTranType
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_TRAN_TYPE
)),
tranType
));
setTranType
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_TRAN_TYPE
)),
tranType
));
setNumPlate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_NUM_PLATE
)),
numPlate
));
setNumPlate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_NUM_PLATE
)),
numPlate
));
setConsQuantity
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CONS_QUANTITY
)),
consQuantity
));
setConsQuantity
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CONS_QUANTITY
)),
consQuantity
));
setConsWeight
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CONS_WEIGHT
)),
consWeight
));
setConsWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CONS_WEIGHT
)),
consWeight
));
setStatus
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_STATUS
)),
status
));
setStatus
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_STATUS
)),
status
));
}
}
...
...
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