类 CouponUserServiceImpl

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

@Service public class CouponUserServiceImpl 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
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    void
    更新用户优惠券为“已使用”
    queryCouponIdAndValue(long userId)
    返回用户拥有的优惠券Map对象,key = 优惠券ID,value = EbCouponUser
    queryListByPreOrderNo(String preOrderNo, Integer merId, Double maxPrice, Long date, Long uid, List<Long> pidList)
    获取订单可用的优惠券集合。
    int
    queryUserCouponCount(long userId)
    获取用户可用优惠券数量

    从类继承的方法 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
  • 构造器详细资料

    • CouponUserServiceImpl

      public CouponUserServiceImpl()
  • 方法详细资料

    • execUpdateUseCoupons

      public void execUpdateUseCoupons(List<Long> couponIdList)
      更新用户优惠券为“已使用”
      参数:
      couponIdList - 优惠券ID集合
    • queryListByPreOrderNo

      public List<EbCouponUser> queryListByPreOrderNo(String preOrderNo, Integer merId, Double maxPrice, Long date, Long uid, List<Long> pidList)
      获取订单可用的优惠券集合。该方法需要优化,感觉写的很丑。
      参数:
      preOrderNo -
      merId -
      maxPrice -
      date -
      uid -
      pidList -
      返回:
    • queryCouponIdAndValue

      public Map<Integer,EbCouponUser> queryCouponIdAndValue(long userId)
      返回用户拥有的优惠券Map对象,key = 优惠券ID,value = EbCouponUser
      参数:
      userId -
      返回:
    • queryUserCouponCount

      public int queryUserCouponCount(long userId)
      获取用户可用优惠券数量
      参数:
      userId -
      返回: