Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
f3f36e29
Commit
f3f36e29
authored
Dec 26, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发票接口
parent
c37341b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
OrderInvoice.java
...ain/java/com/xxfc/platform/order/entity/OrderInvoice.java
+3
-3
OrderInvoiceMapper.xml
...r-server/src/main/resources/mapper/OrderInvoiceMapper.xml
+1
-1
No files found.
xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/entity/OrderInvoice.java
View file @
f3f36e29
...
...
@@ -100,14 +100,14 @@ public class OrderInvoice {
/**
* 创建者id
*/
@Column
(
name
=
"
crt_user
"
)
@Column
(
name
=
"
user_id
"
)
private
Integer
userId
;
/**
* 更新者id
*/
@Column
(
name
=
"u
pd_user
"
)
private
Integer
u
pdUser
;
@Column
(
name
=
"u
ser_upd
"
)
private
Integer
u
serUpd
;
/**
* 更多内容
...
...
xx-order/xx-order-server/src/main/resources/mapper/OrderInvoiceMapper.xml
View file @
f3f36e29
...
...
@@ -2,6 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.xxfc.platform.order.mapper.OrderInvoiceMapper"
>
<select
id=
"selectByUserIdAndOrderId"
parameterType=
"com.xxfc.platform.order.entity.OrderInvoice"
resultType=
"com.xxfc.platform.order.entity.OrderInvoice"
>
select * from order_e_invoice where
crt_user
= #{userId} and order_ids like concat("%", #{orderIds}, "%")
select * from order_e_invoice where
user_id
= #{userId} and order_ids like concat("%", #{orderIds}, "%")
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment