| | |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <select id="listVoByUserId" resultType="com.ruoyi.member.domain.vo.MemberArchiveVo"> |
| | | <select id="listMgtVoByUserId" resultType="com.ruoyi.member.domain.vo.MemberArchiveVo"> |
| | | SELECT |
| | | tmaf.id fieldId, |
| | | tmaf.field_name fieldName, |
| | |
| | | ORDER BY tmaf.field_sort DESC |
| | | </select> |
| | | |
| | | <select id="listMerVoByUserId" resultType="com.ruoyi.member.domain.vo.MemberArchiveVo"> |
| | | SELECT |
| | | tmaf.id fieldId, |
| | | tmaf.field_name fieldName, |
| | | tma.field_value fieldValue |
| | | FROM t_member_archive_fields tmaf |
| | | LEFT JOIN t_member_archive tma ON tma.field_id = tmaf.id AND tma.user_id = #{userId} AND tma.del_flag = 0 |
| | | WHERE tmaf.del_flag = 0 |
| | | ORDER BY tmaf.field_sort DESC |
| | | </select> |
| | | </mapper> |