|
|
|
|
@ -165,7 +165,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<select id="queryStockDetailList" resultType="com.shkj.wms.vo.SysStockNumDetailVo" parameterType="com.shkj.wms.bo.SysStockNumQueryBo"> |
|
|
|
|
SELECT |
|
|
|
|
item.goods_no, |
|
|
|
|
stock.qr_code, |
|
|
|
|
group_concat( stock.qr_code) as qr_code, |
|
|
|
|
stock.qty, |
|
|
|
|
IFNULL( qty, 0 )+ IFNULL( in_qty, 0 )- IFNULL( out_qty, 0 ) AS useQty, |
|
|
|
|
IFNULL( in_qty, 0 ) AS in_qty, |
|
|
|
|
|