A.story_id, A.target_id, A.item_id, A.item_title, A.item_code, A.item_desc, A.sort_no INSERT INTO assess_story_target_item story_id, target_id, item_id, item_title, item_code, item_desc, sort_no, created_by, created_at, #{storyId,jdbcType=BIGINT}, #{targetId,jdbcType=BIGINT}, #{itemId ,jdbcType=BIGINT}, #{itemTitle ,jdbcType=VARCHAR}, #{itemCode ,jdbcType=VARCHAR}, #{itemDesc ,jdbcType=VARCHAR}, #{sortNo ,jdbcType=BIGINT}, #{createdBy ,jdbcType=BIGINT}, #{createdAt ,jdbcType=TIMESTAMP}, UPDATE assess_story_target_item item_title = #{itemTitle, jdbcType=VARCHAR}, item_code = #{itemCode ,jdbcType=VARCHAR}, item_desc = #{itemDesc, jdbcType=VARCHAR}, sort_no = #{sortNo ,jdbcType=BIGINT}, updated_by = #{updatedBy ,jdbcType=BIGINT}, updated_at = #{updatedAt ,jdbcType=TIMESTAMP}, WHERE story_id = #{storyId ,jdbcType=BIGINT} AND target_id = #{targetId ,jdbcType=BIGINT} AND item_id = #{itemId ,jdbcType=BIGINT} UPDATE assess_story_target_item deleted_flag = #{deletedFlag,jdbcType=BIGINT}, deleted_time = #{deletedTime,jdbcType=TIMESTAMP}, deleted_by = #{deletedBy,jdbcType=BIGINT}, WHERE story_id = #{storyId ,jdbcType=BIGINT} AND target_id = #{targetId ,jdbcType=BIGINT} AND item_id = #{itemId ,jdbcType=BIGINT}