| | |
| | | <update id="editPensionIsAlive"> |
| | | update com_pension_auth_pensioners set is_alive = #{isAlive} where population_id = #{populationId} |
| | | </update> |
| | | |
| | | <select id="getAuthPensionList" resultType="com.panzhihua.service_community.model.dos.ComPensionAuthPensionerDO"> |
| | | SELECT |
| | | cpap.id, |
| | | cpap.population_id, |
| | | cpap.street_id, |
| | | cpap.community_id, |
| | | cpap.phone, |
| | | cmp.`name`, |
| | | cpap.id_card, |
| | | cpap.sex, |
| | | cpap.age, |
| | | cpap.birthday, |
| | | cpap.personnel_category, |
| | | cpap.is_register, |
| | | cpap.is_alive, |
| | | cpap.address, |
| | | cpap.remark, |
| | | cpap.receive_allowance_begin, |
| | | cpap.create_at, |
| | | cpap.create_by, |
| | | cpap.update_at, |
| | | cpap.update_by |
| | | FROM |
| | | com_pension_auth_pensioners AS cpap |
| | | INNER JOIN com_mng_population AS cmp ON cmp.id = cpap.population_id |
| | | </select> |
| | | </mapper> |