|
@@ -89,7 +89,7 @@ public interface RbMapper extends BaseMapper<sysUptownUnit> {
|
|
"INNER JOIN sys_uptown_unit suu ON suu.unit_id = suh.unit_id and suu.uptown_id=#{uptownId}\n" +
|
|
"INNER JOIN sys_uptown_unit suu ON suu.unit_id = suh.unit_id and suu.uptown_id=#{uptownId}\n" +
|
|
"left join ms_report msr on msr.house_id = suh.house_id and msr.report_date = #{date}\n" +
|
|
"left join ms_report msr on msr.house_id = suh.house_id and msr.report_date = #{date}\n" +
|
|
"left join ms_suspected mss on mss.report_id=msr.report_id\n" +
|
|
"left join ms_suspected mss on mss.report_id=msr.report_id\n" +
|
|
- "order by suu.unit_id asc "
|
|
|
|
|
|
+ "order by suu.unit_id asc,suho.linkman "
|
|
)
|
|
)
|
|
List<ExcelRiBao> selectExcelRiBao(@Param("uptownId") Long uptownId, @Param("date") String date);
|
|
List<ExcelRiBao> selectExcelRiBao(@Param("uptownId") Long uptownId, @Param("date") String date);
|
|
|
|
|
|
@@ -104,7 +104,7 @@ public interface RbMapper extends BaseMapper<sysUptownUnit> {
|
|
"left join ms_report msr on msr.house_id = suh.house_id and msr.report_date = #{date}\n" +
|
|
"left join ms_report msr on msr.house_id = suh.house_id and msr.report_date = #{date}\n" +
|
|
"left join ms_suspected mss on mss.report_id=msr.report_id\n" +
|
|
"left join ms_suspected mss on mss.report_id=msr.report_id\n" +
|
|
"left join ms_trip tr on mss.suspected_id=trip_id\n" +
|
|
"left join ms_trip tr on mss.suspected_id=trip_id\n" +
|
|
- "order by suu.unit_id asc "
|
|
|
|
|
|
+ "order by suu.unit_id asc,suho.linkman "
|
|
)
|
|
)
|
|
List<ExcelRiBaoLY> selectExcelRiBaoLY(@Param("uptownId") Long uptownId, @Param("date") String date);
|
|
List<ExcelRiBaoLY> selectExcelRiBaoLY(@Param("uptownId") Long uptownId, @Param("date") String date);
|
|
|
|
|