瀏覽代碼

Merge remote-tracking branch 'origin/developerB' into developerB

Aslee 4 年之前
父節點
當前提交
f716e72792
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mappings/modules/order/CmDiscernReceiptMapper.xml

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

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