공통코드 코드기반 조회 추가
This commit is contained in:
@@ -53,9 +53,30 @@ public class CommonCodeService {
|
||||
return commonCodeCoreService.update(id, req).getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* 공통코드 삭제 처리
|
||||
* @param id 코드 아이디
|
||||
*/
|
||||
@Transactional
|
||||
public void remove(Long id) {
|
||||
commonCodeCoreService.remove(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 공통코드 순서 변경
|
||||
* @param req
|
||||
*/
|
||||
@Transactional
|
||||
public void updateOrder(CommonCodeDto.OrderReq req) {
|
||||
commonCodeCoreService.updateOrder(req);
|
||||
}
|
||||
|
||||
/**
|
||||
* 코드기반 조회
|
||||
* @param code
|
||||
* @return
|
||||
*/
|
||||
public List<CommonCodeDto.Basic> findByCode(String code) {
|
||||
return commonCodeCoreService.findByCode(code);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user