|
@@ -20,7 +20,7 @@ public interface RbMapper extends BaseMapper<sysUptownUnit> {
|
|
|
@Select("select a.doorplate as doorplate,c.report_id as reportId,c.ms_status as msStatus,a.time_update as time from sys_uptown_house a " +
|
|
|
"inner join sys_uptown_unit b on a.unit_id = b.unit_id " +
|
|
|
"left join ms_report c on c.house_id = a.house_id " +
|
|
|
- "where b.ridgepole = #{ridgepole} and b.unit = #{unit}")
|
|
|
+ "where b.ridgepole = #{ridgepole} and b.unit = #{unit} and c.time_update = #{date}")
|
|
|
List<SysUptownHouse> selectDY(@Param("ridgepole") String ridgepole,@Param("unit") String unit,@Param("date") Date date);
|
|
|
// and c.time_update = #{date}
|
|
|
}
|