|
|
|
@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
|
import com.ruoyi.common.enums.BusinessType;
|
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
|
import com.ruoyi.tcZz.domain.TcAqg;
|
|
|
|
|
import com.ruoyi.tcZz.domain.TcSdtb;
|
|
|
|
|
import com.ruoyi.tcZz.domain.TcSgjipTop5;
|
|
|
|
|
import com.ruoyi.tcZz.service.ITcSgjipTop5Service;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
@ -114,4 +115,12 @@ public class TcSgjipTop5Controller extends BaseController {
|
|
|
|
|
tcSgjipTop5Service.updateByisStatus(isStatus,ids);
|
|
|
|
|
return AjaxResult.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation("通用下载excel模板")
|
|
|
|
|
@PostMapping("/importTemplate")
|
|
|
|
|
public void importTemplate(HttpServletResponse response)
|
|
|
|
|
{
|
|
|
|
|
ExcelUtil<TcSgjipTop5> util = new ExcelUtil<TcSgjipTop5>(TcSgjipTop5.class);
|
|
|
|
|
util.importTemplateExcel(response, " 受攻击IPTOP5");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|