派生自 projectDept/qhighschool

胡仁荣
2022-11-07 4cb792d930b7029c38ae2ced15e661a9d76c066b
src/main/java/com/qxueyou/scc/teach/subject/service/impl/SubjectService.java
@@ -411,9 +411,6 @@
   @Override
   public List<MySubjectV> listMySubjectV(String classId,String userId) {
      StringBuffer hql = new StringBuffer("from MySubjectV p where p.id.userId=? and p.subjectStatus=?");
//      UserInfoWrapper wrapper=new UserInfoWrapper();
//      System.out.println("cc"+ClientUtils.getUserInfo().getInfo(wrapper.INF_CLASS_ID));
//      System.out.println("1-"+ClientUtils.getUserId()+"2-"+Subject.STATUS_ISSUED+"aaaaaa"+userId);
      List<Object> args = CollectionUtils.newList(userId,Subject.STATUS_ISSUED);
      if (!StringUtils.isEmpty(classId)) {
@@ -568,8 +565,8 @@
   }
   @Override
   public Result lstSubjectDetail(String userId) {
//      String userId = ClientUtils.getUserId();
   public Result lstSubjectDetail() {
      String userId = ClientUtils.getUserId();
      StringBuffer hql = new StringBuffer(
            "select percent as percent,className as className ,id.classId as classId ,id.subjectId as subjectId ,"
                  + "subjectName as subjectName ,coverPageUrl as coverPageUrl , progressValue as progressValue from"