|
|
|
|
@ -28,17 +28,17 @@ public interface NegativeBlameMapper extends BaseMapper<NegativeBlame> {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Select(" SELECT blameIdCode, blameName, count(1) as number FROM `negative_blame` " + |
|
|
|
|
" where blameIdCode is not null and LENGTH(blameIdCode) > 0 and ivPersonTypeCode = '1' and crt_time > '2024-01-01 00:00:00' " + |
|
|
|
|
" where blameIdCode is not null and LENGTH(blameIdCode) > 0 and ivPersonTypeCode = '1' and crtTime > '2024-01-01 00:00:00' " + |
|
|
|
|
" GROUP BY blameIdCode order by number desc limit 10") |
|
|
|
|
List<BlamePerson> statisticsBlame(); |
|
|
|
|
|
|
|
|
|
@Select(" SELECT blameIdCode, blameName, count(1) as number FROM `negative_blame` " + |
|
|
|
|
" where blameIdCode is not null and LENGTH(blameIdCode) > 0 and ivPersonTypeCode != '1' and crt_time > '2024-01-01 00:00:00' " + |
|
|
|
|
" where blameIdCode is not null and LENGTH(blameIdCode) > 0 and ivPersonTypeCode != '1' and crtTime > '2024-01-01 00:00:00' " + |
|
|
|
|
" GROUP BY blameIdCode order by number desc limit 10") |
|
|
|
|
List<BlamePerson> statisticsBlame2(); |
|
|
|
|
|
|
|
|
|
@Select(" SELECT leadIdCode, leadName as blameName, count(distinct blameIdCode) as number FROM `negative_blame` " + |
|
|
|
|
" where leadIdCode is not null and LENGTH(leadIdCode) > 0 and crt_time > '2024-01-01 00:00:00'" + |
|
|
|
|
" where leadIdCode is not null and LENGTH(leadIdCode) > 0 and crtTime > '2024-01-01 00:00:00'" + |
|
|
|
|
" GROUP BY leadIdCode order by number desc limit 10") |
|
|
|
|
List<BlamePerson> statisticsBlame3(); |
|
|
|
|
} |
|
|
|
|
|