소스 검색

优化代码

java110 5 년 전
부모
커밋
e1d8dcb2ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      java110-db/src/main/resources/mapper/user/RentingPoolServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/user/RentingPoolServiceDaoImplMapper.xml

@@ -65,7 +65,7 @@
             and t.state= #{state}
         </if>
         <if test="states !=null ">
-            and t.states in
+            and t.state in
             <foreach collection="states" item="item" index="index" open="(" close=")" separator=",">
                 #{item}
             </foreach>