Commit 80f9d139 authored by 季圣华's avatar 季圣华
Browse files

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

parent 09e1539f
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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment