Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
service-campaign
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyen Ha
service-campaign
Commits
ce797e37
Commit
ce797e37
authored
Aug 28, 2019
by
đinh thị đầm
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.myitsol.com/hanv/service-campaign
parents
742705a8
4f525c8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
...om/viettel/campaign/service/impl/CustomerServiceImpl.java
+8
-8
No files found.
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
View file @
ce797e37
...
...
@@ -282,7 +282,7 @@ public class CustomerServiceImpl implements CustomerService {
if
(!
DataUtil
.
isNullOrEmpty
(
name
))
{
query
.
setParameter
(
"p_name"
,
"%"
+
name
.
replace
(
"\\"
,
"\\\\"
)
name
.
trim
().
replace
(
"\\"
,
"\\\\"
)
.
replaceAll
(
"%"
,
"\\%"
)
.
replaceAll
(
"_"
,
"\\_"
)
+
"%"
);
...
...
@@ -290,7 +290,7 @@ public class CustomerServiceImpl implements CustomerService {
if
(!
DataUtil
.
isNullOrEmpty
(
mobileNumber
))
{
query
.
setParameter
(
"p_mobile_number"
,
"%"
+
mobileNumber
.
replace
(
"\\"
,
"\\\\"
)
mobileNumber
.
trim
().
replace
(
"\\"
,
"\\\\"
)
.
replaceAll
(
"%"
,
"\\%"
)
.
replaceAll
(
"_"
,
"\\_"
)
+
"%"
);
...
...
@@ -298,7 +298,7 @@ public class CustomerServiceImpl implements CustomerService {
if
(!
DataUtil
.
isNullOrEmpty
(
email
))
{
query
.
setParameter
(
"p_email"
,
"%"
+
email
.
replace
(
"\\"
,
"\\\\"
)
email
.
trim
().
replace
(
"\\"
,
"\\\\"
)
.
replaceAll
(
"%"
,
"\\%"
)
.
replaceAll
(
"_"
,
"\\_"
)
+
"%"
);
...
...
@@ -666,9 +666,9 @@ public class CustomerServiceImpl implements CustomerService {
CustomerList
customerList
=
customerListRepository
.
findByCustomerListIdAndCompanySiteId
(
customerListDTO
.
getCustomerListId
(),
customerListDTO
.
getCompanySiteId
());
if
(
customerList
!=
null
)
{
customerList
.
setCreateBy
(
customerListDTO
.
getCreateBy
());
//
customerList.setCreateBy(customerListDTO.getCreateBy());
customerList
.
setCompanySiteId
(
customerListDTO
.
getCompanySiteId
());
customerList
.
setCreateAt
(
customerListDTO
.
getCreateAt
());
//
customerList.setCreateAt(customerListDTO.getCreateAt());
customerList
.
setCustomerListCode
(
customerListDTO
.
getCustomerListCode
());
customerList
.
setCustomerListName
(
customerListDTO
.
getCustomerListName
());
customerList
.
setDeptCreate
(
customerListDTO
.
getDeptCreate
());
...
...
@@ -1595,10 +1595,10 @@ public class CustomerServiceImpl implements CustomerService {
sb
.
append
(
" ), datas as ("
);
sb
.
append
(
" select c.customer_id customerId,"
);
sb
.
append
(
" c.name,"
);
sb
.
append
(
" cP.phone,"
);
sb
.
append
(
" cP.phone
mobileNumber
,"
);
sb
.
append
(
" cE.email,"
);
sb
.
append
(
" c.customer_type cusType,"
);
sb
.
append
(
" c.company_name compName,"
);
sb
.
append
(
" c.customer_type cus
tomer
Type,"
);
sb
.
append
(
" c.company_name comp
any
Name,"
);
sb
.
append
(
" c.current_address currentAddress,"
);
sb
.
append
(
" c.description,"
);
sb
.
append
(
" c.ipcc_status ipccStatus,"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment