feat: 产品中心

This commit is contained in:
曹鹏飞 2025-06-15 11:21:17 +08:00
parent e40199b564
commit 1746615933
4 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,6 @@
SELECT pmfi.name,pmf.* SELECT pmfi.name,pmf.*
FROM product_model_file pmf FROM product_model_file pmf
INNER JOIN product_model_file_item pmfi ON pmf.id = pmfi.model_file_id INNER JOIN product_model_file_item pmfi ON pmf.id = pmfi.model_file_id
WHERE pmf.`enable` = 1 AND pmf.state = 1 AND pmfi.show_in_list = 1 AND pmf.model_id = #{modelId} AND pmfi.language_code = #{language} WHERE pmf.`enable` = 1 AND pmf.state = 1 AND pmf.model_id = #{modelId} AND pmfi.language_code = #{language}
</select> </select>
</mapper> </mapper>

View File

@ -32,7 +32,7 @@
AND pm.no LIKE CONCAT('%', #{request.no}, '%') AND pm.no LIKE CONCAT('%', #{request.no}, '%')
</if> </if>
</where> </where>
ORDER BY pm.state,pm.id DESC ORDER BY pm.state,pm.sort,pm.publish_time DESC
</select> </select>
<select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductModelVO"> <select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductModelVO">

View File

@ -23,6 +23,7 @@
AND ps.`name` LIKE CONCAT('%', #{request.name}, '%') AND ps.`name` LIKE CONCAT('%', #{request.name}, '%')
</if> </if>
</where> </where>
ORDER BY ps.state,ps.sort,ps.publish_time DESC
</select> </select>
<select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductSeriesVO"> <select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductSeriesVO">

View File

@ -29,7 +29,7 @@
AND pt.name LIKE CONCAT('%', #{request.name}, '%') AND pt.name LIKE CONCAT('%', #{request.name}, '%')
</if> </if>
</where> </where>
ORDER BY pt.state,pt.series_name,pt.name,pt.publish_time DESC ORDER BY pt.state,pt.sort,pt.series_name,pt.name,pt.publish_time DESC
</select> </select>
<select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductTypeVO"> <select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductTypeVO">