guoyujia преди 1 година
родител
ревизия
3a3d2e98ff
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mybatis/business/Sfc10500Mapper.xml

+ 1 - 1
src/main/resources/mybatis/business/Sfc10500Mapper.xml

@@ -10,6 +10,6 @@
 
 
     <select id="getLotMount" parameterType="Sfc10500" resultMap="Sfc10500Result">
-        select * from sfc10500 where lotno LIKE '%#{lotno}%' and lotseq =#{lotseq} order by peqty desc
+        select top 1 * from sfc10500 where lotno LIKE '%#{lotno}%' and lotseq =#{lotseq} order by peqty desc
     </select>
 </mapper>