guoyuji
2024-06-13 23c6db6db89c6021bb44d6cd2511789cd82e73af
north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java
@@ -1,5 +1,6 @@
package com.example.erp.controller.pp;
import cn.dev33.satoken.annotation.SaCheckPermission;
import com.example.erp.common.Constants;
import com.example.erp.common.Result;
import com.example.erp.entity.pp.ProductionScheduling;
@@ -22,6 +23,7 @@
    //查询第一次排版数据
    @ApiOperation("加载时查询排版数据接口")
    @SaCheckPermission("ProductionScheduling.search")
    @PostMapping  ("/selectLastScheduling/{selectTime1}/{selectTime2}/{processes}/{orderId}")
    public Result selectLastScheduling(
            @PathVariable String selectTime1,
@@ -34,20 +36,25 @@
    }
    //点击查询排版数据
    @ApiOperation("点击查询排版数据接口")
    @PostMapping  ("/selectScheduling/{selectTime1}/{selectTime2}/{orderId}/{processes}/{state}")
    @SaCheckPermission("ProductionScheduling.search")
    @PostMapping  ("/selectScheduling/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}/{orderId}/{processes}/{state}")
    public Result selectScheduling(
            @PathVariable Integer pageNum,
            @PathVariable Integer pageSize,
            @PathVariable String selectTime1,
            @PathVariable String selectTime2,
            @PathVariable String orderId,
            @PathVariable String processes,
            @PathVariable Integer state,
            @RequestBody ProductionScheduling productionScheduling){
        return Result.seccess(productionSchedulingService.selectSchedulingSv(selectTime1,selectTime2,orderId,processes,state,productionScheduling));
        return Result.seccess(productionSchedulingService.selectSchedulingSv(pageNum, pageSize,selectTime1,selectTime2,orderId,processes,state,productionScheduling));
    }
    //点击查询排版数据(带订单号查询)
    @ApiOperation("根据条件查询排版数据接口")
    @SaCheckPermission("ProductionScheduling.search")
    @PostMapping  ("/selectSchedulingNot/{selectTime1}/{selectTime2}/{orderId}/{processes}/{state}")
    public Result selectSchedulingNot(
            @PathVariable String selectTime1,
@@ -62,6 +69,7 @@
    //添加排产数据
    @ApiOperation("添加排产数据接口")
    @SaCheckPermission("ProductionScheduling.add")
    @PostMapping("/addScheduling")
    public Result addScheduling( @RequestBody Map<String,Object>  object){
@@ -75,6 +83,7 @@
    //删除排产数据
    @ApiOperation("删除排产数据接口")
    @SaCheckPermission("ProductionScheduling.delete")
    @PostMapping("/deleteScheduling")
    public Result deleteScheduling( @RequestBody Map<String,Object>  object) throws Exception{
@@ -87,6 +96,7 @@
    }
    @ApiOperation("排版审核接口")
    @SaCheckPermission("ProductionScheduling.review")
    @PostMapping("/examineScheduling")
    public Result examineScheduling( @RequestBody Map<String,Object>  object){