Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d413cdc1
authored
Apr 30, 2021
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:
1 parent
9e9af135
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
View file @
d413cdc
...
@@ -408,9 +408,7 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
...
@@ -408,9 +408,7 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
private
String
getGroupFissionQrcode
(
Long
taskFissionId
,
WeTaskFissionRecord
record
,
WeCustomer
weCustomer
)
{
private
String
getGroupFissionQrcode
(
Long
taskFissionId
,
WeTaskFissionRecord
record
,
WeCustomer
weCustomer
)
{
String
qrCode
=
null
;
String
qrCode
=
null
;
if
(
weCustomer
!=
null
)
{
if
(
weCustomer
!=
null
)
{
String
avatar
=
weCustomer
.
getAvatar
();
String
avatarUrl
=
weCustomer
.
getAvatar
();
WeMaterial
file
=
weMaterialService
.
findWeMaterialById
(
Long
.
parseLong
(
avatar
));
String
avatarUrl
=
StringUtils
.
isEmpty
(
avatar
)
?
file
.
getMaterialUrl
()
:
avatar
;
String
content
=
"/wecom/fission/complete/"
+
taskFissionId
+
"/records/"
+
record
.
getId
();
String
content
=
"/wecom/fission/complete/"
+
taskFissionId
+
"/records/"
+
record
.
getId
();
BufferedImage
bufferedImage
=
QREncode
.
crateQRCode
(
content
,
avatarUrl
);
BufferedImage
bufferedImage
=
QREncode
.
crateQRCode
(
content
,
avatarUrl
);
if
(
bufferedImage
!=
null
)
{
if
(
bufferedImage
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment