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
fa0b2e34
Commit
fa0b2e34
authored
Jan 06, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG修复
parent
849219e6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
9 deletions
+7
-9
CustomerBusinessContoller.java
...1/yifu/archives/controller/CustomerBusinessContoller.java
+2
-5
TSettleDomainMapper.java
...oud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
+1
-1
TSettleDomainService.java
...d/plus/v1/yifu/archives/service/TSettleDomainService.java
+1
-1
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+2
-2
TSettleDomainMapper.xml
...ves-biz/src/main/resources/mapper/TSettleDomainMapper.xml
+1
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/CustomerBusinessContoller.java
View file @
fa0b2e34
...
...
@@ -229,7 +229,7 @@ public class CustomerBusinessContoller {
wrapper
.
last
(
"limit "
+
limit
);
return
new
R
<>(
tSettleDomainService
.
list
(
wrapper
));
}
else
{
return
new
R
<>(
tSettleDomainService
.
getOwnSettleDomainNoPage
(
user
.
getId
()
.
toString
()
,
settleName
));
return
new
R
<>(
tSettleDomainService
.
getOwnSettleDomainNoPage
(
user
.
getId
(),
settleName
));
}
}
...
...
@@ -268,9 +268,6 @@ public class CustomerBusinessContoller {
if
(
null
==
user
){
return
R
.
failed
(
"非法用户!"
);
}
if
(
Common
.
isEmpty
(
user
.
getSettleIdList
())){
return
R
.
ok
();
}
return
tSettleDomainService
.
getCustomerOwnerPage
(
page
,
customerName
,
user
.
getSettleIdList
());
return
tSettleDomainService
.
getCustomerOwnerPage
(
page
,
customerName
,
user
.
getId
());
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
View file @
fa0b2e34
...
...
@@ -91,5 +91,5 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> {
IPage
<
CustomerOwnerSelectVo
>
getCustomerOwnerPage
(
Page
page
,
@Param
(
"customerName"
)
String
customerName
,
@Param
(
"
settleIdList"
)
List
<
String
>
settleIdList
);
@Param
(
"
userId"
)
String
userId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TSettleDomainService.java
View file @
fa0b2e34
...
...
@@ -121,5 +121,5 @@ public interface TSettleDomainService extends IService<TSettleDomain> {
List
<
TCustomerInfo
>
getTCustomerInfoForB
(
List
<
String
>
customerList
);
R
<
IPage
<
CustomerOwnerSelectVo
>>
getCustomerOwnerPage
(
Page
<
CustomerOwnerSelectVo
>
page
,
String
customerName
,
List
<
String
>
settleIdList
);
R
<
IPage
<
CustomerOwnerSelectVo
>>
getCustomerOwnerPage
(
Page
<
CustomerOwnerSelectVo
>
page
,
String
customerName
,
String
userId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
fa0b2e34
...
...
@@ -468,7 +468,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
@Override
public
R
<
IPage
<
CustomerOwnerSelectVo
>>
getCustomerOwnerPage
(
Page
<
CustomerOwnerSelectVo
>
page
,
String
customerName
,
List
<
String
>
settleIdList
)
{
return
R
.
ok
(
baseMapper
.
getCustomerOwnerPage
(
page
,
customerName
,
settleIdList
));
String
userId
)
{
return
R
.
ok
(
baseMapper
.
getCustomerOwnerPage
(
page
,
customerName
,
userId
));
}
}
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TSettleDomainMapper.xml
View file @
fa0b2e34
...
...
@@ -426,6 +426,7 @@
#{item}
</foreach>
</if>
and a.id in (select b.settle_id from m_setttle_customer_user b where b.user_id = #{userId}) and a.DELETE_FLAG = '0'
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