| | |
| | | requestLog.setDriverCode(takeReviewDto.getDriverCode()); |
| | | requestLog.setDriverName(takeReviewDto.getDriverName()); |
| | | requestLog.setReqTime(takeReviewDto.getHandleTime()); |
| | | requestLog.setBoxNum(keyCollectionInfo.getBoxNum()); |
| | | requestLog.setType(0); |
| | | logService.insertRequestLog(requestLog); |
| | | |
| | |
| | | @TableField(exist = false) |
| | | private Integer keyTimeout; |
| | | |
| | | @Excel(name = "钥匙柜编号") |
| | | @TableField("box_num") |
| | | private String boxNum; |
| | | } |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.ruoyi.common.constant.HttpStatus; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.cwgl.domain.RequestLog; |
| | |
| | | String dateToStr = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, estimatedDepartureTime); |
| | | return AjaxResult.error("要求出发时间"+ dateToStr+",领取钥匙超时"+keyTimeout+"个小时"); |
| | | } |
| | | return AjaxResult.success("成功",2); |
| | | AjaxResult success = new AjaxResult(0, "成功",2); |
| | | success.put("boxNum",keyCollectionInfo.getBoxNum()); |
| | | return success; |
| | | } |
| | | } |
| | |
| | | driver_m.`NAME` as driverName, |
| | | driver_m.MOBILE as driverMobile, |
| | | vhc.LICENSE_PLATE_NUMBER as licensePlateNumber, |
| | | vhc.NAME as boxNum, |
| | | ord.ORDER_TIME as orderTime, |
| | | ord.CREATED_TIME as orderCreatedTime, |
| | | ts.CREATED_TIME as dispatchCreatedTime, |