浏览代码

bug fixes

plf 3 年之前
父节点
当前提交
9dc58622ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mappings/modules/order/CmDiscernReceiptMapper.xml

+ 1 - 1
src/main/resources/mappings/modules/order/CmDiscernReceiptMapper.xml

@@ -194,7 +194,7 @@
     <select id="exportRebate" resultType="com.caimei.modules.order.entity.CmMainReceiptExport">
     <select id="exportRebate" resultType="com.caimei.modules.order.entity.CmMainReceiptExport">
         SELECT
         SELECT
         so.orderID,
         so.orderID,
-        u.userName,
+        IF(u.userIdentity = 2,u.name,u.userName) AS userName,
         d.receiptDate,
         d.receiptDate,
         d.payType,
         d.payType,
         IFNULL(d.receiptAmount,0) as associateAmount,
         IFNULL(d.receiptAmount,0) as associateAmount,