guoyujia 1 년 전
부모
커밋
40228b3edc
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 top 1 peqty from sfc10500 where lotno LIKE '%' + CAST(@lotno AS NVARCHAR(100)) + '%' and lotseq =#{lotseq} order by peqty desc
+        select top 1 peqty from sfc10500 where lotno LIKE '%#{lotno)%' and lotseq =#{lotseq} order by peqty desc
     </select>
 </mapper>