|
|
|
@ -45,21 +45,21 @@ import java.util.List;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 控制器 |
|
|
|
|
* 配送装车中间表 控制器 |
|
|
|
|
* |
|
|
|
|
* @author TJJ |
|
|
|
|
* @since 2023-06-16 |
|
|
|
|
*/ |
|
|
|
|
@RestController |
|
|
|
|
@AllArgsConstructor |
|
|
|
|
@RequestMapping("deliveryInfo/distributionDeliveryInfo") |
|
|
|
|
@Api(value = "配送预约中间表", tags = "配送预约中间表接口") |
|
|
|
|
@RequestMapping("/deliveryInfo") |
|
|
|
|
@Api(value = "配送装车中间表", tags = "配送装车中间表接口") |
|
|
|
|
public class DistributionDeliveryInfoController extends BladeController { |
|
|
|
|
|
|
|
|
|
private final IDistributionDeliveryInfoService distributionDeliveryInfoService; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 详情 |
|
|
|
|
* 配送装车中间表 详情 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/detail") |
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ -69,7 +69,7 @@ public class DistributionDeliveryInfoController extends BladeController {
|
|
|
|
|
return R.data(detail); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 分页 |
|
|
|
|
* 配送装车中间表 分页 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/list") |
|
|
|
|
@ApiOperationSupport(order = 2) |
|
|
|
@ -80,7 +80,7 @@ public class DistributionDeliveryInfoController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 自定义分页 |
|
|
|
|
* 配送装车中间表 自定义分页 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/page") |
|
|
|
|
@ApiOperationSupport(order = 3) |
|
|
|
@ -91,7 +91,7 @@ public class DistributionDeliveryInfoController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 新增 |
|
|
|
|
* 配送装车中间表 新增 |
|
|
|
|
*/ |
|
|
|
|
@PostMapping("/save") |
|
|
|
|
@ApiOperationSupport(order = 4) |
|
|
|
@ -101,7 +101,7 @@ public class DistributionDeliveryInfoController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 修改 |
|
|
|
|
* 配送装车中间表 修改 |
|
|
|
|
*/ |
|
|
|
|
@PostMapping("/update") |
|
|
|
|
@ApiOperationSupport(order = 5) |
|
|
|
@ -111,7 +111,7 @@ public class DistributionDeliveryInfoController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 新增或修改 |
|
|
|
|
* 配送装车中间表 新增或修改 |
|
|
|
|
*/ |
|
|
|
|
@PostMapping("/submit") |
|
|
|
|
@ApiOperationSupport(order = 6) |
|
|
|
@ -121,7 +121,7 @@ public class DistributionDeliveryInfoController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 配送预约中间表 删除 |
|
|
|
|
* 配送装车中间表 删除 |
|
|
|
|
*/ |
|
|
|
|
@PostMapping("/remove") |
|
|
|
|
@ApiOperationSupport(order = 7) |
|
|
|
@ -144,7 +144,7 @@ public class DistributionDeliveryInfoController extends BladeController {
|
|
|
|
|
//}
|
|
|
|
|
queryWrapper.lambda().eq(DistributionDeliveryInfoEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
|
|
|
|
List<DistributionDeliveryInfoExcel> list = distributionDeliveryInfoService.exportDistributionDeliveryInfo(queryWrapper); |
|
|
|
|
ExcelUtil.export(response, "配送预约中间表数据" + DateUtil.time(), "配送预约中间表数据表", list, DistributionDeliveryInfoExcel.class); |
|
|
|
|
ExcelUtil.export(response, "配送装车中间表数据" + DateUtil.time(), "配送装车中间表数据表", list, DistributionDeliveryInfoExcel.class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|