Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
80f9d139
Commit
80f9d139
authored
May 07, 2020
by
季圣华
Browse files
解决商品的库存明细里面数量为整数的bug
parent
09e1539f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4DetailByTypeAndMId.java
View file @
80f9d139
package
com.jsh.erp.datasource.entities
;
package
com.jsh.erp.datasource.entities
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.Date
;
public
class
DepotItemVo4DetailByTypeAndMId
{
public
class
DepotItemVo4DetailByTypeAndMId
{
...
@@ -8,7 +9,7 @@ public class DepotItemVo4DetailByTypeAndMId {
...
@@ -8,7 +9,7 @@ public class DepotItemVo4DetailByTypeAndMId {
private
String
newtype
;
private
String
newtype
;
private
Integer
bnum
;
private
BigDecimal
bnum
;
private
Date
otime
;
private
Date
otime
;
...
@@ -28,11 +29,11 @@ public class DepotItemVo4DetailByTypeAndMId {
...
@@ -28,11 +29,11 @@ public class DepotItemVo4DetailByTypeAndMId {
this
.
newtype
=
newtype
;
this
.
newtype
=
newtype
;
}
}
public
Integer
getBnum
()
{
public
BigDecimal
getBnum
()
{
return
bnum
;
return
bnum
;
}
}
public
void
setBnum
(
Integer
bnum
)
{
public
void
setBnum
(
BigDecimal
bnum
)
{
this
.
bnum
=
bnum
;
this
.
bnum
=
bnum
;
}
}
...
...
src/main/resources/mapper_xml/DepotItemMapperEx.xml
View file @
80f9d139
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<resultMap
id=
"DetailByTypeAndMIdResultMap"
type=
"com.jsh.erp.datasource.entities.DepotItemVo4DetailByTypeAndMId"
>
<resultMap
id=
"DetailByTypeAndMIdResultMap"
type=
"com.jsh.erp.datasource.entities.DepotItemVo4DetailByTypeAndMId"
>
<result
column=
"Number"
jdbcType=
"VARCHAR"
property=
"number"
/>
<result
column=
"Number"
jdbcType=
"VARCHAR"
property=
"number"
/>
<result
column=
"newType"
jdbcType=
"VARCHAR"
property=
"newtype"
/>
<result
column=
"newType"
jdbcType=
"VARCHAR"
property=
"newtype"
/>
<result
column=
"b_num"
jdbcType=
"
BIGINT
"
property=
"bnum"
/>
<result
column=
"b_num"
jdbcType=
"
DECIMAL
"
property=
"bnum"
/>
<result
column=
"oTime"
jdbcType=
"TIMESTAMP"
property=
"otime"
/>
<result
column=
"oTime"
jdbcType=
"TIMESTAMP"
property=
"otime"
/>
</resultMap>
</resultMap>
...
...
Write
Preview
Supports
Markdown
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