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 08684fde
authored
Jun 21, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
a87f4757
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/OrderRequestMPDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/OrderRequestMPDao.java
View file @
08684fd
...
...
@@ -3,7 +3,19 @@ package com.dituhui.pea.order.dao;
import
com.dituhui.pea.order.entity.OrderRequest
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
import
java.util.List
;
@Mapper
public
interface
OrderRequestMPDao
extends
BaseMapper
<
OrderRequest
>
{
@Select
(
"select * from order_request where order_id = #{orderId}"
)
OrderRequest
getByOrderId
(
String
orderId
);
@Select
(
"select * from order_request where order_id = #{orderId}"
)
List
<
OrderRequest
>
selectByOrderId
(
String
orderId
);
@Select
(
"select * from order_request where order_id in #{orderIds}"
)
List
<
OrderRequest
>
selectByOrderIds
(
List
<
String
>
orderIds
);
}
\ No newline at end of file
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