guoyuji
2024-05-09 586070afc1c44d646d42971b6eab4bce46f900f2
north-glass-erp/src/main/java/com/example/erp/controller/pp/ReworkController.java
@@ -7,6 +7,7 @@
import com.example.erp.entity.sd.OrderDetail;
import com.example.erp.exception.ServiceException;
import com.example.erp.service.pp.ReworkService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -15,6 +16,7 @@
import java.util.Map;
@RestController
@Api(value="返工controller",tags={"返工操作接口"})
@RequestMapping("/rework")
public class ReworkController {
@@ -50,7 +52,7 @@
        }
    }
    @ApiOperation("审核接口")
    @ApiOperation("返工审核接口")
    @PostMapping("/updateRework")
    public Result updateRework( @RequestBody Map<String,Object> object){
        if(reworkService.updateRework(object)){