提交相关代码
This commit is contained in:
parent
3077109102
commit
3dff0c3b35
|
|
@ -148,6 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
left join ma_user_collect col on d.ma_id = col.ma_id
|
||||
left join ma_up_off up on d.ma_id = up.ma_id
|
||||
left join ma_hot_search h on d.ma_id = h.ma_id
|
||||
left join ma_type_info t on d.type_id = t.type_id
|
||||
left join (
|
||||
select tt.*, pp.type_name as grandpa_name from
|
||||
(select t.*, p.type_name as parent_name,p.type_id as p_type_id, p.parent_id as p_parent_id
|
||||
|
|
@ -155,8 +156,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
left join ma_type_info p on t.parent_id=p.type_id) tt
|
||||
left join ma_type_info pp on tt.p_parent_id = pp.type_id
|
||||
) ty on d.type_id=ty.type_id
|
||||
where d.ma_id = #{maId}
|
||||
left join ma_type_info t on d.type_id = t.type_id
|
||||
where d.ma_id = #{maId} and d.is_active='1'
|
||||
</select>
|
||||
<!-- <select id="selectDevInfoByMaId" parameterType="Long" resultType="com.bonus.zlpt.equip.api.domain.vo.DevInfoVo">-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue