| | |
| | | @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)) { |
| | |
| | | } |
| | | |
| | | @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" |