lyhzzz 2 years ago
parent
commit
4e913c801c
1 changed files with 1 additions and 1 deletions
  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 != ''">
         <if test="param.repairId != null and param.repairId != ''">
             and r.repair_id like  concat ('%',#{param.repairId},'%')
             and r.repair_id like  concat ('%',#{param.repairId},'%')
         </if>
         </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
             and r.status in
             <foreach item="status" collection="param.statusList" open="(" separator="," close=")">
             <foreach item="status" collection="param.statusList" open="(" separator="," close=")">
                 #{status}
                 #{status}