综合查询保有量
This commit is contained in:
parent
aa913f67dc
commit
d2267cd583
|
|
@ -512,7 +512,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN ma_type mt4 ON mt4.type_id = mt3.parent_id
|
||||
LEFT JOIN ma_type_manage mtm ON mt4.type_id = mtm.type_id
|
||||
WHERE mt.del_flag = '0'
|
||||
and mt.is_show = '1'
|
||||
and mt4.type_id is not null and mt3.type_id is not null
|
||||
<!-- <if test="userId != null">-->
|
||||
<!-- and mtm.user_id = #{userId}-->
|
||||
<!-- </if>-->
|
||||
|
|
@ -559,6 +559,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
AND mt.jiju_type = #{jiJuType}
|
||||
</if>
|
||||
HAVING allNum > 0
|
||||
order by mt4.type_name, mt3.type_name, mt2.type_name, mt.type_name
|
||||
</select>
|
||||
<select id="getStatisticsList" resultType="com.bonus.material.basic.domain.ProjUsingRecord">
|
||||
SELECT
|
||||
|
|
|
|||
Loading…
Reference in New Issue