oc_id,
group_cat_id,
group_cat_title,
group_cat_desc,
is_fixed
INSERT INTO s_group_cat
oc_id,
group_cat_id,
group_cat_title,
group_cat_desc,
is_fixed,
created_by,
created_at,
#{ocId ,jdbcType=BIGINT},
#{groupCatId ,jdbcType=BIGINT},
#{groupCatTitle ,jdbcType=VARCHAR},
#{groupCatDesc ,jdbcType=VARCHAR},
#{isFixed ,jdbcType=BIGINT},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
UPDATE s_group_cat
group_cat_title = #{groupCatTitle, jdbcType=VARCHAR},
group_cat_desc = #{groupCatDesc, jdbcType=VARCHAR},
is_fixed = #{isFixed, jdbcType=BIGINT},
updated_by = #{updatedBy ,jdbcType=BIGINT},
updated_at = #{updatedAt ,jdbcType=TIMESTAMP},
WHERE oc_id = #{ocId ,jdbcType=BIGINT} AND group_cat_id = #{groupCatId ,jdbcType=BIGINT}
UPDATE s_group_cat
deleted_flag = #{deletedFlag, jdbcType=BIGINT},
deleted_at = #{deletedAt, jdbcType=TIMESTAMP},
deleted_by = #{deletedBy, jdbcType=BIGINT},
WHERE oc_id = #{ocId ,jdbcType=BIGINT} AND group_cat_id = #{groupCatId ,jdbcType=BIGINT}