提交 253405a7 编写于 作者: 孙喜旺

feat:

上级 5e53fa84
......@@ -408,9 +408,7 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
private String getGroupFissionQrcode(Long taskFissionId, WeTaskFissionRecord record, WeCustomer weCustomer) {
String qrCode = null;
if (weCustomer != null) {
String avatar = weCustomer.getAvatar();
WeMaterial file = weMaterialService.findWeMaterialById(Long.parseLong(avatar));
String avatarUrl = StringUtils.isEmpty(avatar) ? file.getMaterialUrl() : avatar;
String avatarUrl = weCustomer.getAvatar();
String content = "/wecom/fission/complete/" + taskFissionId + "/records/" + record.getId();
BufferedImage bufferedImage = QREncode.crateQRCode(content, avatarUrl);
if (bufferedImage != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册