insert into xhpc_community community_id, name, service_preferential, min_people, contact_name, contact_phone, address, dimension, status, del_flag, create_time, create_by, update_time, update_by, remark, #{communityId}, #{name}, #{servicePreferential}, #{minPeople}, #{contactName}, #{contactPhone}, #{address}, #{dimension}, #{status}, #{delFlag}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{remark}, update xhpc_community name = #{name}, service_preferential = #{servicePreferential}, min_people = #{minPeople}, contact_name = #{contactName}, contact_phone = #{contactPhone}, address = #{address}, address = #{dimension}, address = #{status}, del_flag = #{delFlag}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, remark = #{remark}, where community_id=#{communityId} update xhpc_community set del_flag =1 where community_id=#{communityId} insert into xhpc_community_personnel community_personnel_id, community_id, name, account, recharge_money, consume_money, red_packet, surplus_money, phone, type, status, del_flag, create_time, create_by, update_time, update_by, remark, #{communityPersonnelId}, #{communityId}, #{name}, #{account}, #{rechargeMoney}, #{consumeMoney}, #{redPacket}, #{surplusMoney}, #{phone}, #{type}, #{status}, #{delFlag}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{remark}, update xhpc_community_personnel community_id = #{communityId}, name = #{name}, account = #{account}, phone = #{phone}, recharge_money = #{rechargeMoney}, surplus_money = #{surplusMoney}, type = #{type}, address = #{status}, del_flag = #{delFlag}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, remark = #{remark}, where community_personnel_id=#{communityPersonnelId} update xhpc_community_personnel set del_flag=1 where community_personnel_id=#{communityPersonnelId} update xhpc_community_personnel set status=#{status} where community_personnel_id=#{communityPersonnelId}