fix: 강남심사 주정차(admin) 반영

main
minuk926 2 years ago
parent b70721305f
commit c32119dddf

@ -107,15 +107,6 @@ public class ParkingDao extends BaseMpowerDaoSupport {
}
public void updateMsResult(@NotNull final Long msMaincode, @NotNull final String msSeq, @NotNull final String msResult) {
final String sql = QueryGenerator.createNamedQuery(NAME_SPACE, "updateJudegResult")
.setParameter("msMaincode", msMaincode)
.setParameter("msSeq", msSeq)
.setParameter("msResult", msResult)
.getQueryString();
update(sql);
final String mainCodeSql = QueryGenerator.createNamedQuery(NAME_SPACE, "selectRcMaincode")
.setParameter("msMaincode", msMaincode)
.getQueryString();
@ -124,7 +115,20 @@ public class ParkingDao extends BaseMpowerDaoSupport {
final List<String> outParams = Arrays.asList("result", "message");
final String spSql = "SIMSA_EDIT_RESULT(?,?,?,?,?,?,?)";
Map<String,Object> rslt = executeSp(spSql, inParams, outParams);
if(!"1".equals(rslt.get("result"))) throw new CustomBaseException(String.valueOf(rslt.get("message")));
if(!"1".equals(rslt.get("result"))){
log.error("{}", rslt);
throw new CustomBaseException(String.valueOf(rslt.get("message")));
}
/*
final String sql = QueryGenerator.createNamedQuery(NAME_SPACE, "updateJudegResult")
.setParameter("msMaincode", msMaincode)
.setParameter("msSeq", msSeq)
.setParameter("msResult", msResult)
.getQueryString();
update(sql);
*/
}
public List<ParkingTargetDto> findParkingJudgeTargets(@NotNull final ParkingTargetDto dto) {

@ -322,10 +322,6 @@
ORDER BY TR.rc_seq
</native-query>
<native-query id="selectDashboardJudgeList">
/* parking-mapper|selectDashboardJudgeList|julim */
SELECT MS.ms_edate

Loading…
Cancel
Save