Merge remote-tracking branch 'origin/master'
# Conflicts: # src/main/java/com/yxt/yyth/biz/lpkgiftcard/LpkGiftCardService.java
BIN
docs/tester/1千张卡印制/定版/定版20231201/1-提货卡明细列表(白菜券).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/2-提货卡明细列表(土豆券).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/3-提货卡明细列表(大葱券).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/4-提货卡明细列表(沙窝萝卜).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/5-提货卡明细列表(包尖白菜).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/6-提货卡明细列表(红薯粉条).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/7-提货卡明细列表(红薯).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/8-提货卡明细列表(泥坑藕).xls
Normal file
BIN
docs/tester/1千张卡印制/定版/定版20231201/其余七款背面.jpg
Normal file
|
After Width: | Height: | Size: 5.2 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/包尖白菜.jpg
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/土豆.jpg
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/大葱.jpg
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/大葱背面.jpg
Normal file
|
After Width: | Height: | Size: 5.2 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/沙窝萝卜.jpg
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/泥坑藕.jpg
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/白菜.jpg
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/红薯.jpg
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/tester/1千张卡印制/定版/定版20231201/红薯粉条.jpg
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
docs/xiugai/20231201/2023-11-30_修改方案.doc
Normal file
BIN
docs/xiugai/20231201/小程序页面截图 .doc
Normal file
@@ -12,11 +12,14 @@ import lombok.Data;
|
|||||||
public class LpkGiftCardExport {
|
public class LpkGiftCardExport {
|
||||||
@ExportEntityMap(CnName = "提货二维码", EnName = "pic")
|
@ExportEntityMap(CnName = "提货二维码", EnName = "pic")
|
||||||
private String pic;
|
private String pic;
|
||||||
@ExportEntityMap(CnName = "提货编码", EnName = "code")
|
@ExportEntityMap(CnName = "提货编码第一行", EnName = "code1")
|
||||||
private String code;
|
private String code1;
|
||||||
|
@ExportEntityMap(CnName = "提货编码第二行", EnName = "code2")
|
||||||
|
private String code2;
|
||||||
@ExportEntityMap(CnName = "提货密码", EnName = "codeKey")
|
@ExportEntityMap(CnName = "提货密码", EnName = "codeKey")
|
||||||
private String codeKey;
|
private String codeKey;
|
||||||
@ExportEntityMap(CnName = "序列号", EnName = "serialNumber")
|
@ExportEntityMap(CnName = "序列号", EnName = "serialNumber")
|
||||||
private String serialNumber;
|
private String serialNumber;
|
||||||
|
private String code;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
|
|||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
return rb.success().setData(p);
|
return rb.success().setData(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ResultBean updateIsItInvalid() {
|
public ResultBean updateIsItInvalid() {
|
||||||
ResultBean rb = new ResultBean();
|
ResultBean rb = new ResultBean();
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
@@ -126,6 +127,7 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
|
|||||||
}
|
}
|
||||||
return rb.success();
|
return rb.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ResultBean<AppletVo> getGifCardBySid(String sid) {
|
public ResultBean<AppletVo> getGifCardBySid(String sid) {
|
||||||
ResultBean rb = new ResultBean().fail();
|
ResultBean rb = new ResultBean().fail();
|
||||||
AppletVo vo = baseMapper.getGifCardBySid(sid);
|
AppletVo vo = baseMapper.getGifCardBySid(sid);
|
||||||
@@ -209,6 +211,9 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
|
|||||||
// vo.setSelect(l);
|
// vo.setSelect(l);
|
||||||
LpkReserveOrderVo vo1 = lpkReserveOrderService.getStoreByCustomerSid(vo.getCustomerSid()).getData();
|
LpkReserveOrderVo vo1 = lpkReserveOrderService.getStoreByCustomerSid(vo.getCustomerSid()).getData();
|
||||||
if (null != vo1) {
|
if (null != vo1) {
|
||||||
|
// vo.setSelect(l);
|
||||||
|
// LpkReserveOrderVo vo1 =lpkReserveOrderService.getStoreByCustomerSid(vo.getCustomerSid()).getData();
|
||||||
|
// if(null!=vo1){
|
||||||
vo.setStoreSid(vo1.getStore());
|
vo.setStoreSid(vo1.getStore());
|
||||||
}
|
}
|
||||||
return rb.success().setData(vo);
|
return rb.success().setData(vo);
|
||||||
@@ -376,6 +381,8 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
|
|||||||
for (LpkGiftCardExport lpkGiftCardExport : exportList) {
|
for (LpkGiftCardExport lpkGiftCardExport : exportList) {
|
||||||
if (StringUtils.isNotBlank(lpkGiftCardExport.getCode())) {
|
if (StringUtils.isNotBlank(lpkGiftCardExport.getCode())) {
|
||||||
lpkGiftCardExport.setPic(finUrl + lpkGiftCardExport.getCode());
|
lpkGiftCardExport.setPic(finUrl + lpkGiftCardExport.getCode());
|
||||||
|
lpkGiftCardExport.setCode1(lpkGiftCardExport.getCode().substring(0,10));
|
||||||
|
lpkGiftCardExport.setCode2(lpkGiftCardExport.getCode().substring(lpkGiftCardExport.getCode().length() - 10));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -392,6 +399,7 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
|
|||||||
ExportExcelUtils.export(fileNameURL, exportList, LpkGiftCardExport.class, response);
|
ExportExcelUtils.export(fileNameURL, exportList, LpkGiftCardExport.class, response);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ResultBean cardGrant(CardGrantDto dto) {
|
public ResultBean cardGrant(CardGrantDto dto) {
|
||||||
ResultBean rb = new ResultBean().fail();
|
ResultBean rb = new ResultBean().fail();
|
||||||
int start = Integer.parseInt(dto.getStart());
|
int start = Integer.parseInt(dto.getStart());
|
||||||
@@ -424,6 +432,7 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
|
|||||||
baseMapper.updateState(serialNumbers, "2", dto.getBankSid(), r);
|
baseMapper.updateState(serialNumbers, "2", dto.getBankSid(), r);
|
||||||
return rb.success().setData("成功");
|
return rb.success().setData("成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
public ResultBean<Integer> cardGrantCount(String recordSid) {
|
public ResultBean<Integer> cardGrantCount(String recordSid) {
|
||||||
ResultBean rb = new ResultBean().fail();
|
ResultBean rb = new ResultBean().fail();
|
||||||
Integer i = baseMapper.cardGrantCount(recordSid);
|
Integer i = baseMapper.cardGrantCount(recordSid);
|
||||||
|
|||||||