|
@@ -77,6 +77,9 @@
|
|
|
usr_wechat_id usrWechatId,
|
|
|
content_id contentId,
|
|
|
content_title contentTitle,
|
|
|
+ theme_flag themeFlag,
|
|
|
+ theme_title themeTitle,
|
|
|
+ theme_id themeId,
|
|
|
usrApply.create_time createTime,
|
|
|
dic.dict_label applyTypeName,
|
|
|
dicReview.dict_label reviewStateName
|
|
@@ -84,7 +87,7 @@
|
|
|
inner JOIN sys_dict_data dic on usrApply.apply_type = dic.dict_value and dic.dict_type = 'apply_type'
|
|
|
inner JOIN sys_dict_data dicReview
|
|
|
on usrApply.review_state = dicReview.dict_value and dicReview.dict_type = 'review_state'
|
|
|
- where usrApply.usr_wechat_id = #{usrId}
|
|
|
+ where usrApply.usr_wechat_id = #{usrId} or tel=#{tel}
|
|
|
order by usrApply.create_time desc
|
|
|
</select>
|
|
|
|