|
|
@ -107,15 +107,6 @@ public class ParkingDao extends BaseMpowerDaoSupport {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void updateMsResult(@NotNull final Long msMaincode, @NotNull final String msSeq, @NotNull final String msResult) {
|
|
|
|
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")
|
|
|
|
final String mainCodeSql = QueryGenerator.createNamedQuery(NAME_SPACE, "selectRcMaincode")
|
|
|
|
.setParameter("msMaincode", msMaincode)
|
|
|
|
.setParameter("msMaincode", msMaincode)
|
|
|
|
.getQueryString();
|
|
|
|
.getQueryString();
|
|
|
@ -124,7 +115,20 @@ public class ParkingDao extends BaseMpowerDaoSupport {
|
|
|
|
final List<String> outParams = Arrays.asList("result", "message");
|
|
|
|
final List<String> outParams = Arrays.asList("result", "message");
|
|
|
|
final String spSql = "SIMSA_EDIT_RESULT(?,?,?,?,?,?,?)";
|
|
|
|
final String spSql = "SIMSA_EDIT_RESULT(?,?,?,?,?,?,?)";
|
|
|
|
Map<String,Object> rslt = executeSp(spSql, inParams, outParams);
|
|
|
|
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) {
|
|
|
|
public List<ParkingTargetDto> findParkingJudgeTargets(@NotNull final ParkingTargetDto dto) {
|
|
|
|