|
|
@ -53,7 +53,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="myAdviceList" resultMap="myAdviceListResultMap"> |
|
|
|
select id,advice_content,advice_time,reply_content,reply_time |
|
|
|
select id,advice_content,advice_time,IFNULL(reply_content,''),IFNULL(reply_time,'') |
|
|
|
from user_advice |
|
|
|
where del_flag = 0 and user_id = #{userId} |
|
|
|
order by created_time desc |
|
|
|