This commit is contained in:
parent
db111f72b8
commit
5cef41384f
|
|
@ -462,7 +462,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
mt.type_name AS typeName,
|
||||
mt.unit_name AS unitName,
|
||||
lpd.new_type AS newTypeId,
|
||||
lpd.type_id AS typeId,
|
||||
COALESCE(lpd.new_type, lpd.type_id) AS typeId,
|
||||
IFNULL( lpd.num, 0 ) AS preNum,
|
||||
IFNULL( lpd.num, 0 ) - IFNULL( SUM( lod.out_num ), 0 ) AS outNum,
|
||||
IFNULL( SUM( lod.out_num ), 0 ) AS alNum,
|
||||
|
|
|
|||
Loading…
Reference in New Issue