use of com.goodskill.entity.Seckill in project goodsKill by techa03.
the class BaseServiceConfigForTest method testUpdate.
public void testUpdate() throws InterruptedException {
signal.set(true);
redisTemplate.delete(1000);
Seckill entity = new Seckill();
entity.setSeckillId(1000L);
entity.setNumber(1220);
seckillMapper.updateById(entity);
signal.set(false);
condition.signalAll();
}
Aggregations