| | |
| | | import com.vincent.rsf.server.manager.entity.QlyIsptItem; |
| | | import com.vincent.rsf.server.manager.service.QlyIsptItemService; |
| | | import com.vincent.rsf.server.system.controller.BaseController; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.*; |
| | | |
| | | @Api(tags = "质检明细") |
| | | @RestController |
| | | public class QlyIsptItemController extends BaseController { |
| | | |
| | |
| | | } |
| | | |
| | | @PreAuthorize("hasAuthority('manager:qlyIsptItem:update')") |
| | | @ApiOperation("批量修改") |
| | | @ApiOperation("快速质检") |
| | | @PostMapping("/qlyIsptItem/batch/update") |
| | | public R batchUpdate(@RequestBody IsptItemsParams params) { |
| | | if (Objects.isNull(params)) { |