Compare commits

..

2 Commits

Author SHA1 Message Date
曹鹏飞 d7f8295038 Merge branch 'feature/bug-1344' into feature/quotation 2026-03-16 17:20:16 +08:00
曹鹏飞 4e94408ab2 feat: bug-1344 修复无对应语言时荣誉会显示空数据的问题 2026-03-16 17:19:51 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
<select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductHonorVO"> <select id="get" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductHonorVO">
SELECT ph.id,YEAR(ph.obtaining_time) AS 'year',phi.title,phi.image SELECT ph.id,YEAR(ph.obtaining_time) AS 'year',phi.title,phi.image
FROM product_honor ph FROM product_honor ph
LEFT JOIN product_honor_info phi ON phi.honor_id=ph.id AND phi.language_code=#{language} INNER JOIN product_honor_info phi ON phi.honor_id=ph.id AND phi.language_code=#{language}
WHERE ph.enable=1 AND ph.state=1 WHERE ph.enable=1 AND ph.state=1
ORDER BY ph.obtaining_time DESC, ph.id DESC ORDER BY ph.obtaining_time DESC, ph.id DESC
</select> </select>