Merge branch 'ww' into test
# Conflicts: # src/main/java/com/chaozhanggui/system/cashierservice/dao/TbActivateInRecordMapper.java # src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbActivateInRecordServiceImpl.java # src/main/resources/mapper/TbActivateInRecordMapper.xml
This commit is contained in:
@@ -2,9 +2,7 @@ package com.chaozhanggui.system.cashierservice.dao;
|
||||
|
||||
import com.chaozhanggui.system.cashierservice.entity.TbActivateInRecord;
|
||||
import com.chaozhanggui.system.cashierservice.entity.TbProduct;
|
||||
import com.chaozhanggui.system.cashierservice.entity.vo.VipProductsLimits;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -821,7 +821,7 @@ public class CartService {
|
||||
|
||||
|
||||
} catch (Exception e) {
|
||||
log.info("长链接错误 addCart{}", e.getMessage());
|
||||
log.info("长链接错误 createOrder{}", e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,11 +35,6 @@ public class TbActivateInRecordServiceImpl implements TbActivateInRecordService
|
||||
|
||||
@Override
|
||||
public List<TbProduct> queryByVipIdAndShopId(Integer vipUserId, Integer shopId) {
|
||||
// List<TbProduct> tbProducts = tbActivateInRecordMapper.queryByVipIdAndShopId(vipUserId, shopId);
|
||||
// for (TbProduct tbProduct : tbProducts) {
|
||||
// tbProduct.setLimitNumber(tbActivateInRecordMapper.queryByVipIdAndShopIdAndProId(vipUserId, shopId,tbProduct.getId()));
|
||||
// }
|
||||
// return tbProducts;
|
||||
return tbActivateInRecordMapper.queryByVipIdAndShopId(vipUserId, shopId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user