A.oc_id,
A.position_id,
A.position_name,
A.position_desc,
A.is_fixed
INSERT INTO s_position
oc_id,
position_id,
position_name,
position_desc,
is_fixed,
created_by,
created_at,
#{ocId,jdbcType=BIGINT},
#{positionId ,jdbcType=BIGINT},
#{positionName ,jdbcType=VARCHAR},
#{positionDesc ,jdbcType=VARCHAR},
#{isFixed ,jdbcType=BIGINT},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=DATE},
UPDATE s_position
position_name = #{positionName ,jdbcType=VARCHAR},
position_desc = #{positionDesc ,jdbcType=VARCHAR},
updated_by = #{updatedBy ,jdbcType=BIGINT},
updated_at = #{updatedAt ,jdbcType=DATE}
WHERE 1 = 1
AND oc_id = #{ocId ,jdbcType=BIGINT}
AND position_id = #{positionId, jdbcType=BIGINT}
UPDATE s_position
deleted_flag = #{deletedFlag ,jdbcType=BIGINT},
deleted_by = #{deletedBy ,jdbcType=BIGINT},
deleted_at = #{deletedAt ,jdbcType=DATE},
WHERE oc_id = #{ocId, jdbcType=BIGINT}
AND position_id = #{positionId, jdbcType=BIGINT}