plf il y a 3 ans
Parent
commit
9dc58622ef

+ 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
         so.orderID,
-        u.userName,
+        IF(u.userIdentity = 2,u.name,u.userName) AS userName,
         d.receiptDate,
         d.payType,
         IFNULL(d.receiptAmount,0) as associateAmount,