Commit e4f8b465 authored by ='s avatar =

hungtt-commit get data combobox field

parent ca568599
...@@ -1758,9 +1758,8 @@ public class CustomerServiceImpl implements CustomerService { ...@@ -1758,9 +1758,8 @@ public class CustomerServiceImpl implements CustomerService {
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
try { try {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append(" select distinct name value, value key from customize_field_option_value a"); sb.append(" select distinct name, field_option_value_id key from customize_field_option_value");
sb.append(" inner join customize_field_object b on a.field_option_value_id = b.field_option_value_id"); sb.append(" where field_option_id = :p_field_id");
sb.append(" where a.field_option_id = :p_field_id");
params.put("p_field_id", campaignCustomerDTO.getField()); params.put("p_field_id", campaignCustomerDTO.getField());
......
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