浏览代码

利润预算表 利润结算表 外销合同 高级搜索

yzc 1 年之前
父节点
当前提交
59c2ebbd7b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      hx-sale/src/main/resources/mapper/contract/ContractMapper.xml

+ 3 - 2
hx-sale/src/main/resources/mapper/contract/ContractMapper.xml

@@ -57,7 +57,8 @@
     </select>
     </select>
 
 
     <select id="getProfitClearingPage" resultType="com.fjhx.sale.entity.contract.vo.ContractBudgetVo">
     <select id="getProfitClearingPage" resultType="com.fjhx.sale.entity.contract.vo.ContractBudgetVo">
-        SELECT t1.id AS contractId,
+        SELECT t1.id AS      contractId,
+               us1.nick_name userName,
                t1.*
                t1.*
         FROM contract t1
         FROM contract t1
                  LEFT JOIN bytesailing_customer.customer cu on t1.buy_corporation_id = cu.id and cu.del_flag = 0
                  LEFT JOIN bytesailing_customer.customer cu on t1.buy_corporation_id = cu.id and cu.del_flag = 0
@@ -70,7 +71,7 @@
                t1.id                                                                     AS contractId,
                t1.id                                                                     AS contractId,
                t1.`code`,
                t1.`code`,
                t1.buy_corporation_id,
                t1.buy_corporation_id,
-               t1.user_name,
+               us1.nick_name                                                                userName,
                t1.amount,
                t1.amount,
                t1.currency,
                t1.currency,
                t1.currency_rate_json,
                t1.currency_rate_json,