首页明星技师
This commit is contained in:
parent
313eb59d87
commit
d3f4ee9223
|
@ -17,6 +17,9 @@
|
|||
<if test="status!=null and status!=0 and status!=-1">
|
||||
and a.status=#{status}
|
||||
</if>
|
||||
<if test="isStart!=null and isStart!=0">
|
||||
and a.is_start=#{isStart}
|
||||
</if>
|
||||
<if test="classifyId!=null and classifyId!=0">
|
||||
and classify_id=#{classifyId}
|
||||
</if>
|
||||
|
@ -173,7 +176,23 @@
|
|||
ORDER BY
|
||||
t.duration DESC
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="getHomeStartArtificerList" resultType="com.sqx.modules.artificer.entity.Artificer">
|
||||
select a.artificer_id,artificer_name,artificer_img,a.classify_id,s.code as classifyName,a.content
|
||||
from artificer a
|
||||
inner join tb_user u on a.user_id=u.user_id
|
||||
inner join sys_dict s on s.id=a.classify_id
|
||||
where u.is_authentication=2
|
||||
<if test="status!=null and status!=0 and status!=-1">
|
||||
and b.status=#{status}
|
||||
</if>
|
||||
<if test="isStart!=null and isStart!=0">
|
||||
and a.is_start=#{isStart}
|
||||
</if>
|
||||
<if test="city!=null and city!=''">
|
||||
and a.city=#{city}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue