Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
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
fangxinjiang
yifu-mvp
Commits
acbf4ae9
Commit
acbf4ae9
authored
Jan 04, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
B端服务添加:接口调试
parent
17ba0ee9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
TSettleDomainMapper.java
...oud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
+1
-1
TSettleDomainMapper.xml
...ves-biz/src/main/resources/mapper/TSettleDomainMapper.xml
+9
-11
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
View file @
acbf4ae9
...
...
@@ -87,7 +87,7 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> {
IPage
<
TSettleDomainVo
>
getTSettleDomainPageB
(
Page
page
,
@Param
(
"tSettleDomain"
)
TSettleDomainVo
tSettleDomain
);
List
<
TCustomerInfo
>
getTCustomerInfoForB
(
@Param
(
"
tSettleDomain
"
)
List
<
String
>
tSettleDomain
);
List
<
TCustomerInfo
>
getTCustomerInfoForB
(
@Param
(
"
ids
"
)
List
<
String
>
tSettleDomain
);
IPage
<
CustomerOwnerSelectVo
>
getCustomerOwnerPage
(
Page
page
,
@Param
(
"customerName"
)
String
customerName
,
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TSettleDomainMapper.xml
View file @
acbf4ae9
...
...
@@ -353,7 +353,7 @@
and a.CUSTOMER_NAME like concat('%', #{tSettleDomain.customerName} ,'%')
</if>
<if
test=
"tSettleDomain.customerCode != null and tSettleDomain.customerCode.trim() != ''"
>
and a.CUSTOMER_
CODE
= #{tSettleDomain.customerCode}
and a.CUSTOMER_
NO
= #{tSettleDomain.customerCode}
</if>
<if
test=
"tSettleDomain.customerIds != null and tSettleDomain.customerIds.size() > 0"
>
and a.CUSTOMER_ID in
...
...
@@ -362,7 +362,7 @@
</foreach>
</if>
</if>
group by a.CUSTOMER_
CODE
order by CREATE_TIME desc
group by a.CUSTOMER_
NO
order by CREATE_TIME desc
</select>
<select
id=
"getTSettleDomainPageB"
resultMap=
"tSettleDomainMap"
>
...
...
@@ -399,15 +399,13 @@
a.CUSTOMER_NO as 'customerCode'
FROM t_settle_domain a
WHERE a.DELETE_FLAG='0'
<if
test=
"tSettleDomain != null"
>
<if
test=
"tSettleDomain.customerIds != null and tSettleDomain.customerIds.size() > 0"
>
and a.CUSTOMER_ID in
<foreach
collection=
"tSettleDomain.customerIds"
item=
"param"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{param}
</foreach>
</if>
<if
test=
"ids != null and ids.size() > 0"
>
and a.CUSTOMER_ID in
<foreach
collection=
"ids"
item=
"param"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{param}
</foreach>
</if>
group by a.CUSTOMER_
CODE
order by CREATE_TIME desc
group by a.CUSTOMER_
NO
order by CREATE_TIME desc
</select>
<select
id=
"getCustomerOwnerPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.vo.CustomerOwnerSelectVo"
>
...
...
@@ -428,6 +426,6 @@
#{item}
</foreach>
</if>
group by a.CUSTOMER_
CODE
order by CREATE_TIME desc
group by a.CUSTOMER_
NO
order by CREATE_TIME desc
</select>
</mapper>
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