|
|
@ -1,7 +1,6 @@ |
|
|
|
package com.yxt.yyth.biz.lpkgiftcard; |
|
|
|
|
|
|
|
import cn.hutool.core.date.DateTime; |
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
import cn.hutool.core.img.ImgUtil; |
|
|
|
import cn.hutool.extra.qrcode.QrCodeUtil; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
@ -15,19 +14,12 @@ import com.yxt.common.core.query.PagerQuery; |
|
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
|
import com.yxt.common.core.vo.PagerVo; |
|
|
|
import com.yxt.yyth.api.lpkcardbuildrecord.LpkCardBuildRecord; |
|
|
|
import com.yxt.yyth.api.lpkcardbuildrecord.LpkCardBuildRecordQuery; |
|
|
|
import com.yxt.yyth.api.lpkcardbuildrecord.LpkCardBuildRecordVo; |
|
|
|
import com.yxt.yyth.api.lpkcardgrantrecord.LpkCardGrantRecordDto; |
|
|
|
import com.yxt.yyth.api.lpkgiftbag.LpkGiftBag; |
|
|
|
import com.yxt.yyth.api.lpkgiftbag.LpkGiftBagVo; |
|
|
|
import com.yxt.yyth.api.lpkgiftbaggoods.LpkGiftBagGoodsVo; |
|
|
|
import com.yxt.yyth.api.lpkgiftcard.*; |
|
|
|
import com.yxt.yyth.api.lpkgoods.LpkGoods; |
|
|
|
import com.yxt.yyth.api.lpkgoods.LpkGoodsQuery; |
|
|
|
import com.yxt.yyth.api.lpkgoods.LpkGoodsVo; |
|
|
|
import com.yxt.yyth.api.lpkreserveorder.LpkReserveOrderVo; |
|
|
|
import com.yxt.yyth.api.lpkreserveordergoods.LpkReserveOrderGoods; |
|
|
|
import com.yxt.yyth.api.lpkstore.LpkStoreQuery; |
|
|
|
import com.yxt.yyth.api.lpkstore.StoreSelect; |
|
|
|
import com.yxt.yyth.biz.lpkcardbuildrecord.LpkCardBuildRecordService; |
|
|
|
import com.yxt.yyth.biz.lpkcardgrantrecord.LpkCardGrantRecordService; |
|
|
@ -36,7 +28,6 @@ import com.yxt.yyth.biz.lpkgiftcard.generateRule.UniqueIdGenerator; |
|
|
|
import com.yxt.yyth.biz.lpkreserveorder.LpkReserveOrderService; |
|
|
|
import com.yxt.yyth.biz.lpkreserveordergoods.LpkReserveOrderGoodsService; |
|
|
|
import com.yxt.yyth.biz.lpkstore.LpkStoreService; |
|
|
|
import org.bouncycastle.math.Primes; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -47,8 +38,6 @@ import java.awt.image.BufferedImage; |
|
|
|
import java.io.File; |
|
|
|
import java.io.FileOutputStream; |
|
|
|
import java.io.IOException; |
|
|
|
import java.io.UnsupportedEncodingException; |
|
|
|
import java.net.URLEncoder; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
@ -181,7 +170,8 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp |
|
|
|
AppletVo vo = baseMapper.getGifCardBySid(sid); |
|
|
|
List<LpkGiftBagGoodsVo> list = LpkGiftBagGoodsService.getGoodsByBagSid(vo.getGiftbagSid()); |
|
|
|
// List<StoreSelect> l = lpkStoreService.getAllStore().getData();
|
|
|
|
LpkStoreQuery query=new LpkStoreQuery(); |
|
|
|
List<StoreSelect> l = lpkStoreService.getSelectStore().getData(); |
|
|
|
// LpkStoreQuery query=new LpkStoreQuery();
|
|
|
|
// List<StoreSelect> l = lpkStoreService.getAllStoreByQuery(query).getData();
|
|
|
|
|
|
|
|
List<GoodsVo> goodsVos = new ArrayList<>(); |
|
|
@ -208,7 +198,7 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp |
|
|
|
} |
|
|
|
}); |
|
|
|
vo.setGoodsVos(goodsVos); |
|
|
|
// vo.setSelect(l);
|
|
|
|
vo.setSelect(l); |
|
|
|
LpkReserveOrderVo vo1 = lpkReserveOrderService.getStoreByCustomerSid(vo.getCustomerSid()).getData(); |
|
|
|
if (null != vo1) { |
|
|
|
// vo.setSelect(l);
|
|
|
|