|
@ -21,6 +21,7 @@ import org.jfw.apt.web.annotation.param.RequestBody;
|
21
|
21
|
import org.jfw.util.PageQueryResult;
|
22
|
22
|
import org.jfw.util.StringUtil;
|
23
|
23
|
|
|
24
|
import com.ekexiu.portal.dao.ArticleDao;
|
24
|
25
|
import com.ekexiu.portal.dao.AuthApplyDao;
|
25
|
26
|
import com.ekexiu.portal.dao.HonorDao;
|
26
|
27
|
import com.ekexiu.portal.dao.ImageDao;
|
|
@ -47,6 +48,8 @@ import com.ekexiu.portal.util.Calculate;
|
47
|
48
|
|
48
|
49
|
@Path("/professor")
|
49
|
50
|
public class ProfessorService {
|
|
51
|
@Autowrie
|
|
52
|
private ArticleDao articleDao;
|
50
|
53
|
@Autowrie
|
51
|
54
|
private ImageDao imageDao;
|
52
|
55
|
@Autowrie
|
|
@ -85,6 +88,14 @@ public class ProfessorService {
|
85
|
88
|
private ProjectDao projectDao;
|
86
|
89
|
|
87
|
90
|
|
|
91
|
public ArticleDao getArticleDao() {
|
|
92
|
return articleDao;
|
|
93
|
}
|
|
94
|
|
|
95
|
public void setArticleDao(ArticleDao articleDao) {
|
|
96
|
this.articleDao = articleDao;
|
|
97
|
}
|
|
98
|
|
88
|
99
|
public AuthApplyDao getAuthApplyDao() {
|
89
|
100
|
return authApplyDao;
|
90
|
101
|
}
|
|
@ -430,6 +441,7 @@ public class ProfessorService {
|
430
|
441
|
this.watchDao.deletePro(con, id);
|
431
|
442
|
this.watchDao.deleteWatch(con, id);
|
432
|
443
|
this.resourceDao.deletePro(con, id);
|
|
444
|
this.articleDao.deletePro(con, id);
|
433
|
445
|
}
|
434
|
446
|
|
435
|
447
|
@Get
|