解决商品的库存明细里面数量为整数的bug
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.jsh.erp.datasource.entities;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
public class DepotItemVo4DetailByTypeAndMId {
|
||||
@@ -8,7 +9,7 @@ public class DepotItemVo4DetailByTypeAndMId {
|
||||
|
||||
private String newtype;
|
||||
|
||||
private Integer bnum;
|
||||
private BigDecimal bnum;
|
||||
|
||||
private Date otime;
|
||||
|
||||
@@ -28,11 +29,11 @@ public class DepotItemVo4DetailByTypeAndMId {
|
||||
this.newtype = newtype;
|
||||
}
|
||||
|
||||
public Integer getBnum() {
|
||||
public BigDecimal getBnum() {
|
||||
return bnum;
|
||||
}
|
||||
|
||||
public void setBnum(Integer bnum) {
|
||||
public void setBnum(BigDecimal bnum) {
|
||||
this.bnum = bnum;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<resultMap id="DetailByTypeAndMIdResultMap" type="com.jsh.erp.datasource.entities.DepotItemVo4DetailByTypeAndMId">
|
||||
<result column="Number" jdbcType="VARCHAR" property="number" />
|
||||
<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" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user