派生自 projectDept/qhighschool

胡仁荣
2022-10-31 fe7381d6e8ec1f427408de0297ac7f41533202f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
package com.qxueyou.scc.school.service;
 
import java.util.List;
import java.util.Map;
 
import com.qxueyou.scc.base.model.Pager;
import com.qxueyou.scc.base.model.Result;
import com.qxueyou.scc.school.model.SchArticle;
 
/**
 * ÎÄÕ½ӿÚ
 * 
 * @author zhiyong
 *
 */
public interface IArticleService {
    
    /**
     * ²éѯÁбíÊý¾Ý
     * 
     * @param type
     * @return
     */
    List<SchArticle> queryClassListData();
    
    /**
     * ²éѯ¿ÆÄ¿ÎÄÕÂlist
     * @param collegeCourseId
     * @return
     */
    List<Map<String, Object>> queryArticleOrgLst(String collegeCourseId, String subjectId);
     
    /**
     * ²éѯ»ù±¾ÐÅÏ¢
     * @param articleId
     * @return
     */
    Result queryInfo(String articleId);
    
    /**
     * ÐÂÔö»ò¸üÐÂÁбíÊý¾Ý °à¼¶
     * 
     * @param articleId
     * @param name
     * @return
     */
    Result updateArticle(SchArticle article);
    
    /**
     * ÐÂÔö»ò¸üÐÂÁбíÊý¾Ý  »ú¹¹
     * 
     * @return
     */
    Result updateOrgArticle(SchArticle article, String collegeCourseId);
    
    /**
     * É¾³ýÎÄÕÂ
     * @param articleIds
     * @return
     */
    Result deleteArticle(String articleIds);
    
    /**
     * ÅÅÐò
     * 
     * @param ids
     * @param index
     * @return
     */
    Result doitemOrder(List<String> ids,  List<Integer> index);
    
    /**
     * É¾³ý»ú¹¹ÎÄÕÂÐÅÏ¢
     * @param articleIds
     * @param delAll
     * @param orgIds
     * @param classIds
     */
    Result deleteOrgArticleIds(String[] articleIds, Integer delAll, String orgIds[], String classIds[]);
    
    /**
     * Ï·¢»ú¹¹Îļþ
     * @param articleId
     * @param orgId
     * @param classIds
     * @param collegeCourseId
     * @return
     */
    Result insertAppointArticle(String articleId[], String orgId[], String classIds[], String collegeCourseId);
    
    /**
     * »ñÈ¡ÎÄÕÂÁбí
     * 
     * @param pager
     * @return
     */
    public Result articleList(Pager pager, String sortType, String sortField, String collegeCourseId, String subjectId);
    
    /**
     * µãÔÞ
     * 
     * @param msgId
     * @return
     */
    public Result doLike(String commentId);
    
    /**
     * É¾³ýÆÀÂÛ
     * 
     * @param msgId
     * @param commentId
     * @return
     */
    public Result deleteComment(String articleId, String commentId);
    
    /**
     * ÆÀÂÛÁбí
     * 
     * @param articleId
     * @return
     */
    public Result commentList(String articleId);
    
    /**
     * ÆÀÂÛ
     * 
     * @param msgId
     * @param content
     * @param parentCommentId
     * @return
     */
    public Result addComment(String articleId, String content, String parentCommentId);
    
    /**
     * ¹Û¿´½ø¶È
     * 
     * @param articleId
     * @param compDegree
     * @return
     */
    public Result doSubmitSchedule(String articleId, double compDegree);
    
    /**
     * ±£´æÎÄÕ½ӿÚ
     * 
     * @param article
     * @return
     */
    public Result saveArticle(SchArticle article);
}