| @@ -170,11 +170,11 @@ public class WxCarCallBackController extends BaseController { | |||||
| record.setRemainingDays(remainingDays); | record.setRemainingDays(remainingDays); | ||||
| record.setPhone(phoneStrs); | record.setPhone(phoneStrs); | ||||
| record.setTenantId(park.getTenantId()); | record.setTenantId(park.getTenantId()); | ||||
| wxCarPayRecordService.saveOrUpdate(record); | |||||
| wxCarPayRecordService.updateBySynId(record); | |||||
| } catch (Exception e) { | } catch (Exception e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| logger.error("WxCarPayRecord: 入库错误 ",e); | logger.error("WxCarPayRecord: 入库错误 ",e); | ||||
| logger.error("WxCarPayRecord: 入库错误 " + paramMap.toString()); | |||||
| logger.error("WxCarPayRecord: 入库错误 "+e.getMessage()+"," + paramMap.toString()); | |||||
| return true; | return true; | ||||
| } | } | ||||
| return false; | return false; | ||||
| @@ -254,7 +254,7 @@ public class WxCarCallBackController extends BaseController { | |||||
| } catch (Exception e) { | } catch (Exception e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| logger.error("WxCarPayRecord: 出场更新错误 " , e); | logger.error("WxCarPayRecord: 出场更新错误 " , e); | ||||
| logger.error("WxCarPayRecord: 出场更新错误 " + paramMap.toString()); | |||||
| logger.error("WxCarPayRecord: 出场更新错误 " +e.getMessage()+", " +paramMap.toString()); | |||||
| return true; | return true; | ||||
| } | } | ||||
| return false; | return false; | ||||
| @@ -364,7 +364,8 @@ public class WxCarCallBackController extends BaseController { | |||||
| record.setFee(fee); | record.setFee(fee); | ||||
| wxCarPayRecordService.updateBySynId(record); | wxCarPayRecordService.updateBySynId(record); | ||||
| } catch (Exception e) { | } catch (Exception e) { | ||||
| logger.error("WxCarPayRecord: 缴费更新错误 " + paramMap.toString()); | |||||
| logger.error("WxCarPayRecord: 缴费更新错误 " ,e); | |||||
| logger.error("WxCarPayRecord: 缴费更新错误 " +e.getMessage()+", "+ paramMap.toString()); | |||||
| //return new Result(ErrorCode.DB_FAIL.getCode(), "入库错误" + paramMap.toString()); | //return new Result(ErrorCode.DB_FAIL.getCode(), "入库错误" + paramMap.toString()); | ||||
| } | } | ||||