select id, uid, name, phone, address, card_no, skill_id, card_avatar, card_badge, image, skill, criminal, health, education, drive, status, remarks, city_pid, city_ids, created_at, updated_at, deleted_at from worker_apply insert into worker_apply uid, name, phone, address, card_no, skill_id, card_avatar, card_badge, image, skill, criminal, health, education, drive, status, remarks, city_pid, city_ids, created_at, updated_at, deleted_at, #{uid}, #{name}, #{phone}, #{address}, #{cardNo}, #{skillId}, #{cardAvatar}, #{cardBadge}, #{image}, #{skill}, #{criminal}, #{health}, #{education}, #{drive}, #{status}, #{remarks}, #{cityPid}, #{cityIds}, NOW(), NOW(), #{deletedAt}, update worker_apply uid = #{uid}, name = #{name}, phone = #{phone}, address = #{address}, card_no = #{cardNo}, skill_id = #{skillId}, card_avatar = #{cardAvatar}, card_badge = #{cardBadge}, image = #{image}, skill = #{skill}, criminal = #{criminal}, health = #{health}, education = #{education}, drive = #{drive}, status = #{status}, remarks = #{remarks}, city_pid = #{cityPid}, city_ids = #{cityIds}, updated_at = NOW(), created_at = #{createdAt}, deleted_at = #{deletedAt}, where id = #{id} delete from worker_apply where id = #{id} delete from worker_apply where id in #{id}