njs 6 mesi fa
parent
commit
5e893323f0

+ 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">