renqianlong 1 年之前
父節點
當前提交
ff15afd92f

+ 14 - 0
zhongzheng-admin/src/main/java/com/zhongzheng/controller/grade/ClassGradeController.java

@@ -28,6 +28,7 @@ import com.zhongzheng.modules.grade.bo.*;
 import com.zhongzheng.modules.grade.domain.ClassGrade;
 import com.zhongzheng.modules.grade.domain.ClassGrade;
 import com.zhongzheng.modules.grade.service.*;
 import com.zhongzheng.modules.grade.service.*;
 import com.zhongzheng.modules.grade.vo.*;
 import com.zhongzheng.modules.grade.vo.*;
+import com.zhongzheng.modules.user.bo.UserQueryBo;
 import com.zhongzheng.modules.user.entity.ClientLoginUser;
 import com.zhongzheng.modules.user.entity.ClientLoginUser;
 import io.swagger.models.auth.In;
 import io.swagger.models.auth.In;
 import lombok.RequiredArgsConstructor;
 import lombok.RequiredArgsConstructor;
@@ -142,6 +143,19 @@ public class ClassGradeController extends BaseController {
     public AjaxResult<List<ClassNpUserInfoVo>> otherClassUserList(ClassNpUserInfoBo bo) {
     public AjaxResult<List<ClassNpUserInfoVo>> otherClassUserList(ClassNpUserInfoBo bo) {
         return AjaxResult.success(iClassGradeService.otherClassUserList(bo));
         return AjaxResult.success(iClassGradeService.otherClassUserList(bo));
     }
     }
+    /**
+     * 查询其他平台班级详情
+     */
+    @ApiOperation("统计")
+    @GetMapping("/count/periodPlush")
+    public AjaxResult getPeriodPlush(UserQueryBo bo) {
+        AjaxResult ajax = AjaxResult.success();
+        int notPlush = iClassGradeUserService.selectPeriodNotPush(bo).size();
+        int plush = iClassGradeUserService.selectPeriodNotPush(bo).size();
+        ajax.put("notPlush",notPlush);
+        ajax.put("Plush",plush);
+        return ajax;
+    }
 
 
     /**
     /**
      * 导出查询其他平台班级详情
      * 导出查询其他平台班级详情

+ 1 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/IClassGradeUserService.java

@@ -32,6 +32,7 @@ public interface IClassGradeUserService extends IService<ClassGradeUser> {
 	 */
 	 */
 	List<ClassGradeUserVo> queryList(ClassGradeUserQueryBo bo);
 	List<ClassGradeUserVo> queryList(ClassGradeUserQueryBo bo);
 
 
+
 	/**
 	/**
 	 * 根据新增业务对象插入学员记录
 	 * 根据新增业务对象插入学员记录
 	 * @param bo 学员记录新增业务对象
 	 * @param bo 学员记录新增业务对象