@@ -12,5 +12,5 @@ public interface CustomerContactRepository extends JpaRepository<CustomerContact
...
@@ -12,5 +12,5 @@ public interface CustomerContactRepository extends JpaRepository<CustomerContact
@Query("FROM CustomerContact WHERE status = 1 AND customerId = :customerId AND contactType = :contactType AND (contact IS NULL OR UPPER(contact) LIKE UPPER(concat('%', :contact, '%')))")
@Query("FROM CustomerContact WHERE status = 1 AND customerId = :customerId AND contactType = :contactType AND (contact IS NULL OR UPPER(contact) LIKE UPPER(concat('%', :contact, '%')))")
stringBuilder.append(" where table_name = 'CUSTOMER'");
" where table_name = 'CUSTOMER'\n"+
stringBuilder.append(" )");
")\n"+
stringBuilder.append(" select * from column_name_temp");
"select * from column_name_temp where columnName not in (select column_name from campaign_customerlist_column where column_name is not null)\n"+
stringBuilder.append(" where columnName not in (select column_name from campaign_customerlist_column where column_name is not null)");
"union all\n"+
stringBuilder.append(" union all");
"select title columnName, customize_field_id customizeFieldId, 0 isFix from customize_fields, dual\n"+
stringBuilder.append(" select title columnName, 0 isFix ");
"where function_code = 'CUSTOMER'\n"+
stringBuilder.append(" from customize_fields, dual");
" and site_id = :p_company_site_id\n"+
stringBuilder.append(" where function_code = 'CUSTOMER'");
" and customize_field_id not in (select customize_field_id from campaign_customerlist_column where campaign_customerlist_column.campaign_id = :p_campaign_id)\n";
stringBuilder.append(" and site_id = :p_company_site_id");
stringBuilder.append(" and customize_field_id not in (select customize_field_id");
stringBuilder.append(" from campaign_customerlist_column");
stringBuilder.append(" where campaign_customerlist_column.campaign_id = :p_campaign_id)");
@@ -105,6 +105,8 @@ customer.notLessThan = không được nhỏ hơn
...
@@ -105,6 +105,8 @@ customer.notLessThan = không được nhỏ hơn
customer.importCustomer=IMPORT KHÁCH HÀNG
customer.importCustomer=IMPORT KHÁCH HÀNG
customer.notice=Chú ý: 1 bản ghi được coi là hợp lệ bắt buộc phải có thông tin Họ và Tên và 1 trong 3 thông tin liên lạc (số điện thoại chính, số điện thoại phụ hoặc email)
customer.notice=Chú ý: 1 bản ghi được coi là hợp lệ bắt buộc phải có thông tin Họ và Tên và 1 trong 3 thông tin liên lạc (số điện thoại chính, số điện thoại phụ hoặc email)