BOOK_ADVISER_ERP_ID, BOOK_ID, ADVISER_ID, CHANNEL_ID, TEMPLET_ID, CREATED_USER, CREATED_DATE, LAST_MODIFIED_DATE, VERSION, IS_MAIN_EDITOR, IS_DELETE, SECOND_TEMPLET_ID, GRA_LABEL_ID, SUB_LABEL_ID, VER_LABEL_ID, AREA_LABEL_ID, IS_PRINT, pro_label_id, dep_label_id, pur_label_id, is_open_robot_process, vol_label_id
SELECT FROM book_adviser_erp WHERE BOOK_ID = #{bookId}
INSERT INTO BOOK_ADVISER_ERP ( BOOK_ID, ADVISER_ID, CHANNEL_ID, CREATED_USER, CREATED_DATE,IS_MAIN_EDITOR, TEMPLET_ID, SECOND_TEMPLET_ID, GRA_LABEL_ID,SUB_LABEL_ID,VER_LABEL_ID,AREA_LABEL_ID,pro_label_id, dep_label_id,pur_label_id,is_open_robot_process, vol_label_id ) VALUES ( #{bookId, jdbcType=VARCHAR}, #{adviserId, jdbcType=VARCHAR}, #{channelId, jdbcType=VARCHAR}, #{adviserId, jdbcType=BIGINT}, NOW(),#{isMainEditor, jdbcType=BIT},#{templetId, jdbcType=BIGINT}, #{secondTempletId, jdbcType=BIGINT},#{graLabelId, jdbcType=BIGINT},#{subLabelId, jdbcType=BIGINT}, #{verLabelId, jdbcType=BIGINT},#{areaLabelId, jdbcType=BIGINT},#{proLabelId,jdbcType=BIGINT}, #{depLabelId,jdbcType=BIGINT},#{purLabelId,jdbcType=BIGINT},#{isOpenRobotProcess,jdbcType=INTEGER}, #{volLabelId} )