일괄전송 현황 상세 조회시 file log count, stage log count 쿼리 정상 호출되도록 수정
This commit is contained in:
+12
-3
@@ -77,9 +77,18 @@ public class BapTransactionStatusController extends BapBaseAnnotationController
|
||||
returnMap = agentUtilService.broadcast(command);
|
||||
iter = returnMap.keySet().iterator();
|
||||
svrName = iter.next();
|
||||
@SuppressWarnings("unchecked")
|
||||
List<Map<String, Serializable>> list = (List<Map<String, Serializable>>)returnMap.get(svrName);
|
||||
paramMap.put("procList", list);
|
||||
|
||||
Object value = returnMap.get(svrName);
|
||||
|
||||
|
||||
if(value instanceof List) {
|
||||
@SuppressWarnings("unchecked")
|
||||
List<Map<String, Serializable>> list = (List<Map<String, Serializable>>)value;
|
||||
paramMap.put("procList", list);
|
||||
}else {
|
||||
paramMap.put("procList", null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//Map<String, Object> resultMap = service.selectList( paramMap);
|
||||
|
||||
+2
-2
@@ -54,11 +54,11 @@ public class BapTransactionStatusDao extends SqlMapClientTemplateDao {
|
||||
}
|
||||
|
||||
public int getFileLogCount(HashMap<String, Object> param) throws Exception {
|
||||
return (Integer)template.queryForObject("BapTranStatus.getFileLogCount", param);
|
||||
return (Integer)template.queryForObject("BapTranStatus.filelogcount", param);
|
||||
}
|
||||
|
||||
public int getStageLogCount(HashMap<String, Object> param) throws Exception {
|
||||
return (Integer)template.queryForObject("BapTranStatus.getStageLogCount", param);
|
||||
return (Integer)template.queryForObject("BapTranStatus.stagelogcount", param);
|
||||
}
|
||||
|
||||
public List<Map<String, Object>> selectOsidInstiDstcd(HashMap<String, Object> param) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user