库存明细合并保险杠条码

main
judy 1 year ago
parent d6102be36d
commit aff60bf647
  1. 2
      shkj-wms/src/main/resources/mapper/wms/SysStockMapper.xml

@ -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 id="queryStockDetailList" resultType="com.shkj.wms.vo.SysStockNumDetailVo" parameterType="com.shkj.wms.bo.SysStockNumQueryBo">
SELECT SELECT
item.goods_no, item.goods_no,
stock.qr_code, group_concat( stock.qr_code) as qr_code,
stock.qty, stock.qty,
IFNULL( qty, 0 )+ IFNULL( in_qty, 0 )- IFNULL( out_qty, 0 ) AS useQty, IFNULL( qty, 0 )+ IFNULL( in_qty, 0 )- IFNULL( out_qty, 0 ) AS useQty,
IFNULL( in_qty, 0 ) AS in_qty, IFNULL( in_qty, 0 ) AS in_qty,

Loading…
Cancel
Save