Commit 593f8d04 by “Kongxiangkun”

增加积分商城相关代码

parent 2eecdddb
......@@ -241,7 +241,7 @@ public class PointDetailsServiceImpl extends ServiceImpl<PointDetailsMapper, com
for(PointDetailsVO vo : list) {
if("point_exchange".equals(vo.getLearnType())) {
String productNames = pointProductMapper.getProductNamesByProductIds(
Arrays.asList(vo.getLearnSource()));
Arrays.asList(vo.getLearnSource().split(",")));
log.info("积分明细查询商品名称:{}", productNames);
String learnName = vo.getLearnName() + " 兑换商品:" + productNames;
vo.setLearnName(learnName);
......
......@@ -226,7 +226,7 @@ public class PointServiceImpl extends ServiceImpl<PointMapper, Point> implements
for(PointDetailListVO vo : page.getRecords()) {
if("point_exchange".equals(vo.getLearnType())) {
String productNames = pointProductMapper.getProductNamesByProductIds(
Arrays.asList(vo.getLearnSource()));
Arrays.asList(vo.getLearnSource().split(",")));
log.info("积分明细查询商品名称:{}", productNames);
String learnName = vo.getLearnName() + " 兑换商品:" + productNames;
vo.setLearnName(learnName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment