Commit 899ab631 authored by Phạm Duy Phi's avatar Phạm Duy Phi

commit

parent e065770c
...@@ -90,6 +90,10 @@ public class CustomerServiceImpl implements CustomerService { ...@@ -90,6 +90,10 @@ public class CustomerServiceImpl implements CustomerService {
query.addScalar("companyName", new StringType()); query.addScalar("companyName", new StringType());
query.addScalar("customerType", new StringType()); query.addScalar("customerType", new StringType());
query.addScalar("currentAddress", new StringType()); query.addScalar("currentAddress", new StringType());
query.addScalar("callAllowed", new ShortType());
query.addScalar("emailAllowed", new ShortType());
query.addScalar("smsAllowed", new ShortType());
query.addScalar("ipccStatus", new StringType());
query.addScalar("mobileNumber", new StringType()); query.addScalar("mobileNumber", new StringType());
query.addScalar("email", new StringType()); query.addScalar("email", new StringType());
......
...@@ -15,6 +15,10 @@ public class CustomerCustomDTO { ...@@ -15,6 +15,10 @@ public class CustomerCustomDTO {
String companyName; String companyName;
String customerType; String customerType;
String currentAddress; String currentAddress;
Short callAllowed;
Short emailAllowed;
Short smsAllowed;
String ipccStatus;
String mobileNumber; String mobileNumber;
String email; String email;
} }
...@@ -8,6 +8,10 @@ select ...@@ -8,6 +8,10 @@ select
b.COMPANY_NAME companyName, b.COMPANY_NAME companyName,
b.CUSTOMER_TYPE customerType, b.CUSTOMER_TYPE customerType,
b.CURRENT_ADDRESS currentAddress, b.CURRENT_ADDRESS currentAddress,
b.CALL_ALLOWED callAllowed,
b.EMAIL_ALLOWED emailAllowed,
b.SMS_ALLOWED smsAllowed,
b.IPCC_STATUS ipccStatus,
c.MOBILE mobileNumber, c.MOBILE mobileNumber,
d.EMAIL email d.EMAIL email
from CUSTOMER_LIST_MAPPING a from CUSTOMER_LIST_MAPPING a
......
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