Commit 6411f1af by chamberone

fix: 解决mybatis包冲突,order代码错误

1 parent 18d74679
......@@ -15,7 +15,6 @@
<properties>
<druid.version>1.1.10</druid.version>
<mybatis.version>2.1.2</mybatis.version>
<mybatisplus.version>3.5.3.1</mybatisplus.version>
</properties>
......@@ -43,12 +42,6 @@
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
</dependency>
......
......@@ -9,6 +9,7 @@ import com.alibaba.cloud.integration.order.dto.OrderServiceListReq;
import com.alibaba.cloud.integration.order.dto.OrderServiceListResp;
import com.alibaba.cloud.integration.order.entity.OrderAppointment;
import com.alibaba.cloud.integration.order.entity.OrderRequest;
import com.alibaba.cloud.integration.order.service.OrderService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
......@@ -22,7 +23,7 @@ import java.util.*;
import java.util.stream.Collectors;
@Service
public class OrderServiceListImpl {
public class OrderServiceListImpl implements com.alibaba.cloud.integration.order.service.OrderServiceList {
@Autowired
private OrderRequestDao orderRequestDao;
......@@ -30,7 +31,7 @@ public class OrderServiceListImpl {
@Autowired
private OrderAppointmentDao orderAppointmentDao;
@Override
@Transactional
public Result<OrderServiceListResp> GetOrderServiceList(OrderServiceListReq req) throws BusinessException {
//分页
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!