guoyujia 1 жил өмнө
parent
commit
4b89a4a1e1

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

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