2 次代码提交 ddb690f622 ... c477f5e278

作者 SHA1 备注 提交日期
  chenfan c477f5e278 Merge remote-tracking branch 'origin/master' 1 月之前
  chenfan 7d0ea2a85b 优化 1 月之前
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pro-base/src/main/resources/mybatis/buildManage/ParkRoomReservationExtendMapper.xml

+ 2 - 2
pro-base/src/main/resources/mybatis/buildManage/ParkRoomReservationExtendMapper.xml

@@ -139,10 +139,10 @@
                 and a.build_id = #{mnpBuildingId}
             </if>
             <if test="roomAddress!=null and roomAddress!=''">
-                and concat(a.group_name, a.disc_name, a.build_name, '号', a.room_no, '室') like concat('%',#{roomAddress},'%')
+                and concat(d.group_name, e.name, f.build_num, '号', a.room_no, '室') like concat('%',#{roomAddress},'%')
             </if>
         </where>
-        order by group_name, build_name + 0, room_no + 0
+        order by d.group_name, f.build_num + 0, room_no + 0
     </select>
 
     <select id="getReservationByRoomAndTime" resultType="com.idea.buildManage.model.ParkRoomReservation">