guoyuji
2024-05-09 586070afc1c44d646d42971b6eab4bce46f900f2
north-glass-erp/src/main/java/com/example/erp/controller/pp/ReplenishController.java
@@ -7,6 +7,7 @@
import com.example.erp.exception.ServiceException;
import com.example.erp.service.pp.ReplenishService;
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("/Replenish")
public class ReplenishController {
@@ -45,12 +47,12 @@
            return Result.seccess();
        }else {
            throw new ServiceException(Constants.Code_500,"返工失败");
            throw new ServiceException(Constants.Code_500,"补片失败");
        }
    }
    @ApiOperation("订单调拨接口")
    @ApiOperation("补片审核接口")
    @PostMapping("/updateReplenish")
    public Result updateReplenish( @RequestBody Map<String,Object> object){
        if(replenishService.updateReplenish(object)){