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.TbActivateInRecord;
|
||||||
import com.chaozhanggui.system.cashierservice.entity.TbProduct;
|
import com.chaozhanggui.system.cashierservice.entity.TbProduct;
|
||||||
import com.chaozhanggui.system.cashierservice.entity.vo.VipProductsLimits;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
import org.springframework.data.domain.Pageable;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|||||||
@@ -821,7 +821,7 @@ public class CartService {
|
|||||||
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.info("长链接错误 addCart{}", e.getMessage());
|
log.info("长链接错误 createOrder{}", e.getMessage());
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,11 +35,6 @@ public class TbActivateInRecordServiceImpl implements TbActivateInRecordService
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<TbProduct> queryByVipIdAndShopId(Integer vipUserId, Integer shopId) {
|
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);
|
return tbActivateInRecordMapper.queryByVipIdAndShopId(vipUserId, shopId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,9 +53,9 @@
|
|||||||
<include refid="Base_Column_List"/>
|
<include refid="Base_Column_List"/>
|
||||||
from tb_activate_in_record
|
from tb_activate_in_record
|
||||||
WHERE
|
WHERE
|
||||||
vip_user_id = #{id}
|
vip_user_id = #{vipUserId}
|
||||||
and shop_id = #{shopId}
|
and shop_id = #{shopId}
|
||||||
and pro_id = #{proId}
|
and pro_id = #{productId}
|
||||||
and over_num > 0
|
and over_num > 0
|
||||||
order by create_time
|
order by create_time
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user