`id`,`content`,`photo_path`,`create_at`,`update_at`,`user_id`,`area_id`,`community_id`,`status`
update sys_user_feedback set reply=#{dto.reply} where id=#{dto.id}
select
u.name,
u.nick_name,
f.*,
u.phone,
c.name communityName
from sys_user_feedback f
join sys_user u on f.user_id=u.user_id
join com_act c on u.community_id=c.community_id
where f.id=#{id}
select
u.name,
u.nick_name,
f.id,
u.phone,
f.create_at,
f.content,
f.photo_path,
c.name communityName,
f.reply
from sys_user_feedback f
left join sys_user u on f.user_id=u.user_id
left join com_act c on u.community_id=c.community_id
and u.phone like concat('%',#{pageFeedBackDTO.phone},'%')
and u.name like concat('%',#{pageFeedBackDTO.name},'%')
and u.nick_name like concat('%',#{pageFeedBackDTO.nickName},'%')
and c.area_code = #{pageFeedBackDTO.areaCode}
and f.property_id = #{pageFeedBackDTO.propertyId}
and f.type = #{pageFeedBackDTO.type}
order by f.create_at desc