|
@@ -246,9 +246,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
<select id="selectCustomerName" resultType="java.lang.String">
|
|
<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 !='' ">
|
|
<if test="customerId !=null and customerId !='' ">
|
|
- and customer_id=#{customerId}
|
|
|
|
|
|
+ and CustomerCode=#{customerId}
|
|
</if> LIMIT 1
|
|
</if> LIMIT 1
|
|
</select>
|
|
</select>
|
|
<select id="selectCustomerNameAndCode" resultMap="AssRelcustomerinfoResult">
|
|
<select id="selectCustomerNameAndCode" resultMap="AssRelcustomerinfoResult">
|