派生自 projectDept/qhighschool

胡仁荣
2022-11-24 06d6372b451b964738cbfe2adb37e1da85d856ed
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
package com.qxueyou.scc.exercise.service.impl;
 
 
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import com.qxueyou.scc.base.dao.CommonDAO;
import com.qxueyou.scc.base.service.ICacheService;
import com.qxueyou.scc.exercise.service.IExerciseVerService;
 
@Service("ExerciseStatisticsDealService")
public class ExerciseStatisticsDealService{
 
    @Autowired
    CommonDAO dao;
 
    @Autowired
    ICacheService cacheService;
    
    @Autowired
    IExerciseVerService exerciseService;
 
    @SuppressWarnings("unused")
    private static Logger log = LogManager.getLogger("ExerciseStatisticsDealService");
 
    /*@PostConstruct
    void init() {
 
        CommonONSConsumer.registerHandler("EXER_STATIS_SAVE", "ExerciseStatisticsDealService");
 
    }
 
    
    @Override
    public void doHandle(Message msg, ConsumeContext context) {
        try {
            
            String classId = msg.getUserProperties("classId");
            String orgId = msg.getUserProperties("orgId");
            String groupId = msg.getUserProperties("groupId");
            
            exerciseService.updateRefreshStatistical(groupId, orgId, classId,Constants.BOOLEAN_FLAG_TRUE);
            
        } catch (Exception e) {
 
            log.error("¸üгɼ¨Í³¼ÆÊ§°Ü:" + e, e);
 
            throw e;
 
        }
    }
*/
}