首页>代码>Spring MVC+bootstrap+redis+mybatis整合开发开源高并发秒杀商品系统>/seckill/src/main/java/org/seckill/dao/SuccessKilledDao.java
package org.seckill.dao; import org.apache.ibatis.annotations.Param; import org.seckill.entity.SuccessKilled; /** * Created by wchb7 on 16-5-8. */ public interface SuccessKilledDao { /** * 插入购买明细,可过滤重复(数据库有联合主键) * * @param seckilledId * @param userPhone * @return */ int insertSuccessKilled(@Param("seckilledId") long seckilledId, @Param("userPhone") long userPhone); /** * 根据ID查询SuccessKilled并携带秒杀产品对象实体 * * @param seckilledId * @param userPhone * @return */ SuccessKilled queryByIdWithSeckill(@Param("seckilledId") long seckilledId, @Param("userPhone") long userPhone); }

黄小熙 LV7
2024年11月12日
dapeng0011 LV15
2024年2月24日
笛卡尔积 LV6
2023年2月17日
弹指又十年 LV8
2022年9月18日
asd6260647 LV4
2022年7月2日
moneyla LV5
2022年3月11日
李可以 LV5
2022年2月19日
xuweisong2010 LV28
2021年10月28日
qiheideguang LV18
2021年10月17日
ltq50736 LV4
2021年9月3日