@ -55,7 +55,8 @@ public interface NegativeBlameMapper extends BaseMapper<NegativeBlame> {
" and blameIdCode is not null and blameDepartId is not null and length(blameIdCode) > 0 and length(blameDepartId) > 0 and length(blameName) > 0 and ivPersonTypeCode != '1'")
List<NegativeBlame>selectBlameListNotIvPerson();
@Select("select a.handleResultName as resultName, count(*) as resultCount FROM `negative_blame` as a LEFT JOIN negative as b on a.negativeId = b.id where a.handleResultName is NOT NULL and a.handleResultCode is NOT NULL and a.crtTime BETWEEN #{beginTime} AND #{endTime} GROUP BY resultName"
@Select("select a.handleResultName as resultName, count(*) as resultCount FROM `negative_blame` as a LEFT JOIN negative as b on a.negativeId = b.id where a.handleResultName is NOT NULL and a.handleResultCode is NOT NULL and b.problemSourcesCode in (21,22,23,24,25) "+
" and a.crtTime BETWEEN #{beginTime} AND #{endTime} GROUP BY resultName"