diff --git a/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java b/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java index 189041f..f9d36c0 100644 --- a/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java +++ b/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java @@ -187,7 +187,7 @@ public interface RpcApplyMapper extends BaseMapper { * 按事发时间进行筛选 * 维权案件情况 * */ - @Select(" select sdp.short_name,COUNT(*) from rpc_apply ra " + + @Select(" select sdp.short_name,COUNT(*) as value from rpc_apply ra " + " LEFT JOIN sup_depart sdp on ra.second_depart_id = sdp.id " + " WHERE sdp.statistics_group_id = #{departGroupId} and ra.type =1 " + " and ra.crt_time BETWEEN #{beginTime} and #{endTime} " +