Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-store
Commits
20353341
Commit
20353341
authored
Sep 18, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店
parent
edb35670
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
QrcodeQO.java
...eb/src/main/java/com/gic/store/web/qo/store/QrcodeQO.java
+11
-9
ExcelUtils.java
...web/src/main/java/com/gic/store/web/utils/ExcelUtils.java
+3
-3
No files found.
gic-store-web/src/main/java/com/gic/store/web/qo/store/QrcodeQO.java
View file @
20353341
package
com
.
gic
.
store
.
web
.
qo
.
store
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.gic.store.dto.StoreSearchDTO
;
import
org.apache.commons.lang.StringUtils
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.List
;
import
com.gic.store.dto.StoreSearchDTO
;
import
org.apache.commons.lang.StringUtils
;
/**
*
* @ClassName: QrcodeQO
...
...
@@ -15,7 +16,8 @@ import org.apache.commons.lang.StringUtils;
* @date 2020-09-09 19:07
*/
public
class
QrcodeQO
implements
Serializable
{
private
Integer
h5
=
0
;
@JsonProperty
(
"h5"
)
private
Integer
html
=
0
;
private
String
appletIds
;
private
String
fwhIds
;
private
String
scenesValueIds
;
...
...
@@ -28,13 +30,13 @@ public class QrcodeQO implements Serializable {
private
String
fileName
;
private
StoreSearchDTO
storeSearchDTO
;
public
Integer
getH
5
()
{
return
h
5
;
public
Integer
getH
tml
()
{
return
h
tml
;
}
public
void
setH
5
(
Integer
h5
)
{
if
(
h
5
!=
null
&&
StringUtils
.
isNotBlank
(
h5
+
""
)){
this
.
h
5
=
h5
;
public
void
setH
tml
(
Integer
html
)
{
if
(
h
tml
!=
null
&&
StringUtils
.
isNotBlank
(
html
+
""
)){
this
.
h
tml
=
html
;
}
}
...
...
gic-store-web/src/main/java/com/gic/store/web/utils/ExcelUtils.java
View file @
20353341
...
...
@@ -60,9 +60,9 @@ public class ExcelUtils {
for
(
int
j
=
0
;
j
<
everyLines
.
get
(
i
).
size
();
j
++)
{
sheet
.
setColumnWidth
(
j
,
COLUMN_HEIGHT
);
//将内容按顺序赋给对应的列对象
XSSFCell
cell
1
=
row
.
createCell
(
j
);
cell
1
.
setCellValue
(
everyLines
.
get
(
i
).
get
(
j
));
cell
1
.
setCellStyle
(
style
);
XSSFCell
cell
Tmp
=
row
.
createCell
(
j
);
cell
Tmp
.
setCellValue
(
everyLines
.
get
(
i
).
get
(
j
));
cell
Tmp
.
setCellStyle
(
style
);
}
}
return
wb
;
...
...
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