|
@@ -99,15 +99,37 @@ public class DbmsDataProcess {
|
|
|
if (pis != null) {
|
|
|
String DATA_COLCT_TIME = SysUtils.getSysTime();
|
|
|
C2FMessage<PrkPlceRlTimeResponseInfo> rlTimeInfo = (C2FMessage<PrkPlceRlTimeResponseInfo>) data.getData();
|
|
|
+
|
|
|
if (rlTimeInfo != null) {
|
|
|
PrkPlceRlTimeResponseInfo info = rlTimeInfo.getData().getPayload();
|
|
|
TbPrkPlceRt rt = TbPrkPlceRt.toEntity(pis.getPIS_NMBR(), DATA_COLCT_TIME, info);
|
|
|
|
|
|
- this.prkPlceMapper.updatePrkPlceRlTime(rt);
|
|
|
- this.prkPlceDao.updateRlTimeFlr(pis.getPIS_NMBR(), DATA_COLCT_TIME, info.getFlr_info());
|
|
|
- this.prkPlceDao.updateRlTimeAr(pis.getPIS_NMBR(), info.getAr_info());
|
|
|
- this.prkPlceDao.updateRlTimePrv(pis.getPIS_NMBR(), info.getPrvuse_prkar_info());
|
|
|
- this.prkPlceDao.updateRlTimeDev(pis.getPIS_NMBR(), info.getPrk_colct_device_info());
|
|
|
+ try {
|
|
|
+ rt.setPartclrMatter("없음");
|
|
|
+ this.prkPlceMapper.updatePrkPlceRlTime(rt);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("updatePrkPlceRlTime: {}", rt);
|
|
|
+ }
|
|
|
+ try {
|
|
|
+ this.prkPlceDao.updateRlTimeFlr(pis.getPIS_NMBR(), DATA_COLCT_TIME, info.getFlr_info());
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("updateRlTimeFlr: {}", info.getFlr_info());
|
|
|
+ }
|
|
|
+ try {
|
|
|
+ this.prkPlceDao.updateRlTimeAr(pis.getPIS_NMBR(), info.getAr_info());
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("updateRlTimeAr: {}", info.getAr_info());
|
|
|
+ }
|
|
|
+ try {
|
|
|
+ this.prkPlceDao.updateRlTimePrv(pis.getPIS_NMBR(), info.getPrvuse_prkar_info());
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("updateRlTimePrv: {}", info.getPrvuse_prkar_info());
|
|
|
+ }
|
|
|
+ try {
|
|
|
+ this.prkPlceDao.updateRlTimeDev(pis.getPIS_NMBR(), info.getPrk_colct_device_info());
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("updateRlTimeDev: {}", info.getPrk_colct_device_info());
|
|
|
+ }
|
|
|
}
|
|
|
else {
|
|
|
log.error("RL TIME Data NULL...............");
|