guoyujia 1 年之前
父節點
當前提交
4b89a4a1e1
共有 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 @@
 <!--  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>