Commit bbcf9f4d authored by ='s avatar =

hungtt-commit

parent 8c5fed76
......@@ -543,7 +543,7 @@ public class CampaignRepositoryImpl implements CampaignRepositoryCustom {
sb.append(" select column_name columnName, null customizeFieldId, 1 isFix from user_tab_columns, dual");
sb.append(" where table_name = 'CUSTOMER'");
sb.append(" )");
sb.append(" select * from column_name_temp where columnName not in (select column_name from campaign_customerlist_column where column_name is not null)");
sb.append(" select * from column_name_temp where columnName not in (select column_name from campaign_customerlist_column where campaign_id = :p_campaign_id and column_name is not null)");
sb.append(" union all");
sb.append(" select title columnName, customize_field_id customizeFieldId, 0 isFix from customize_fields, dual");
sb.append(" where function_code = 'CUSTOMER'");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment