给入库明细和出库明细的接口返回增加多属性字段
This commit is contained in:
parent
841d30fddd
commit
b9e0331f13
@ -18,6 +18,8 @@ public class DepotHeadVo4InDetail {
|
||||
|
||||
private BigDecimal unitPrice;
|
||||
|
||||
private String sku;
|
||||
|
||||
private String mUnit;
|
||||
|
||||
private String newRemark;
|
||||
@ -90,6 +92,14 @@ public class DepotHeadVo4InDetail {
|
||||
this.unitPrice = unitPrice;
|
||||
}
|
||||
|
||||
public String getSku() {
|
||||
return sku;
|
||||
}
|
||||
|
||||
public void setSku(String sku) {
|
||||
this.sku = sku;
|
||||
}
|
||||
|
||||
public String getmUnit() {
|
||||
return mUnit;
|
||||
}
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
<result column="model" jdbcType="VARCHAR" property="model" />
|
||||
<result column="standard" jdbcType="VARCHAR" property="standard" />
|
||||
<result column="unitPrice" jdbcType="DECIMAL" property="unitPrice" />
|
||||
<result column="sku" jdbcType="VARCHAR" property="sku" />
|
||||
<result column="operNumber" jdbcType="DECIMAL" property="operNumber" />
|
||||
<result column="allPrice" jdbcType="DECIMAL" property="allPrice" />
|
||||
<result column="taxRate" jdbcType="DECIMAL" property="taxRate" />
|
||||
@ -293,7 +294,7 @@
|
||||
</select>
|
||||
|
||||
<select id="findInOutDetail" parameterType="com.jsh.erp.datasource.entities.DepotItemExample" resultMap="ResultWithInfoExMap">
|
||||
select dh.number,me.bar_code barCode, m.name mname,m.model,m.standard,di.unit_price unitPrice,di.material_unit as mUnit,
|
||||
select dh.number,me.bar_code barCode, m.name mname,m.model,m.standard,di.unit_price unitPrice,di.material_unit as mUnit, di.sku,
|
||||
di.oper_number operNumber,di.all_price allPrice, ifnull(di.tax_rate,0) taxRate, ifnull(di.tax_money,0) taxMoney, ifnull(di.tax_last_money,0) taxLastMoney,
|
||||
s.supplier sname,d.dname dname, date_format(dh.oper_time, '%Y-%m-%d') operTime, concat(dh.sub_type,dh.type) as newType,
|
||||
concat_ws(' ',dh.remark,di.remark) as newRemark
|
||||
|
||||
Loading…
Reference in New Issue
Block a user