lyhzzz 2 년 전
부모
커밋
4e913c801c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}