Browse Source

优化地阿门

java110 5 years ago
parent
commit
98572e4738
2 changed files with 6 additions and 0 deletions
  1. 0 0
      git
  2. 6 0
      java110-db/src/main/resources/mapper/user/OwnerCarServiceDaoImplMapper.xml

+ 0 - 0
git


+ 6 - 0
java110-db/src/main/resources/mapper/user/OwnerCarServiceDaoImplMapper.xml

@@ -146,6 +146,12 @@
         <if test="psId !=null and psId != ''">
             and t.ps_id= #{psId}
         </if>
+        <if test="psIds !=null">
+            and t.ps_id in
+            <foreach collection="psIds" item="item" index="index" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
         <if test="remark !=null and remark != ''">
             and t.remark= #{remark}
         </if>