|
最佳回答 |
0
|
CD20160914Lv8专家互助发布于2023-4-12 14:46
|
${if(cx==0,"and n_branch_id = '" + jg + "'","and n_branch_id in ('" + jg1 + "')")}
|
|
|
|
最佳回答 |
0
|
Z4u3z1Lv6专家互助发布于2023-4-12 14:44(编辑于 2023-4-12 14:46)
|
${if(cx==0,"and n_branch_id = '" + jg + "'",if(cx==1,"and n_branch_id in ('" + jg1 + "')","其他情况的条件"))}
|
|
|
|
最佳回答 |
0
|
runnerLv7资深互助发布于2023-4-12 14:47
|
少了一个 , 后面的情况
|
|
|
|
最佳回答 |
0
|
congerLv6高级互助发布于2023-4-12 14:49(编辑于 2023-4-12 14:49)
|
|
|
|
|
最佳回答 |
0
|
qiqits1984Lv6中级互助发布于2023-4-12 14:49
|
试一下,我也不知道写的对不对!~ ${if(lcx == 0,"and n_branch_id = '" +jg + "'",if(lcx == 1,"and n_branch_id = '" +jg1+ "'",""))}
|
|
|