定时器,欢迎语

dev
zhenghuang 5 years ago
parent 41ecc64ce4
commit b259f33661

@ -110,10 +110,11 @@ public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMap
if (!codeFile.exists() || src.getQrCode() == null) {
// String cpUserId = "mayifei";
String cpUserId = staff.getStaffCode();
String url = "https://wework.qpic.cn/wwpic/789548_SW5hhAm-TgyEW0F_1590128879/0";
String url = "";
if (cpUserId != "mayifei") {
url = storeEmployeeService.createActivityQrCode(cpUserId, staff.getStoreCode(), src.getType().intValue(), src.getInstanceId(), src.getPromoterId());
}
if(url == "") url = "https://wework.qpic.cn/wwpic/789548_SW5hhAm-TgyEW0F_1590128879/0";
saveCodeFile(url, src.getCode());
src.setQrCode(url);
updateById(src);

Loading…
Cancel
Save