| | |
| | | import com.xiaopeng.map.vo.OrderDistanceVo; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import net.sourceforge.pinyin4j.PinyinHelper; |
| | | import org.apache.shardingsphere.transaction.annotation.ShardingSphereTransactionType; |
| | | import org.apache.shardingsphere.transaction.core.TransactionType; |
| | | import org.redisson.api.RLock; |
| | | import org.redisson.api.RedissonClient; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.time.LocalTime; |
| | |
| | | private RedissonClient redissonClient; |
| | | |
| | | @Override |
| | | @Transactional |
| | | @ShardingSphereTransactionType(TransactionType.BASE) |
| | | public XpPoint addPointWithGeneratedNumber(PointAddDto pointAddDto) { |
| | | if (pointAddDto == null) { |
| | | throw new ServiceException("参数不能为空", I18nKeyConstant.SYSTEM_EXCEPTION); |