| | |
| | | |
| | | |
| | | import com.yuanchu.mom.pojo.dto.TechnicalModelDto; |
| | | import com.yuanchu.mom.pojo.dto.TechnologyTemplateDto; |
| | | import com.yuanchu.mom.service.TechnicalModelService; |
| | | import com.yuanchu.mom.utils.ServletUtils; |
| | | import com.yuanchu.mom.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.yuanchu.mom.service.TechnicalModelService; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | |
| | | /** |
| | |
| | | return Result.success("批量删除成功!"); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "type", value = "类型", dataTypeClass = String.class, required = true) |
| | | }) |
| | | public void downloadDataValueExcel(String type){ |
| | | HttpServletResponse response = ServletUtils.getResponse(); |
| | | technicalModelService.downloadDataValueExcel(response,type); |
| | | } |
| | | } |
| | | |