|
@@ -342,6 +342,9 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
RBucket<Object> bucket = redissonClient.getBucket(key);
|
|
|
//原子操作 抢锁成功为true
|
|
|
if (!bucket.trySet(tenantId, 10, TimeUnit.SECONDS)) {
|
|
|
+ if(tenantInfo.getPayState() == 1){
|
|
|
+ throw new BizException("已缴费请勿重复缴费!");
|
|
|
+ }
|
|
|
throw new BizException("该机构数正在缴费中请勿频繁操作");
|
|
|
}
|
|
|
//机构产品信息
|