fix(bonus-material): 新增字段 newTypeId 和 typeId,以区分新旧类型 ID
This commit is contained in:
parent
547968052c
commit
bb90f2eda0
|
|
@ -461,7 +461,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
mt1.type_name AS maTypeName,
|
||||
mt.type_name AS typeName,
|
||||
mt.unit_name AS unitName,
|
||||
lpd.new_type AS typeId,
|
||||
lpd.new_type AS newTypeId,
|
||||
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