解决商品的库存明细里面数量为整数的bug

This commit is contained in:
季圣华
2020-05-07 00:24:08 +08:00
parent 09e1539f5c
commit 80f9d139bb
2 changed files with 5 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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>