标签: magento expression
我的表情有问题。我有一列我想删除引号,并将值从-1更改为2,从0更改为1.
我使用了这个公式:CASE IF [CSV_COL(x)] = -1 THEN [CSV_COL(x)] = 2 IF [CSV_COL(x)] = 0 THEN [CSV_COL(x)] = 1 ELSE [CSV_COL(x)] END; REPLACE ([CSV_COL(3)], '\"','')
CASE IF [CSV_COL(x)] = -1 THEN [CSV_COL(x)] = 2 IF [CSV_COL(x)] = 0 THEN [CSV_COL(x)] = 1 ELSE [CSV_COL(x)] END; REPLACE ([CSV_COL(3)], '\"','')
但是我得到了错误,任何人都能帮助我吗?