t.id , t.type_id , t.type_name , t.status , t.all_people , t.superior , t.all_superior , t.custom , t.creator , t.delete_type , t.create_time , t.update_time INSERT INTO jcl_org_cardaccess type_id, type_name, status, all_people, superior, all_superior, custom, creator, delete_type, create_time, update_time, #{typeId}, #{typeName}, #{status}, #{allPeople}, #{superior}, #{allSuperior}, #{creator}, #{custom}, #{deleteType}, #{createTime}, #{updateTime}, select JCL_ORG_CARDACCESS_ID.currval from dual INSERT INTO jcl_org_cardaccess type_id, type_name, status, all_people, superior, all_superior, custom, creator, delete_type, create_time, update_time, #{typeId}, #{typeName}, #{status}, #{allPeople}, #{superior}, #{allSuperior}, #{creator}, #{custom}, #{deleteType}, #{createTime}, #{updateTime}, update jcl_org_cardaccess status = #{item.status}, all_people = #{item.allPeople}, superior = #{item.superior}, all_superior = #{item.allSuperior}, custom = #{item.custom}, update_time = #{item.updateTime} where id = #{item.id} UPDATE jcl_org_cardaccess SET delete_type = 1 WHERE delete_type = 0 AND type_id IN #{id} UPDATE jcl_org_cardaccess SET type_name = #{name} WHERE type_id = #{id}