|
|
@ -4,6 +4,7 @@ import com.ruoyi.common.core.controller.BaseController;
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
|
|
|
|
import com.ruoyi.tcZz.domain.TcBmtb;
|
|
|
|
import com.ruoyi.tcZz.domain.TcBzhan;
|
|
|
|
import com.ruoyi.tcZz.domain.TcBzhan;
|
|
|
|
import com.ruoyi.tcZz.domain.TcWljg;
|
|
|
|
import com.ruoyi.tcZz.domain.TcWljg;
|
|
|
|
import com.ruoyi.tcZz.service.ITcBzhanService;
|
|
|
|
import com.ruoyi.tcZz.service.ITcBzhanService;
|
|
|
@ -111,4 +112,12 @@ public class TcBzhanController extends BaseController {
|
|
|
|
tcBzhanService.updateByisStatus(isStatus,ids);
|
|
|
|
tcBzhanService.updateByisStatus(isStatus,ids);
|
|
|
|
return AjaxResult.success();
|
|
|
|
return AjaxResult.success();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("通用下载excel模板")
|
|
|
|
|
|
|
|
@PostMapping("/importTemplate")
|
|
|
|
|
|
|
|
public void importTemplate(HttpServletResponse response)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ExcelUtil<TcBzhan> util = new ExcelUtil<TcBzhan>(TcBzhan.class);
|
|
|
|
|
|
|
|
util.importTemplateExcel(response, " B站、小红书");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|