Merge branch 'thkim'
commit
abbbbddcb0
|
|
@ -89,7 +89,13 @@ 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;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -173,19 +173,12 @@ 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()
|
|
||||||
.map(lc -> lc.getItemNm())
|
List<String> list = tnCmtOrgRepository.findByUseYnAndUpCmtSeqOrderByCmtOrder("Y", paramCodeGroup).stream()
|
||||||
.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("listCodes", listCodes);
|
resultMap.put("list", list);
|
||||||
resultMap.put("listSubOrg", listSubOrg);
|
|
||||||
resultMap.put("listTopOrg", listTopOrg);
|
|
||||||
resultVO.setResult(resultMap);
|
resultVO.setResult(resultMap);
|
||||||
|
|
||||||
return resultVO;
|
return resultVO;
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,5 @@ 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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue