id, street_id, act_id, village_id, name, sex, certificate_type, card_no, card_no_expiration_date, card_no_str, road, door_no, floor, unit_no, house_no, political_outlook, work_company, special_situation, phone, out_or_local, census_register, person_type, country, date_of_departure, native_place, nation_code, nation, is_rent, culture_level, marriage, healthy, blood_type, religion, profession, person_status, death, head_portrait, monthly_income, family_status, birthday, goal_in_china, date_of_arrival, label, card_photo_front, card_photo_back, family_book, delete_flag, remark, create_at, update_at, residence, address, house_id
update com_mng_population
`street_id` = #{item.streetId},
`act_id` = #{item.actId},
`village_id` = #{item.villageId},
`name` = #{item.name},
`sex` = #{item.sex},
`certificate_type` = #{item.certificateType},
`card_no` = #{item.cardNo},
`card_no_expiration_date` = #{item.cardNoExpirationDate},
`card_no_str` = #{item.cardNoStr},
`road` = #{item.road},
`door_no` = #{item.doorNo},
`floor` = #{item.floor},
`unit_no` = #{item.unitNo},
`house_no` = #{item.houseNo},
`political_outlook` = #{item.politicalOutlook},
`work_company` = #{item.workCompany},
`special_situation` = #{item.specialSituation},
`phone` = #{item.phone},
`out_or_local` = #{item.outOrLocal},
`census_register` = #{item.censusRegister},
`person_type` = #{item.personType},
`country` = #{item.country},
`date_of_departure` = #{item.dateOfDeparture},
`native_place` = #{item.nativePlace},
`nation_code` = #{item.nationCode},
`nation` = #{item.nation},
`is_rent` = #{item.isRent},
`culture_level` = #{item.cultureLevel},
`marriage` = #{item.marriage},
`healthy` = #{item.healthy},
`blood_type` = #{item.bloodType},
`religion` = #{item.religion},
`profession` = #{item.profession},
`person_status` = #{item.personStatus},
`death` = #{item.death},
`head_portrait` = #{item.headPortrait},
`monthly_income` = #{item.monthlyIncome},
`family_status` = #{item.familyStatus},
`birthday` = #{item.birthday},
`goal_in_china` = #{item.goalInChina},
`label` = #{item.label},
`date_of_arrival` = #{item.dateOfArrival},
`card_photo_front` = #{item.cardPhotoFront},
`card_photo_back` = #{item.cardPhotoBack},
`family_book` = #{item.familyBook},
`delete_flag` = #{item.deleteFlag},
`remark` = #{item.remark},
`residence` = #{item.residence},
`address` = #{item.address},
`house_id` = #{item.houseId},
`update_at` = NOW()
WHERE `id` = #{item.id}
;
delete from com_mng_population_community_tags where population_id in
#{item}
update com_mng_population set unit_no = #{newUnitNo} where village_id = #{villageId} and floor = #{floor} and unit_no = #{oldUnitNo}