master
15004070936 9 hours ago
parent e04740b87f
commit 9cfdd52d30

@ -51,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.detail_html, a.detail_html,
a.detail_mobile_html, a.detail_mobile_html,
a.is_course, a.is_course,
a.create_by, a.create_time, a.update_by, a.update_time,
b.type_name as product_category_name, b.type_name as product_category_name,
c.name as brand_name c.name as brand_name
from mall_product a left join mall_product_category b on a.category_id = b.id from mall_product a left join mall_product_category b on a.category_id = b.id
@ -65,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="storeId != null "> and a.store_id = #{storeId}</if> <if test="storeId != null "> and a.store_id = #{storeId}</if>
<if test="tenantId != null and tenantId!= ''"> and a.tenant_id = #{tenantId}</if> <if test="tenantId != null and tenantId!= ''"> and a.tenant_id = #{tenantId}</if>
</where> </where>
order a.sort ASC order by a.sort desc
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save