Compare commits
2 Commits
442355700a
...
d7f8295038
| Author | SHA1 | Date |
|---|---|---|
|
|
d7f8295038 | |
|
|
4e94408ab2 |
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue