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
094b34c7
Commit
094b34c7
authored
Aug 28, 2019
by
Phạm Duy Phi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
phipd commit
parent
0136cb05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
...om/viettel/campaign/service/impl/CustomerServiceImpl.java
+5
-5
No files found.
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
View file @
094b34c7
...
...
@@ -284,7 +284,7 @@ public class CustomerServiceImpl implements CustomerService {
if
(!
DataUtil
.
isNullOrEmpty
(
name
))
{
query
.
setParameter
(
"p_name"
,
"%"
+
name
.
replace
(
"\\"
,
"\\\\"
)
name
.
trim
().
replace
(
"\\"
,
"\\\\"
)
.
replaceAll
(
"%"
,
"\\%"
)
.
replaceAll
(
"_"
,
"\\_"
)
+
"%"
);
...
...
@@ -292,7 +292,7 @@ public class CustomerServiceImpl implements CustomerService {
if
(!
DataUtil
.
isNullOrEmpty
(
mobileNumber
))
{
query
.
setParameter
(
"p_mobile_number"
,
"%"
+
mobileNumber
.
replace
(
"\\"
,
"\\\\"
)
mobileNumber
.
trim
().
replace
(
"\\"
,
"\\\\"
)
.
replaceAll
(
"%"
,
"\\%"
)
.
replaceAll
(
"_"
,
"\\_"
)
+
"%"
);
...
...
@@ -300,7 +300,7 @@ public class CustomerServiceImpl implements CustomerService {
if
(!
DataUtil
.
isNullOrEmpty
(
email
))
{
query
.
setParameter
(
"p_email"
,
"%"
+
email
.
replace
(
"\\"
,
"\\\\"
)
email
.
trim
().
replace
(
"\\"
,
"\\\\"
)
.
replaceAll
(
"%"
,
"\\%"
)
.
replaceAll
(
"_"
,
"\\_"
)
+
"%"
);
...
...
@@ -668,9 +668,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
());
...
...
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