Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-smartcarlife
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8aa1c565
authored
Jun 29, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
驻店管理:列表-服务门店取值逻辑调整
1 parent
63f3c652
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
rpc-dj-smartcarlife/src/main/java/cn/com/glsx/dj/smartcarlife/mapper/StaffAccountAssignRecordMapper.java
rpc-dj-smartcarlife/src/main/java/cn/com/glsx/dj/smartcarlife/service/merchantPerformanceConfig/StaffBaseInfoService.java
rpc-dj-smartcarlife/src/main/resources/META-INF/orm/StaffAccountAssignRecordMapper.xml
rpc-dj-smartcarlife/src/main/java/cn/com/glsx/dj/smartcarlife/mapper/StaffAccountAssignRecordMapper.java
View file @
8aa1c56
package
cn
.
com
.
glsx
.
dj
.
smartcarlife
.
mapper
;
import
cn.com.glsx.dj.smartcarlife.dto.MerchantBaseInfoDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.merchantPerformanceConfig.StaffAccountAssignRecordDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.merchantPerformanceConfig.StaffAccountStatusNumDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.staff.StaffMerchantInfoDTO
;
...
...
@@ -42,4 +43,6 @@ public interface StaffAccountAssignRecordMapper extends OreMapper<StaffAccountAs
@Param
(
"merchantId"
)
Integer
merchantId
);
List
<
String
>
listStaffMerchantBaseSceneCode
(
StaffAccountAssignRecordDTO
staffAccountAssignRecordDTO
);
List
<
MerchantBaseInfoDTO
>
listMerchantInfoByStaffPhone
(
@Param
(
"staffPhone"
)
String
staffPhone
);
}
rpc-dj-smartcarlife/src/main/java/cn/com/glsx/dj/smartcarlife/service/merchantPerformanceConfig/StaffBaseInfoService.java
View file @
8aa1c56
...
...
@@ -984,8 +984,8 @@ public class StaffBaseInfoService {
List
<
StaffBaseInfoDTO
>
staffBaseInfoList
=
staffBaseInfoMapper
.
listStaffBaseInfoWithPageNew
(
pagination
.
getCondition
());
if
(
CollectionUtils
.
isNotEmpty
(
staffBaseInfoList
))
{
staffBaseInfoList
.
stream
().
forEach
(
staffBaseInfo
->
{
//获取当前勾选的门店
List
<
MerchantBaseInfoDTO
>
merchantList
=
staff
DailyReportConfigService
.
listStaffCurrentMerchantInfo
(
staffBaseInfo
.
getStaffPhone
());
//获取当前勾选的门店
(从驻店账号分配记录表查询,按手机号去重)
List
<
MerchantBaseInfoDTO
>
merchantList
=
staff
AccountAssignRecordMapper
.
listMerchantInfoByStaffPhone
(
staffBaseInfo
.
getStaffPhone
());
staffBaseInfo
.
setMerchantList
(
merchantList
);
// List<SceneDTO> sceneDTOS = staffAccountRecordService.queryStaffYqMerchantScene(staffBaseInfo.getStaffPhone(), null);
...
...
rpc-dj-smartcarlife/src/main/resources/META-INF/orm/StaffAccountAssignRecordMapper.xml
View file @
8aa1c56
...
...
@@ -28,6 +28,10 @@
<result
column=
"yq_merchant_id"
property=
"merchantId"
jdbcType=
"INTEGER"
/>
<result
column=
"yq_merchant_name"
property=
"merchantName"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"MerchantBaseInfoMap"
type=
"cn.com.glsx.dj.smartcarlife.dto.MerchantBaseInfoDTO"
>
<result
column=
"merchant_id"
property=
"merchantId"
jdbcType=
"INTEGER"
/>
<result
column=
"merchant_name"
property=
"merchantName"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"DTOResultMap"
type=
"cn.com.glsx.dj.smartcarlife.dto.merchantPerformanceConfig.StaffAccountAssignRecordDTO"
extends=
"BaseResultMap"
>
</resultMap>
<sql
id=
"Base_Column_List"
>
...
...
@@ -238,4 +242,11 @@
</where>
</select>
<select
id=
"listMerchantInfoByStaffPhone"
parameterType=
"java.lang.String"
resultMap=
"MerchantBaseInfoMap"
>
select distinct sar.merchant_id, sar.merchant_name
from dj_car_life_staff_account_assign_record sar
where sar.staff_phone = #{staffPhone,jdbcType=VARCHAR}
and sar.deleted_flag = 'N'
</select>
</mapper>
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