罗元桥
2021-10-09 4082af9f2275d501cd47a8a63e34cb266a2fbfd4
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComElderAuthRecordsMapper.xml
@@ -39,7 +39,7 @@
            ceae.sex,
            ceae.birthday,
            ceae.personnel_category,
            ceae.address,
            cear.address,
            ceae.is_alive,
            cear.auth_method,
            cear.auth_period,
@@ -100,7 +100,7 @@
            ceae.sex,
            ceae.birthday,
            ceae.personnel_category,
            ceae.address,
            cear.address,
            ceae.is_alive,
            cear.auth_method,
            cear.auth_period,
@@ -145,7 +145,7 @@
                WHEN 3 THEN
                    '100周岁(含)以上'
                END personnelCategory,
            ceae.address,
            cear.address,
            CASE
                ceae.is_alive
                WHEN 1 THEN
@@ -265,7 +265,7 @@
        WHEN 3 THEN
        '100周岁(含)以上'
        END personnelCategory,
        ceae.address,
        cear.address,
        CASE
        ceae.is_alive
        WHEN 1 THEN
@@ -296,6 +296,7 @@
        com_elders_auth_history_record ceahr
        LEFT JOIN com_elder_auth_elderlies ceae ON ceahr.elderlies_id = ceae.id
        LEFT JOIN sys_user su ON ceahr.submit_user_id = su.user_id
        LEFT JOIN com_elder_auth_records as cear on cear.id = ceahr.auth_id
        WHERE
        ceahr.community_id = #{pageElderAuthRecordsDTO.communityId}
        <if test="pageElderAuthRecordsDTO.authPeriod != null and pageElderAuthRecordsDTO.authPeriod !=''">
@@ -318,7 +319,7 @@
    </select>
    <select id="getNextIds" resultType="String">
        select id from com_elder_auth_records where approval_status = 1 and community_id = #{communityId} and id != #{authRecordId}
        select id from com_elder_auth_records where approval_status = 1 and community_id = #{communityId}
    </select>
    <select id="queryRecordWithPage" resultType="com.panzhihua.common.model.vos.community.IdentityAuthRecordDetailVO">