SSIS中如何根据逻辑表达式从两列中导出一列?

How to derive one column from two columns based on logical expressions in SSIS?

我想根据一些逻辑语句从两列中派生一列:

table
id col1 col additionalcol
1    a        a
2    b    c   c
3    d    e   e
4         f   f
5    g    me  g
6    i    me  i
7    j    l   l
8    k    m   m
9    n    me  n
10   o    p   p

我想根据以下语句得出一个 additionalcol

        `if 
            col is empty  or me then
                take col1
        else    
            take col

使用三元运算符(有条件):

(col == null || col=="me") ? col1 : col