java110 лет назад: 5
Родитель
Сommit
98572e4738
2 измененных файлов с 6 добавлено и 0 удалено
  1. 0 0
      git
  2. 6 0
      java110-db/src/main/resources/mapper/user/OwnerCarServiceDaoImplMapper.xml

+ 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>