|
|
@ -103,7 +103,7 @@ public class PmnPromotionSrcServiceImpl extends ServiceImpl<PmnPromotionSrcDOMap
|
|
|
|
if (type.equals(2L)) {
|
|
|
|
if (type.equals(2L)) {
|
|
|
|
userId = staff.getStoreId();
|
|
|
|
userId = staff.getStoreId();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
List<PmnPromotionSrc> srcs = list(Wrappers.<PmnPromotionSrc>lambdaQuery().eq(PmnPromotionSrc::getPromoterId, userId).eq(PmnPromotionSrc::getType, type));
|
|
|
|
List<PmnPromotionSrc> srcs = list(Wrappers.<PmnPromotionSrc>lambdaQuery().eq(PmnPromotionSrc::getPromoterId, userId).eq(PmnPromotionSrc::getType, type).eq(PmnPromotionSrc::getStatus, 1));
|
|
|
|
for (PmnPromotionSrc src : srcs) {
|
|
|
|
for (PmnPromotionSrc src : srcs) {
|
|
|
|
File codeFile = new File("activity/" + src.getCode() + ".png");
|
|
|
|
File codeFile = new File("activity/" + src.getCode() + ".png");
|
|
|
|
if (!codeFile.exists() || src.getQrCode() == null) {
|
|
|
|
if (!codeFile.exists() || src.getQrCode() == null) {
|
|
|
|