|
|
@@ -127,9 +127,9 @@ public class TblDzbcPathSchedulingController extends BaseController {
|
|
|
* @param toareaId
|
|
|
* @return
|
|
|
*/
|
|
|
- @Log(title = "定制班车-路线排班", businessType = BusinessType.DELETE)
|
|
|
+ @Log(title = "定制班车-路线排班余票", businessType = BusinessType.FORCE)
|
|
|
@GetMapping("/getCarTickets")
|
|
|
- public R<Object> getCarTickets(@RequestParam(required = true) String searchDate,@RequestParam(required = true) Long fromareaId,@RequestParam(required = true) Long toareaId,@RequestParam(required = false) Long fromsiteId,@RequestParam(required = false) Long tositeId) {
|
|
|
+ public R<Object> getCarTickets(@RequestParam(required = true) String searchDate,@RequestParam(required = true) Long fromareaId,@RequestParam(required = true) Long toareaId) {
|
|
|
//优先从缓存中获取车量信息 缓存没有则初始化缓存
|
|
|
Date date = new Date();
|
|
|
try{
|
|
|
@@ -219,6 +219,7 @@ public class TblDzbcPathSchedulingController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/getPrice")
|
|
|
+ @Log(title = "定制班车-路线排班票价", businessType = BusinessType.FORCE)
|
|
|
public R<Object> getCarTickets(@RequestParam(required = true) Long schedulingId,@RequestParam(required = false) Long fromsiteId,@RequestParam(required = false) Long tositeId){
|
|
|
TblDzbcPathSchedulingVo tblDzbcPathSchedulingVo = tblDzbcPathSchedulingService.queryById(schedulingId);
|
|
|
if(tblDzbcPathSchedulingVo==null) return R.fail("排班信息不存在");
|