PB里的case语句.提示有错误,错在哪.
-----------------------------------------------------------------------
case when 表.receiptkey1 <> 表.receiptkey2 then '' else 表.receiptkey1= 'null' end,
case when 表.receiptkey1 <> 表.receiptkey2 then '' else 表.receiptkey1 = '文字' end,
case when 表.receiptkey1 = 表.receiptkey2 then '' else 表.receiptkey1 = 'null' end,
case when 表.receiptkey1 = 表.receiptkey2 then '' else 表.receiptkey2 = 'null' end
-----------------------------------------------------------------------
我做的是标签.现在的需求是当俩个值不等的时候,receiptkey1要为空值,在标签上什么都不显示.receiptkey2要等于一段文字.当他们俩相等的时候,都为空值.在标签上都不显示.
请教....