diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BDistributionRecordsMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BDistributionRecordsMapper.xml index fb0372e..b0c4ffe 100644 --- a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BDistributionRecordsMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BDistributionRecordsMapper.xml @@ -67,7 +67,7 @@ bc.cover as cover, bc.integral, bdr.u_id, - bdr.consignee_name as user_name, + (select su.nick_name from sys_user su where su.user_id = bdr.u_id) as user_name, bdr.phonenumber, bdr.type, bdr.cre_type, @@ -136,7 +136,8 @@ (select name from b_certificates where id = bdr.certificate_id) as certificate_name, (select cover from b_certificates where id = bdr.certificate_id) as cover, bdr.u_id, - bdr.consignee_name as user_name, + bdr.consignee_name as consignee_name, + (select su.nick_name from sys_user su where su.user_id = bdr.u_id) as user_name, (select bc.integral from b_certificates bc where bc.id = bdr.certificate_id) as integral, bdr.phonenumber, bdr.type,