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 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 when id=#{item.id} then #{item.status} when id=#{item.id} then #{item.allPeople} when id=#{item.id} then #{item.superior} when id=#{item.id} then #{item.allSuperior} when id=#{item.id} then #{item.custom} when id=#{item.id} then #{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}