| | |
| | | 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.*; |
| | |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | | @Api(value="返工controller",tags={"返工操作接口"}) |
| | | @RequestMapping("/rework") |
| | | public class ReworkController { |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("审核接口") |
| | | @ApiOperation("返工审核接口") |
| | | @PostMapping("/updateRework") |
| | | public Result updateRework( @RequestBody Map<String,Object> object){ |
| | | if(reworkService.updateRework(object)){ |