Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6411f1af
authored
May 17, 2023
by
chamberone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 解决mybatis包冲突,order代码错误
1 parent
18d74679
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
project-order/pom.xml
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrderServiceListImpl.java
project-order/pom.xml
View file @
6411f1a
...
...
@@ -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>
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrderServiceListImpl.java
View file @
6411f1a
...
...
@@ -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
{
//分页
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment