|
@@ -15,9 +15,10 @@ public interface ManagementDetailMapper {
|
|
/**
|
|
/**
|
|
* 投诉清单分日期分地市计数 按账期查询
|
|
* 投诉清单分日期分地市计数 按账期查询
|
|
*/
|
|
*/
|
|
|
|
+ // 20240611 更新,增加类型限制
|
|
@Select("select compl_area_local, substring(acct_date from 7 for 2) as day_id, count(1) as num " + //
|
|
@Select("select compl_area_local, substring(acct_date from 7 for 2) as day_id, count(1) as num " + //
|
|
" from tsl_data.management_detail\r\n" + //
|
|
" from tsl_data.management_detail\r\n" + //
|
|
- " where stat_day_id = #{day} " + //
|
|
|
|
|
|
+ " where stat_day_id = #{day} and origin = 'mobile_complaint_day' " +
|
|
" group by compl_area_local, substring(acct_date from 7 for 2)\r\n" + //
|
|
" group by compl_area_local, substring(acct_date from 7 for 2)\r\n" + //
|
|
" order by compl_area_local, substring(acct_date from 7 for 2)")
|
|
" order by compl_area_local, substring(acct_date from 7 for 2)")
|
|
List<Map<String, Object>> selectCityTslForMonth(@Param("day") String day);
|
|
List<Map<String, Object>> selectCityTslForMonth(@Param("day") String day);
|
|
@@ -27,7 +28,7 @@ public interface ManagementDetailMapper {
|
|
*/
|
|
*/
|
|
@Select("select substring(acct_date from 7 for 2) as day_id, count(1) as num" + //
|
|
@Select("select substring(acct_date from 7 for 2) as day_id, count(1) as num" + //
|
|
" from tsl_data.management_detail\r\n" + //
|
|
" from tsl_data.management_detail\r\n" + //
|
|
- " where stat_day_id = #{day} " + //
|
|
|
|
|
|
+ " where stat_day_id = #{day} and origin = 'mobile_complaint_day' " + //
|
|
" group by substring(acct_date from 7 for 2)\r\n" + //
|
|
" group by substring(acct_date from 7 for 2)\r\n" + //
|
|
" order by substring(acct_date from 7 for 2)")
|
|
" order by substring(acct_date from 7 for 2)")
|
|
List<Map<String, Object>> selectAllTslForMonth(@Param("day") String day);
|
|
List<Map<String, Object>> selectAllTslForMonth(@Param("day") String day);
|
|
@@ -37,7 +38,7 @@ public interface ManagementDetailMapper {
|
|
*/
|
|
*/
|
|
@Select("select compl_area_local, count(1) as num " + //
|
|
@Select("select compl_area_local, count(1) as num " + //
|
|
" from tsl_data.management_detail\r\n" + //
|
|
" from tsl_data.management_detail\r\n" + //
|
|
- " where stat_day_id = #{day} " + //
|
|
|
|
|
|
+ " where stat_day_id = #{day} and origin = 'mobile_complaint_day' " + //
|
|
" group by compl_area_local\r\n" + //
|
|
" group by compl_area_local\r\n" + //
|
|
" order by compl_area_local")
|
|
" order by compl_area_local")
|
|
List<Map<String, Object>> selectCityAllForMonth(@Param("day") String day);
|
|
List<Map<String, Object>> selectCityAllForMonth(@Param("day") String day);
|
|
@@ -47,7 +48,7 @@ public interface ManagementDetailMapper {
|
|
*/
|
|
*/
|
|
@Select("select count(1) as num\r\n" + //
|
|
@Select("select count(1) as num\r\n" + //
|
|
"from tsl_data.management_detail\r\n" + //
|
|
"from tsl_data.management_detail\r\n" + //
|
|
- "where stat_day_id = #{day} ")
|
|
|
|
|
|
+ "where stat_day_id = #{day} and origin = 'mobile_complaint_day' ")
|
|
int selectAllForMonth(@Param("day") String day);
|
|
int selectAllForMonth(@Param("day") String day);
|
|
|
|
|
|
/**
|
|
/**
|