소스 검색

bug修复

dzx 1 년 전
부모
커밋
ea58677fa9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/room/RoomBedMapper.xml

+ 1 - 1
src/main/resources/mapper/room/RoomBedMapper.xml

@@ -319,7 +319,7 @@
             and t2.name like concat('%', #{dto.studentName}, '%')
         </if>
         <if test="dto.payStatus != null">
-            and (t8.factrecarmny >= t8.factar) = #{dto.payStatus}
+            and (SELECT (SUM(factrecarmny) >= SUM(factar)) FROM pb_v_xsxxsfytb WHERE Studentcode = t2.credential_number) = #{dto.payStatus}
         </if>
     </select>