加钟项目列表
This commit is contained in:
parent
55cfec2ad6
commit
ea67495eac
|
@ -97,13 +97,16 @@
|
|||
)) as massageScore
|
||||
from massage_type m
|
||||
left join sys_dict s on s.id=m.classify_id
|
||||
where m.parent_id != 0
|
||||
where 1=1
|
||||
<if test="artificerId!=null">
|
||||
and m.massage_type_id not in (select massage_type_id from artificer_massage where artificer_id=#{artificerId})
|
||||
</if>
|
||||
<if test="status!=null and status!=0">
|
||||
and m.status=#{status}
|
||||
</if>
|
||||
<if test="parentId==null or parentId==0">
|
||||
and (m.parent_id is null or m.parent_id=0)
|
||||
</if>
|
||||
<if test="parentId!=null and parentId!=0">
|
||||
and m.parent_id=#{parentId}
|
||||
</if>
|
||||
|
|
Loading…
Reference in New Issue