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
6476719d
Commit
6476719d
authored
Sep 03, 2019
by
Đào Nhật Quang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quangdn
parent
c15a89e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
...om/viettel/campaign/service/impl/CustomerServiceImpl.java
+4
-4
No files found.
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
View file @
6476719d
...
...
@@ -1414,10 +1414,10 @@ public class CustomerServiceImpl implements CustomerService {
//<editor-fold desc="Cho những trường tĩnh" defaultstate="collapsed">
DataValidationConstraint
cusTypeConstraint
=
dataValidationHelper
.
createExplicitListConstraint
(
new
String
[]{
BundleUtils
.
getLangString
(
"customer.cusType.normal"
,
locale
),
BundleUtils
.
getLangString
(
"customer.cusType.vip"
,
locale
),
BundleUtils
.
getLangString
(
"customer.cusType.blacklist"
,
locale
)});
DataValidationConstraint
isAllowConstraint
=
dataValidationHelper
.
createExplicitListConstraint
(
new
String
[]{
BundleUtils
.
getLangString
(
"customer.yes"
,
locale
),
BundleUtils
.
getLangString
(
"customer.not"
,
locale
)});
CellRangeAddressList
cusTypeCellRangeAddressList
=
new
CellRangeAddressList
(
3
,
9999
,
6
,
6
);
CellRangeAddressList
callCellRangeAddressList
=
new
CellRangeAddressList
(
3
,
9999
,
9
,
9
);
CellRangeAddressList
emailCellRangeAddressList
=
new
CellRangeAddressList
(
3
,
9999
,
10
,
10
);
CellRangeAddressList
smsCellRangeAddressList
=
new
CellRangeAddressList
(
3
,
9999
,
11
,
11
);
CellRangeAddressList
cusTypeCellRangeAddressList
=
new
CellRangeAddressList
(
4
,
9999
,
6
,
6
);
CellRangeAddressList
callCellRangeAddressList
=
new
CellRangeAddressList
(
4
,
9999
,
9
,
9
);
CellRangeAddressList
emailCellRangeAddressList
=
new
CellRangeAddressList
(
4
,
9999
,
10
,
10
);
CellRangeAddressList
smsCellRangeAddressList
=
new
CellRangeAddressList
(
4
,
9999
,
11
,
11
);
DataValidation
cusTypeValidation
=
dataValidationHelper
.
createValidation
(
cusTypeConstraint
,
cusTypeCellRangeAddressList
);
DataValidation
callValidation
=
dataValidationHelper
.
createValidation
(
isAllowConstraint
,
callCellRangeAddressList
);
DataValidation
emailValidation
=
dataValidationHelper
.
createValidation
(
isAllowConstraint
,
emailCellRangeAddressList
);
...
...
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