派生自 projectDept/qhighschool

yn147
2022-11-24 c6dd8423a2ca6e225deb93b78891d5565136cd4b
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
package com.qxueyou.scc.exam.service;
 
import java.math.BigDecimal;
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.exam.model.ExamPaperSectionInfo;
import com.qxueyou.scc.exercise.model.ExerciseGroup;
 
/**
 * ÊÔ¾í²¿·Ö·þÎñÀà
 * 
 * @author kevin
 * @createTime 2018-03-11
 */
public interface IExamPaperSectionService {
    
    /**
     * ²éѯÊÔ¾í²¿·ÖÊýÁ¿
     * @param param ²éѯ²ÎÊý
     * @return
     */
    int queryExamPaperSectionCount(Map<String,Object> param);
    
    
    /**
     * ²éѯÊÔ¾í²¿·ÖÁбí
     * @param param  ²éѯ²ÎÊý
     * @param page   ·ÖÒ³¶ÔÏó
     * @return
     */
    List<ExamPaperSectionInfo> queryExamPaperSectionList(Map<String,Object> param,Pager page);
    
 
    /**
     * ÐÂÔöÊÔ¾í²¿·Ö
     * 
     * @param examPaperSectionInfo
     *            
     * @return
     */
    String addExamPaperSection(ExamPaperSectionInfo examPaperSectionInfo);
 
    /**
     * É¾³ýÊÔ¾í²¿·Ö
     * 
     * @param elxamBatchIds
     *            ÊÔ¾í²¿·Öid
     * @return 1±íʾɾ³ý³É¹¦£¬0±íʾɾ³ýʧ°Ü
     */
    Result deleteExamPaperSection(String[] elxamBatchIds);
 
    /**
     * ¸üÐÂÊÔ¾í²¿·ÖÐÅÏ¢
     * 
     * @param noticeId
     *            ÊÔ¾í²¿·Öid
     * @return 1±íʾ¸üгɹ¦£¬0±íʾ¸üÐÂʧ°Ü
     */
    Result updateExamPaperSection(ExamPaperSectionInfo examPaperSectionInfo);
 
    /**
     * ÊÔ¾í²¿·Öid  ²éѯÊÔ¾í²¿·Ö
     * @param examPaperSectionId
     * @return
     */
    ExamPaperSectionInfo queryExamPaperSectionDetail(String examPaperSectionId);
    
    /**
     * ±£´æÊÔ¾íËùÑ¡Ìâ¿â
     * @param param
     * @return
     * @throws Exception 
     */
    @Deprecated
    public Result saveExamPaperSectionGroup(String sectionId,String [] selectedGroupIds,Short [] itemTypes) throws Exception;
    
    
    /**
     * ±£´æÊÔ¾íÑ¡Ìâ
     * @param param
     * @return
     * @throws Exception 
     */
    public Result saveExamPaperSectionItems(String sectionId,String sourceGroupId,String [] selectedItemIds) throws Exception;
 
 
    /**
     * É¾³ý²¿·ÖµÄÌâÄ¿
     * @param sectionId
     * @param groupId
     * @param exerciseItemIds
     * @return
     */
    Result deleteSectionItem(String sectionId, String groupId, String[] exerciseItemIds);
 
    /**
     * ²¿·Ö±£´æÌâÄ¿·ÖÊýÐÅÏ¢
     * @param exerciseGroup
     * @return
     */
    Result saveSectionItem(ExerciseGroup exerciseGroup);
 
 
    BigDecimal updatePaperScore(String groupId);
    
}