njs преди 6 месеца
родител
ревизия
5e893323f0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      suishenbang-system/src/main/resources/mapper/system/AssRelcustomerinfoMapper.xml

+ 2 - 2
suishenbang-system/src/main/resources/mapper/system/AssRelcustomerinfoMapper.xml

@@ -246,9 +246,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
 
     <select id="selectCustomerName" resultType="java.lang.String">
-        select customer_name from order_sales_sum_tuc_customer where 1=1
+        select CustomerName from data_master_customer where 1=1
         <if test="customerId !=null and customerId !='' ">
-            and customer_id=#{customerId}
+            and CustomerCode=#{customerId}
         </if> LIMIT 1
     </select>
     <select id="selectCustomerNameAndCode" resultMap="AssRelcustomerinfoResult">