lyhzzz il y a 2 ans
Parent
commit
4e913c801c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main/resources/mapper/sale/RepairMapper.xml

+ 1 - 1
src/main/resources/mapper/sale/RepairMapper.xml

@@ -191,7 +191,7 @@
         <if test="param.repairId != null and param.repairId != ''">
             and r.repair_id like  concat ('%',#{param.repairId},'%')
         </if>
-        <if test="param.statusList != null and param.statusList.length >0">
+        <if test="param.statusList != null and param.statusList.size >0">
             and r.status in
             <foreach item="status" collection="param.statusList" open="(" separator="," close=")">
                 #{status}