如何实现取filter_code中的值全部满足的时候,返回成功,失败的时候把所有条件插入一个新表的字段中,并且失败的时候要遍历一遍所有条件,找出那个条件不满足
成功时必须满足如下条件:
'case when user_status_id=1
and x_cust_count=1
and call_duration_nofree>10
and arrear_all_fee
and (z_call_count>1 or bill_cust_count_last=1) and user_status_id=1
and x_cust_count=1 and arrear_all_fee
and (z_call_count>1 or bill_cust_count_last=1) then '0' else '1' end
求解决方法