wf_def_id , activity_def_id, activity_def_title, activity_def_desc, activity_code, form_code INSERT INTO wf_activity_def wf_def_id, activity_def_id, activity_def_title, activity_def_desc, activity_code, form_code, created_by, created_at, #{wfDefId ,jdbcType=BIGINT}, #{activityDefId ,jdbcType=BIGINT}, #{activityDefTitle ,jdbcType=VARCHAR}, #{activityDefDesc ,jdbcType=VARCHAR}, #{activityCode ,jdbcType=VARCHAR}, #{formCode ,jdbcType=VARCHAR}, #{createdBy ,jdbcType=BIGINT}, #{createdAt ,jdbcType=DATE}, UPDATE wf_activity_def activity_def_title = #{activityDefTitle, jdbcType=VARCHAR}, activity_def_desc = #{activityDefDesc, jdbcType=VARCHAR}, activity_code = #{activityCode ,jdbcType=VARCHAR}, form_code = #{formCode ,jdbcType=VARCHAR}, updated_by = #{updatedBy ,jdbcType=BIGINT}, updated_at = #{updatedAt ,jdbcType=DATE}, WHERE 1 = 1 AND wf_def_id = #{wfDefId ,jdbcType=BIGINT} AND activity_def_id = #{activityDefId ,jdbcType=BIGINT} UPDATE wf_activity_def deleted_flag = #{deletedFlag,jdbcType=BIGINT}, deleted_time = #{deletedTime,jdbcType=DATE}, deleted_by = #{deletedBy,jdbcType=BIGINT}, WHERE 1 = 1 AND wf_def_id = #{wfDefId ,jdbcType=BIGINT} AND activity_def_id = #{activityDefId ,jdbcType=BIGINT}