`id`,`tenant_id`,`c_user_id`,`name`,`nick_name`,`birthdate`,`sex`,`remark`,`create_date`,`update_date`
where del_status = 0
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `c_user_id` = #{cUserId}
and `name` like concat('%', #{name},'%')
and `nick_name` like concat('%', #{nickName},'%')
and `sex` = #{sex}
and create_date >= #{startTime}
and create_date <= #{endTime}
and id in
#{idItem}
order by ${sortColumns}
update wx_c_user_basic_child set del_status = 1 where id = #{id} and tenant_id = #{tenantId}
delete from wx_c_user_basic_child where c_user_id = #{cUserId} and tenant_id = #{tenantId}