전자정부 프레임워크 적용.
parent
4d0ba3054f
commit
37b237d793
18
build.gradle
18
build.gradle
|
|
@ -12,10 +12,24 @@ configurations {
|
||||||
compileOnly {
|
compileOnly {
|
||||||
extendsFrom annotationProcessor
|
extendsFrom annotationProcessor
|
||||||
}
|
}
|
||||||
|
all {
|
||||||
|
exclude group: 'ch.qos.logback', module: 'logback-classic'
|
||||||
|
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven {
|
||||||
|
url "https://maven.egovframe.kr:8080/maven/"
|
||||||
|
}
|
||||||
|
maven {
|
||||||
|
url "https://maven.egovframe.go.kr/maven/"
|
||||||
|
metadataSources {
|
||||||
|
artifact()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
@ -41,6 +55,10 @@ dependencies {
|
||||||
implementation 'com.oracle.database.jdbc:ojdbc8:21.7.0.0'
|
implementation 'com.oracle.database.jdbc:ojdbc8:21.7.0.0'
|
||||||
implementation files('libs/tibero6-jdbc.jar')
|
implementation files('libs/tibero6-jdbc.jar')
|
||||||
|
|
||||||
|
/*전자정부*/
|
||||||
|
implementation(group: 'org.egovframe.rte', name: 'org.egovframe.rte.ptl.mvc', version:'4.1.0') {
|
||||||
|
exclude(module: 'commons-logging')
|
||||||
|
}
|
||||||
// json
|
// json
|
||||||
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
|
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,13 @@ import com.dbnt.faisp.main.userInfo.service.UserAlarmService;
|
||||||
import com.dbnt.faisp.main.userInfo.service.UserLogService;
|
import com.dbnt.faisp.main.userInfo.service.UserLogService;
|
||||||
import com.dbnt.faisp.util.Utils;
|
import com.dbnt.faisp.util.Utils;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.trace.LeaveaTrace;
|
||||||
import org.springframework.security.core.annotation.AuthenticationPrincipal;
|
import org.springframework.security.core.annotation.AuthenticationPrincipal;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpSession;
|
import javax.servlet.http.HttpSession;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -45,6 +47,10 @@ public class BaseController {
|
||||||
private final AuthMgtService authMgtService;
|
private final AuthMgtService authMgtService;
|
||||||
private final UserLogService userLogService;
|
private final UserLogService userLogService;
|
||||||
|
|
||||||
|
/** TRACE */
|
||||||
|
@Resource(name = "leaveaTrace")
|
||||||
|
LeaveaTrace leaveaTrace;
|
||||||
|
|
||||||
@GetMapping("/")
|
@GetMapping("/")
|
||||||
public ModelAndView loginCheck(@AuthenticationPrincipal UserInfo loginUser) {
|
public ModelAndView loginCheck(@AuthenticationPrincipal UserInfo loginUser) {
|
||||||
ModelAndView mav = null;
|
ModelAndView mav = null;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package com.dbnt.faisp.config;
|
package com.dbnt.faisp.config;
|
||||||
|
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
@ -10,7 +11,7 @@ import java.io.IOException;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class BaseService {
|
public class BaseService extends EgovAbstractServiceImpl {
|
||||||
|
|
||||||
@Value("${spring.servlet.multipart.location}")
|
@Value("${spring.servlet.multipart.location}")
|
||||||
protected String locationPath;
|
protected String locationPath;
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ import javax.servlet.http.HttpSession;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class EditorController extends BaseService{
|
public class EditorController{
|
||||||
|
|
||||||
@Value("${site.domain}")
|
@Value("${site.domain}")
|
||||||
protected String siteDomain;
|
protected String siteDomain;
|
||||||
|
|
@ -43,6 +43,10 @@ public class EditorController extends BaseService{
|
||||||
@Value("${editor.img.view}")
|
@Value("${editor.img.view}")
|
||||||
protected String imgView;
|
protected String imgView;
|
||||||
|
|
||||||
|
@Value("${spring.servlet.multipart.location}")
|
||||||
|
protected String locationPath;
|
||||||
|
@Value("${file.dir.editor}")
|
||||||
|
protected String editorPath;
|
||||||
|
|
||||||
@PostMapping("/Crosseditor/uploadImg")
|
@PostMapping("/Crosseditor/uploadImg")
|
||||||
public @ResponseBody JSONObject uploadImg(Model model, HttpServletRequest request, HttpServletResponse response, HttpSession session) {
|
public @ResponseBody JSONObject uploadImg(Model model, HttpServletRequest request, HttpServletResponse response, HttpSession session) {
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ import com.dbnt.faisp.main.userInfo.model.UserInfo;
|
||||||
import com.dbnt.faisp.util.Utils;
|
import com.dbnt.faisp.util.Utils;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import ognl.Ognl;
|
import ognl.Ognl;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.core.io.FileSystemResource;
|
import org.springframework.core.io.FileSystemResource;
|
||||||
import org.springframework.core.io.Resource;
|
import org.springframework.core.io.Resource;
|
||||||
import org.springframework.http.HttpHeaders;
|
import org.springframework.http.HttpHeaders;
|
||||||
|
|
@ -60,8 +61,15 @@ import java.util.zip.ZipOutputStream;
|
||||||
@RestController
|
@RestController
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RequestMapping("/file")
|
@RequestMapping("/file")
|
||||||
public class FileController extends BaseService{
|
public class FileController{
|
||||||
|
|
||||||
|
@Value("${spring.servlet.multipart.location}")
|
||||||
|
protected String locationPath;
|
||||||
|
@Value("${file.dir.editor}")
|
||||||
|
protected String editorPath;
|
||||||
|
@Value("${file.dir.affairTemp}")
|
||||||
|
protected String affairTempPath;
|
||||||
|
|
||||||
private final FaRptService faRptService;
|
private final FaRptService faRptService;
|
||||||
private final PlanService planService;
|
private final PlanService planService;
|
||||||
private final PublicBoardService publicBoardService;
|
private final PublicBoardService publicBoardService;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
package com.dbnt.faisp.egovframe.com.cmm;
|
||||||
|
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.trace.handler.TraceHandler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Class Name : EgovComTraceHandler.java
|
||||||
|
* @Description : 공통서비스의 trace 처리 클래스
|
||||||
|
* @Modification Information
|
||||||
|
*
|
||||||
|
* 수정일 수정자 수정내용
|
||||||
|
* ------- ------- -------------------
|
||||||
|
* 2011. 09. 30. JJY
|
||||||
|
*
|
||||||
|
* @author JJY
|
||||||
|
* @since 2011. 9. 30.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
public class EgovComTraceHandler implements TraceHandler {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 발생된 메시지를 출력한다.
|
||||||
|
*/
|
||||||
|
public void todo(Class<?> clazz, String message) {
|
||||||
|
//log.debug("log ==> DefaultTraceHandler run...............");
|
||||||
|
log.debug("[TRACE]CLASS::: {}", clazz.getName());
|
||||||
|
log.debug("[TRACE]MESSAGE::: {}", message);
|
||||||
|
//이곳에서 후속처리로 필요한 액션을 취할 수 있다.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,87 @@
|
||||||
|
package com.dbnt.faisp.egovframe.com.config;
|
||||||
|
|
||||||
|
import com.dbnt.faisp.egovframe.com.cmm.EgovComTraceHandler;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.trace.LeaveaTrace;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.trace.handler.TraceHandler;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.trace.manager.DefaultTraceHandleManager;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.trace.manager.TraceHandlerService;
|
||||||
|
import org.springframework.context.annotation.Bean;
|
||||||
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
import org.springframework.context.annotation.FilterType;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.AntPathMatcher;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : EgovConfigAppCommon.java
|
||||||
|
* @Description : 공통 Bean 설정
|
||||||
|
*
|
||||||
|
* @author : 윤주호
|
||||||
|
* @since : 2021. 7. 20
|
||||||
|
* @version : 1.0
|
||||||
|
*
|
||||||
|
* <pre>
|
||||||
|
* << 개정이력(Modification Information) >>
|
||||||
|
*
|
||||||
|
* 수정일 수정자 수정내용
|
||||||
|
* ------------- ------------ ---------------------
|
||||||
|
* 2021. 7. 20 윤주호 최초 생성
|
||||||
|
* 2023. 5. 05 crlee remove EgovMessageSource config
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Configuration
|
||||||
|
@ComponentScan(basePackages = "com.dbnt.faisp", includeFilters = {
|
||||||
|
@ComponentScan.Filter(type = FilterType.ANNOTATION, value = Service.class),
|
||||||
|
@ComponentScan.Filter(type = FilterType.ANNOTATION, value = Repository.class)
|
||||||
|
}, excludeFilters = {
|
||||||
|
@ComponentScan.Filter(type = FilterType.ANNOTATION, value = Controller.class),
|
||||||
|
@ComponentScan.Filter(type = FilterType.ANNOTATION, value = Configuration.class)
|
||||||
|
})
|
||||||
|
public class EgovConfigAppCommon {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return AntPathMatcher 등록. Ant 경로 패턴 경로와 일치하는지 여부를 확인
|
||||||
|
*/
|
||||||
|
@Bean
|
||||||
|
public AntPathMatcher antPathMatcher() {
|
||||||
|
return new AntPathMatcher();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return [LeaveaTrace 설정] defaultTraceHandler 등록
|
||||||
|
*/
|
||||||
|
@Bean
|
||||||
|
public EgovComTraceHandler defaultTraceHandler() {
|
||||||
|
return new EgovComTraceHandler();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return [LeaveaTrace 설정] traceHandlerService 등록. TraceHandler 설정
|
||||||
|
*/
|
||||||
|
@Bean
|
||||||
|
public DefaultTraceHandleManager traceHandlerService() {
|
||||||
|
DefaultTraceHandleManager defaultTraceHandleManager = new DefaultTraceHandleManager();
|
||||||
|
defaultTraceHandleManager.setReqExpMatcher(antPathMatcher());
|
||||||
|
defaultTraceHandleManager.setPatterns(new String[] {"*"});
|
||||||
|
defaultTraceHandleManager.setHandlers(new TraceHandler[] {defaultTraceHandler()});
|
||||||
|
return defaultTraceHandleManager;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return [LeaveaTrace 설정] LeaveaTrace 등록
|
||||||
|
*/
|
||||||
|
@Bean
|
||||||
|
public LeaveaTrace leaveaTrace() {
|
||||||
|
LeaveaTrace leaveaTrace = new LeaveaTrace();
|
||||||
|
leaveaTrace.setTraceHandlerServices(new TraceHandlerService[] {traceHandlerService()});
|
||||||
|
return leaveaTrace;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -7,6 +7,7 @@ import com.dbnt.faisp.main.userInfo.model.UserCareer;
|
||||||
import com.dbnt.faisp.main.userInfo.model.UserInfo;
|
import com.dbnt.faisp.main.userInfo.model.UserInfo;
|
||||||
import com.dbnt.faisp.main.userInfo.repository.UserCareerRepository;
|
import com.dbnt.faisp.main.userInfo.repository.UserCareerRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
|
@ -18,7 +19,7 @@ import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class KwmsService {
|
public class KwmsService extends EgovAbstractServiceImpl {
|
||||||
private final VEmployeeRepository vEmployeeRepository;
|
private final VEmployeeRepository vEmployeeRepository;
|
||||||
private final CodeMgtService codeMgtService;
|
private final CodeMgtService codeMgtService;
|
||||||
private final UserCareerRepository careerRepository;
|
private final UserCareerRepository careerRepository;
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import com.dbnt.faisp.main.authMgt.model.AuthMgt;
|
||||||
import com.dbnt.faisp.main.authMgt.repository.AccessConfigRepository;
|
import com.dbnt.faisp.main.authMgt.repository.AccessConfigRepository;
|
||||||
import com.dbnt.faisp.main.authMgt.repository.ApprovalConfigRepository;
|
import com.dbnt.faisp.main.authMgt.repository.ApprovalConfigRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
@ -17,7 +18,7 @@ import java.util.Map;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class AuthMgtService {
|
public class AuthMgtService extends EgovAbstractServiceImpl {
|
||||||
private final AuthMgtMapper authMgtMapper;
|
private final AuthMgtMapper authMgtMapper;
|
||||||
private final AccessConfigRepository accessConfigRepository;
|
private final AccessConfigRepository accessConfigRepository;
|
||||||
private final ApprovalConfigRepository approvalConfigRepository;
|
private final ApprovalConfigRepository approvalConfigRepository;
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import com.dbnt.faisp.main.userInfo.model.UserInfo;
|
||||||
|
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
|
@ -23,7 +24,7 @@ import java.util.*;
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class BudgetService {
|
public class BudgetService extends EgovAbstractServiceImpl {
|
||||||
|
|
||||||
private final TblBudgetCodeL1Repository codeL1Repository;
|
private final TblBudgetCodeL1Repository codeL1Repository;
|
||||||
private final TblBudgetCodeL2Repository codeL2Repository;
|
private final TblBudgetCodeL2Repository codeL2Repository;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import com.dbnt.faisp.main.codeMgt.model.CodeMgt;
|
||||||
import com.dbnt.faisp.main.codeMgt.repository.CodeCatgRepository;
|
import com.dbnt.faisp.main.codeMgt.repository.CodeCatgRepository;
|
||||||
import com.dbnt.faisp.main.codeMgt.repository.CodeMgtRepository;
|
import com.dbnt.faisp.main.codeMgt.repository.CodeMgtRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
|
@ -13,7 +14,7 @@ import java.util.*;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class CodeMgtService{
|
public class CodeMgtService extends EgovAbstractServiceImpl {
|
||||||
|
|
||||||
private final CodeMgtRepository codeMgtRepository;
|
private final CodeMgtRepository codeMgtRepository;
|
||||||
private final CodeCatgRepository codeCatgRepository;
|
private final CodeCatgRepository codeCatgRepository;
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,12 @@ package com.dbnt.faisp.main.faStatistics.internationalCrimeArrest.mapper;
|
||||||
import com.dbnt.faisp.main.faStatistics.internationalCrimeArrest.model.IcaStatistics;
|
import com.dbnt.faisp.main.faStatistics.internationalCrimeArrest.model.IcaStatistics;
|
||||||
import com.dbnt.faisp.main.faStatistics.internationalCrimeArrest.model.InternationalCrimeArrest;
|
import com.dbnt.faisp.main.faStatistics.internationalCrimeArrest.model.InternationalCrimeArrest;
|
||||||
|
|
||||||
import com.dbnt.faisp.util.ParamMap;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface InternationalCrimeArrestMapper{
|
public interface InternationalCrimeArrestMapper {
|
||||||
List<InternationalCrimeArrest> selectInternationalCrimeArrestList(InternationalCrimeArrest internationalCrimeArrest);
|
List<InternationalCrimeArrest> selectInternationalCrimeArrestList(InternationalCrimeArrest internationalCrimeArrest);
|
||||||
Integer selectInternationalCrimeArrestListCnt(InternationalCrimeArrest internationalCrimeArrest);
|
Integer selectInternationalCrimeArrestListCnt(InternationalCrimeArrest internationalCrimeArrest);
|
||||||
List<IcaStatistics> selectIcaStatistics(IcaStatistics icaStatistics);
|
List<IcaStatistics> selectIcaStatistics(IcaStatistics icaStatistics);
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ import com.dbnt.faisp.main.faStatistics.unlawfulFishing.mapper.UnlawfulFishingMa
|
||||||
import com.dbnt.faisp.main.faStatistics.unlawfulFishing.model.statistics.*;
|
import com.dbnt.faisp.main.faStatistics.unlawfulFishing.model.statistics.*;
|
||||||
import com.dbnt.faisp.main.faStatistics.unlawfulFishing.repository.*;
|
import com.dbnt.faisp.main.faStatistics.unlawfulFishing.repository.*;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
@ -25,7 +26,7 @@ import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class UnlawfulFishingService {
|
public class UnlawfulFishingService extends EgovAbstractServiceImpl {
|
||||||
private final CrackdownStatusService crackdownStatusService;
|
private final CrackdownStatusService crackdownStatusService;
|
||||||
private final FishingBoatService fishingBoatService;
|
private final FishingBoatService fishingBoatService;
|
||||||
private final ProcessResultService processResultService;
|
private final ProcessResultService processResultService;
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,13 @@ package com.dbnt.faisp.main.hashTag.service;
|
||||||
import com.dbnt.faisp.main.hashTag.model.HashTag;
|
import com.dbnt.faisp.main.hashTag.model.HashTag;
|
||||||
import com.dbnt.faisp.main.hashTag.repository.HashTagRepository;
|
import com.dbnt.faisp.main.hashTag.repository.HashTagRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class HashTagService {
|
public class HashTagService extends EgovAbstractServiceImpl {
|
||||||
private final HashTagRepository hashTagRepository;
|
private final HashTagRepository hashTagRepository;
|
||||||
|
|
||||||
@Transactional
|
@Transactional
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import com.dbnt.faisp.main.menuMgt.mapper.MenuMgtMapper;
|
||||||
import com.dbnt.faisp.main.menuMgt.model.MenuMgt;
|
import com.dbnt.faisp.main.menuMgt.model.MenuMgt;
|
||||||
import com.dbnt.faisp.main.menuMgt.repository.MenuMgtRepository;
|
import com.dbnt.faisp.main.menuMgt.repository.MenuMgtRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
|
@ -13,7 +14,7 @@ import java.util.*;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class MenuMgtService {
|
public class MenuMgtService extends EgovAbstractServiceImpl {
|
||||||
|
|
||||||
private final MenuMgtRepository menuMgtRepository;
|
private final MenuMgtRepository menuMgtRepository;
|
||||||
private final AccessConfigRepository accessConfigRepository;
|
private final AccessConfigRepository accessConfigRepository;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import com.dbnt.faisp.main.organMgt.mapper.OrganConfigMapper;
|
||||||
import com.dbnt.faisp.main.organMgt.model.OrganConfig;
|
import com.dbnt.faisp.main.organMgt.model.OrganConfig;
|
||||||
import com.dbnt.faisp.main.organMgt.repository.OrganConfigRepository;
|
import com.dbnt.faisp.main.organMgt.repository.OrganConfigRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
@ -15,7 +16,7 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class OrganConfigService {
|
public class OrganConfigService extends EgovAbstractServiceImpl {
|
||||||
private final OrganConfigRepository organConfigRepository;
|
private final OrganConfigRepository organConfigRepository;
|
||||||
private final OrganConfigMapper organConfigMapper;
|
private final OrganConfigMapper organConfigMapper;
|
||||||
private final CodeMgtService codeMgtService;
|
private final CodeMgtService codeMgtService;
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||||
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
|
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.json.simple.JSONArray;
|
import org.json.simple.JSONArray;
|
||||||
import org.json.simple.JSONObject;
|
import org.json.simple.JSONObject;
|
||||||
import org.json.simple.parser.JSONParser;
|
import org.json.simple.parser.JSONParser;
|
||||||
|
|
@ -26,7 +27,7 @@ import java.util.List;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Service
|
@Service
|
||||||
public class SearchEngineService {
|
public class SearchEngineService extends EgovAbstractServiceImpl {
|
||||||
|
|
||||||
@Value("${search.engine.default}")
|
@Value("${search.engine.default}")
|
||||||
private String defaultUrl;
|
private String defaultUrl;
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import com.dbnt.faisp.main.userInfo.repository.UserCareerRepository;
|
||||||
import com.dbnt.faisp.main.userInfo.repository.UserEduRepository;
|
import com.dbnt.faisp.main.userInfo.repository.UserEduRepository;
|
||||||
import com.dbnt.faisp.main.userInfo.repository.UserInfoRepository;
|
import com.dbnt.faisp.main.userInfo.repository.UserInfoRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.security.core.annotation.AuthenticationPrincipal;
|
import org.springframework.security.core.annotation.AuthenticationPrincipal;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
@ -21,7 +22,7 @@ import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class PoliceService {
|
public class PoliceService extends EgovAbstractServiceImpl {
|
||||||
private final UserInfoRepository userInfoRepository;
|
private final UserInfoRepository userInfoRepository;
|
||||||
private final UserCareerRepository userCareerRepository;
|
private final UserCareerRepository userCareerRepository;
|
||||||
private final UserEduRepository userEduRepository;
|
private final UserEduRepository userEduRepository;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ import com.dbnt.faisp.main.userInfo.mapper.UserInfoMapper;
|
||||||
import com.dbnt.faisp.main.userInfo.model.UserAlarm;
|
import com.dbnt.faisp.main.userInfo.model.UserAlarm;
|
||||||
import com.dbnt.faisp.main.userInfo.repository.UserAlarmRepository;
|
import com.dbnt.faisp.main.userInfo.repository.UserAlarmRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
|
@ -15,7 +16,7 @@ import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class UserAlarmService {
|
public class UserAlarmService extends EgovAbstractServiceImpl {
|
||||||
private final AuthMgtService authMgtService;
|
private final AuthMgtService authMgtService;
|
||||||
private final UserAlarmRepository userAlarmRepository;
|
private final UserAlarmRepository userAlarmRepository;
|
||||||
private final UserInfoMapper userInfoMapper;
|
private final UserInfoMapper userInfoMapper;
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import com.dbnt.faisp.util.ParamMap;
|
||||||
import com.dbnt.faisp.util.Utils;
|
import com.dbnt.faisp.util.Utils;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.security.core.userdetails.UserDetails;
|
import org.springframework.security.core.userdetails.UserDetails;
|
||||||
import org.springframework.security.core.userdetails.UserDetailsService;
|
import org.springframework.security.core.userdetails.UserDetailsService;
|
||||||
|
|
@ -26,7 +27,7 @@ import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class UserInfoService implements UserDetailsService {
|
public class UserInfoService extends EgovAbstractServiceImpl implements UserDetailsService {
|
||||||
|
|
||||||
private final UserInfoRepository userInfoRepository;
|
private final UserInfoRepository userInfoRepository;
|
||||||
private final UserInfoHistoryRepository userInfoHistoryRepository;
|
private final UserInfoHistoryRepository userInfoHistoryRepository;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import com.dbnt.faisp.main.userInfo.model.UserRequestLog;
|
||||||
import com.dbnt.faisp.main.userInfo.repository.UserInoutLogRepository;
|
import com.dbnt.faisp.main.userInfo.repository.UserInoutLogRepository;
|
||||||
import com.dbnt.faisp.main.userInfo.repository.UserRequestLogRepository;
|
import com.dbnt.faisp.main.userInfo.repository.UserRequestLogRepository;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
|
@ -15,7 +16,7 @@ import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class UserLogService {
|
public class UserLogService extends EgovAbstractServiceImpl {
|
||||||
private final UserRequestLogRepository requestLogRepository;
|
private final UserRequestLogRepository requestLogRepository;
|
||||||
private final UserInoutLogRepository inoutLogRepository;
|
private final UserInoutLogRepository inoutLogRepository;
|
||||||
private final UserInfoMapper userInfoMapper;
|
private final UserInfoMapper userInfoMapper;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue