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
2aa070ed
Commit
2aa070ed
authored
Sep 16, 2019
by
Đào Nhật Quang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quangdn
parent
a2ed3cfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
...om/viettel/campaign/service/impl/CustomerServiceImpl.java
+1
-17
No files found.
src/main/java/com/viettel/campaign/service/impl/CustomerServiceImpl.java
View file @
2aa070ed
...
...
@@ -1076,22 +1076,6 @@ public class CustomerServiceImpl implements CustomerService {
Row
dataRow
=
sheet
.
getRow
(
i
);
if
(!
isRowEmpty
(
dataRow
))
{
Object
[]
obj
=
new
Object
[
objectSize
+
1
];
// for (int j = 0; j < header.size(); j++) {
// Cell dataCell = dataRow.getCell(j);
// if (dataCell != null) {
// obj[j] = dataFormat.formatCellValue(dataCell);
// } else {
// Cell headerCell = row.getCell(j);
// if (headerCell.getStringCellValue().equals(BundleUtils.getLangString("customer.cusType", locale))) {
// obj[j] = BundleUtils.getLangString("customer.cusType.normal", locale);
// } else if (headerCell.getStringCellValue().equals(BundleUtils.getLangString("customer.callAllowed", locale)) || headerCell.getStringCellValue().equals(BundleUtils.getLangString("customer.emailAllowed", locale))
// || headerCell.getStringCellValue().equals(BundleUtils.getLangString("customer.smsAllowed", locale))) {
// obj[j] = BundleUtils.getLangString("customer.yes", locale);
// } else {
// obj[j] = null;
// }
// }
// }
headerMap
.
forEach
((
k
,
v
)
->
{
Cell
dataCell
=
dataRow
.
getCell
(
v
);
if
(
dataCell
!=
null
)
{
...
...
@@ -1851,7 +1835,7 @@ public class CustomerServiceImpl implements CustomerService {
for
(
int
i
=
0
;
i
<
header
.
size
();
i
++)
{
sheet
.
setDefaultColumnStyle
(
i
,
columnStyle
);
Cell
headerCell
=
row3
.
createCell
(
i
);
headerCell
.
setCellValue
(
header
.
get
(
i
).
getTitle
().
split
(
"#"
)[
0
]);
headerCell
.
setCellValue
(
header
.
get
(
i
).
getTitle
().
split
(
"#"
)[
0
]
.
trim
()
);
headerStyle
.
setBorderTop
(
BorderStyle
.
THIN
);
headerStyle
.
setBorderRight
(
BorderStyle
.
THIN
);
headerStyle
.
setBorderBottom
(
BorderStyle
.
THIN
);
...
...
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