记得上下班打卡 | git大法好,push需谨慎

Commit 52618e76 authored by 胡佳晨's avatar 胡佳晨

添加 order-impl

parent 69c36ea7
...@@ -31,18 +31,6 @@ public class DataUtils { ...@@ -31,18 +31,6 @@ public class DataUtils {
private MongoTemplate mongoTemplate; private MongoTemplate mongoTemplate;
@Autowired @Autowired
private RedisUtil redisUtil; private RedisUtil redisUtil;
@Autowired
private RedisTemplate redisTemplate;
/**
* 获取普通剩余库存
*
* @param ticketId 票id
* @return 普通剩余库存
*/
public int getSurplusGeneral(String ticketId) {
return (int) redisUtil.get(KylinRedisConst.PERFORMANCES_INVENTORY + ticketId + ":" + KylinRedisConst.SURPLUS_GENERAL);
}
/** /**
* 修改普通库存 并 返回修改后的数量 * 修改普通库存 并 返回修改后的数量
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment