-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMngNotServiceImpl.java
More file actions
60 lines (42 loc) · 1.51 KB
/
Copy pathMngNotServiceImpl.java
File metadata and controls
60 lines (42 loc) · 1.51 KB
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
package kr.happyjob.study.mngNot.service;
import java.util.List;
import java.util.Map;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import kr.happyjob.study.mngNot.dao.MngNotDao;
import kr.happyjob.study.mngNot.model.NoticeModel;
@Service
public class MngNotServiceImpl implements MngNotService {
// Set logger
private final Logger logger = LogManager.getLogger(this.getClass());
// Get class name for logger
private final String className = this.getClass().toString();
@Autowired
MngNotDao mngNotDao;
/** 목록 조회 */
public List<NoticeModel> noticelist(Map<String, Object> paramMap) throws Exception {
return mngNotDao.noticelist(paramMap);
}
/** 목록 카운트 조회 */
public int countnoticelist(Map<String, Object> paramMap) throws Exception {
return mngNotDao.countnoticelist(paramMap);
}
/** 한건 조회 */
public NoticeModel noticeselectone(Map<String, Object> paramMap) throws Exception {
return mngNotDao.noticeselectone(paramMap);
}
/** 등록 */
public int noticeinsert(Map<String, Object> paramMap) throws Exception {
return mngNotDao.noticeinsert(paramMap);
}
/** 수정 */
public int noticeupdate(Map<String, Object> paramMap) throws Exception {
return mngNotDao.noticeupdate(paramMap);
}
/** 삭제 */
public int noticedelete(Map<String, Object> paramMap) throws Exception {
return mngNotDao.noticedelete(paramMap);
}
}