|
|
|
@ -108,8 +108,8 @@ public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMap
|
|
|
|
|
for (PmnPromotionSrc src : srcs) {
|
|
|
|
|
File codeFile = new File("activity/" + src.getCode() + ".png");
|
|
|
|
|
if (!codeFile.exists() || src.getQrCode() == null) {
|
|
|
|
|
String cpUserId = "mayifei";
|
|
|
|
|
// String cpUserId = staff.getStaffCode();
|
|
|
|
|
// String cpUserId = "mayifei";
|
|
|
|
|
String cpUserId = staff.getStaffCode();
|
|
|
|
|
String url = "https://wework.qpic.cn/wwpic/789548_SW5hhAm-TgyEW0F_1590128879/0";
|
|
|
|
|
if (cpUserId != "mayifei") {
|
|
|
|
|
url = storeEmployeeService.createActivityQrCode(cpUserId, staff.getStoreCode(), src.getType().intValue(), src.getInstanceId(), src.getPromoterId());
|
|
|
|
@ -134,7 +134,7 @@ public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMap
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
vo.setInstanceVO(instance);
|
|
|
|
|
vo.setQrCode("/activity/" + src.getCode() + ".png");
|
|
|
|
|
// vo.setQrCode("/activity/" + src.getCode() + ".png");
|
|
|
|
|
if (type.equals(2L)) {
|
|
|
|
|
QueryWrapper<PoiStoreStaff> wrapper = new QueryWrapper<>();
|
|
|
|
|
//如果有店铺则查店铺
|
|
|
|
|