기능 |
기존 PHP 모듈 |
변경한 JAVA 모듈 |
소스 변경 개요 및 설명 |
기존 |
변경 |
엑셀 모듈 (읽기, 쓰기 등) |
PHP excel |
Apache poi |
PHPExcel_IOFactory::createReader($inputFileType)
|
List<HashMap<String,String>> readExcelData(MultipartFile excelFile) |
외부 API 통신 |
mapirestclient |
webflux |
$this->CI->mapirestclient->setData($config['url'], $config['method'], $config['data']); $result = $this->CI->mapirestclient->execute(); |
ResponseEntity<JSONObject> result = webClient.get() .uri("/api/conects/get_meta_code") .retrieve() .toEntity(JSONObject.class) .block(); |
로그인 체크 |
hooks |
filter |
public_html/application/hooks/Common.php check() 메소드 |
kr.co.dangi.mango.logins.filter.LoginCheckFilter.java doFilterInternal() 메소드 |
쿼리 빌드 정보의 추출,삽입, 업데이트를 최소한의 코드로 수행 |
Query Builder Class |
specification |
$this->db->get() |
Map<SendComMasSpecification.SearchKey, Object> searchKeys = new HashMap<>(); |
성능 측정 |
사용하지 않음. |
AOP |
- |
@Aspect |