From 352ec3c2fbc2f08d9216fb7a4dc33ac79899a0b6 Mon Sep 17 00:00:00 2001 From: mashuai Date: Tue, 3 Dec 2024 16:23:11 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/bonus/material/lease/domain/vo/MaLeaseVo.java | 3 +++ .../resources/mapper/material/lease/MaLeaseInfoMapper.xml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/lease/domain/vo/MaLeaseVo.java b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/lease/domain/vo/MaLeaseVo.java index 4b76d75..a799fd2 100644 --- a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/lease/domain/vo/MaLeaseVo.java +++ b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/lease/domain/vo/MaLeaseVo.java @@ -52,4 +52,7 @@ public class MaLeaseVo extends MaLeaseInfo { @ApiModelProperty(value = "浏览次数") private Integer searchNum; + + @ApiModelProperty(value = "接单人联系方式") + private String orderPhone; } diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml index 7c01ecc..6b1f1a6 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml @@ -271,12 +271,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" END AS groupName, m.publish_user as publishUser, b.id as areaId, - b.name as areaName + b.name as areaName, + su1.nick_name as orderUser, + su1.phonenumber as orderPhone FROM ma_lease_info m LEFT JOIN bm_company_info c ON m.company_id = c.company_id LEFT JOIN base_address b ON b.id = m.area_id LEFT JOIN sys_user su ON m.publish_user = su.user_id + LEFT JOIN sys_user su1 ON m.order_user = su1.user_id LEFT JOIN ma_type mt4 ON mt4.type_id = m.type_id and mt4.del_flag = '0' LEFT JOIN ma_type mt3 ON mt3.type_id = mt4.parent_id and mt3.del_flag = '0' LEFT JOIN ma_type mt2 ON mt2.type_id = mt3.parent_id and mt2.del_flag = '0'