首页明星技师

This commit is contained in:
曹磊 2024-06-14 10:37:42 +08:00
parent 313eb59d87
commit d3f4ee9223
1 changed files with 19 additions and 0 deletions

View File

@ -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>