Compare commits

..

No commits in common. "abbbbddcb08010eee4d588171b56bebb753a8686" and "56a71cb9347ae7800b393155b08bc4c7c9632879" have entirely different histories.

3 changed files with 11 additions and 11 deletions

View File

@ -89,13 +89,7 @@ function SchedulesEdit(props) {
requestOptions, requestOptions,
function (resp) { function (resp) {
let rawScheduleDetail = resp; let rawScheduleDetail = resp;
} console.log( 'kimtheho kimtheho kimtheho kimtheho kimtheho kimtheho kimtheho kimtheho' + rawScheduleDetail );
);
EgovNet.requestFetch("/schedule/api/org-api/depth/list?paramCodeGroup=5",
requestOptions,
function (resp) {
let rawScheduleDetail = resp;
} }
); );

View File

@ -173,12 +173,19 @@ public class EgovIndvdlSchdulManageServiceImpl extends EgovAbstractServiceImpl i
public ResultVO ScheduleApiOrgApiDepthList(ResultVO resultVO, Integer paramCodeGroup) throws Exception { public ResultVO ScheduleApiOrgApiDepthList(ResultVO resultVO, Integer paramCodeGroup) throws Exception {
Map<String, Object> resultMap = new HashMap<String, Object>(); Map<String, Object> resultMap = new HashMap<String, Object>();
List<String> listCodes = tcCodeItemRepository.findByGrpCdAndUseYnOrderByGrpOrder("EVT_TYPE", "Y").stream()
List<String> list = tnCmtOrgRepository.findByUseYnAndUpCmtSeqOrderByCmtOrder("Y", paramCodeGroup).stream() .map(lc -> lc.getItemNm())
.collect(Collectors.toList());
List<String> listSubOrg = tnCmtOrgRepository.findByUseYnAndUpCmtSeqOrderByCmtOrder("Y", 3).stream()
.map(lc -> lc.getCmtNm())
.collect(Collectors.toList());
List<String> listTopOrg = tnCmtOrgRepository.findByUseYnAndUpCmtSeqOrderByCmtOrder("Y", 2).stream()
.map(lc -> lc.getCmtNm()) .map(lc -> lc.getCmtNm())
.collect(Collectors.toList()); .collect(Collectors.toList());
resultMap.put("list", list); resultMap.put("listCodes", listCodes);
resultMap.put("listSubOrg", listSubOrg);
resultMap.put("listTopOrg", listTopOrg);
resultVO.setResult(resultMap); resultVO.setResult(resultMap);
return resultVO; return resultVO;

View File

@ -8,5 +8,4 @@ import java.util.List;
public interface TnCmtOrgRepository extends JpaRepository<TnCmtOrg, TnCmtOrg.TnCmtOrgId> { public interface TnCmtOrgRepository extends JpaRepository<TnCmtOrg, TnCmtOrg.TnCmtOrgId> {
List<TnCmtOrg> findByUseYnAndUpCmtSeqOrderByCmtOrder(String useYn, Integer upCmtSeq); List<TnCmtOrg> findByUseYnAndUpCmtSeqOrderByCmtOrder(String useYn, Integer upCmtSeq);
} }