lyhzzz před 2 roky
rodič
revize
4e913c801c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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}