MSY 3 лет назад
Родитель
Сommit
bde46e8f06
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main/resources/mapper/customer/CustomerMapper.xml

+ 1 - 0
src/main/resources/mapper/customer/CustomerMapper.xml

@@ -62,6 +62,7 @@
         and EXISTS (select 1 from t_customer_rec t where t.customerName = customer_name and t.company_Name LIKE CONCAT('%',#{customer.subCompany},'%'))
       </if>
     </where>
+    order by first_sign desc
   </select>
   <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
     select