类 CartServiceImpl

java.lang.Object
com.walker.jdbc.service.BaseServiceImpl
com.ishop.mobile.service.CartServiceImpl
所有已实现的接口:
com.walker.jdbc.BaseDao, com.walker.jdbc.service.BaseService

@Service public class CartServiceImpl extends com.walker.jdbc.service.BaseServiceImpl
  • 嵌套类概要

    从接口继承的嵌套类/接口 com.walker.jdbc.BaseDao

    com.walker.jdbc.BaseDao.RowExecution<T extends Object>
  • 字段概要

    从类继承的字段 com.walker.jdbc.service.BaseServiceImpl

    dao, log
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    List<com.ishop.model.po.EbCart>
    queryList(boolean isValid, long userId)
    查询用户购物车记录。
    int
    queryUserCountByStatus(long userId, Boolean status)
    购物车商品数量(条数)
    int
    queryUserSumByStatus(long userId, Boolean status)
    购物车购买商品总数量

    从类继承的方法 com.walker.jdbc.service.BaseServiceImpl

    delete, delete, delete, delete, execBatchUpdate, execCall, execCall, execute, execute, execute, execute, get, get, get, get, get, get, get, get, get, getDao, getMaxOrder, insert, insert, insertBatch, queryForInt, queryForInt, queryForObject, queryForObject, queryListObjectWhereIn, save, save, saveOrder, select, select, select, select, select, select, select, select, select, select, selectAll, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, setDao, sqlGeneralQueryPager, sqlGeneralQueryPager, sqlGeneralQueryPager, sqlListObjectWhereIn, sqlMathQuery, sqlQuery, sqlQuery, sqlQueryListMap, update, update, update, update, update, update, updateBatch

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • CartServiceImpl

      public CartServiceImpl()
  • 方法详细资料

    • queryUserCountByStatus

      public int queryUserCountByStatus(long userId, Boolean status)
      购物车商品数量(条数)
      参数:
      userId - Integer 用户id
      status - Boolean 商品类型:true-有效商品,false-无效商品
      返回:
      Integer
    • queryUserSumByStatus

      public int queryUserSumByStatus(long userId, Boolean status)
      购物车购买商品总数量
      参数:
      userId - Integer 用户id
      status - 商品类型:true-有效商品,false-无效商品
      返回:
      Integer
    • queryList

      public List<com.ishop.model.po.EbCart> queryList(boolean isValid, long userId)
      查询用户购物车记录。
      参数:
      isValid - 是否有效
      userId - 用户ID
      返回: