|
|
@ -33,8 +33,9 @@ import java.util.List;
|
|
|
|
* @since 2023-09-07 09:43:06
|
|
|
|
* @since 2023-09-07 09:43:06
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|
@RequestMapping("pharmaceuticals/bPlanEnterprise")
|
|
|
|
|
|
|
|
@Api(tags = "计划企业")
|
|
|
|
@Api(tags = "计划企业")
|
|
|
|
|
|
|
|
@RequestMapping("pharmaceuticals/bPlanEnterprise")
|
|
|
|
|
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
public class BPlanEnterpriseController extends BaseController {
|
|
|
|
public class BPlanEnterpriseController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -157,7 +158,7 @@ public class BPlanEnterpriseController extends BaseController {
|
|
|
|
public void export(HttpServletResponse response, checkResultRequest req) {
|
|
|
|
public void export(HttpServletResponse response, checkResultRequest req) {
|
|
|
|
List<BPlanEnterpriseZhifaResponse> list = bPlanEnterpriseMapper.getZhifa(req);
|
|
|
|
List<BPlanEnterpriseZhifaResponse> list = bPlanEnterpriseMapper.getZhifa(req);
|
|
|
|
ExcelUtil<BPlanEnterpriseZhifaResponse> util = new ExcelUtil<BPlanEnterpriseZhifaResponse>(BPlanEnterpriseZhifaResponse.class);
|
|
|
|
ExcelUtil<BPlanEnterpriseZhifaResponse> util = new ExcelUtil<BPlanEnterpriseZhifaResponse>(BPlanEnterpriseZhifaResponse.class);
|
|
|
|
util.exportExcel(list, "导出执法结果");
|
|
|
|
util.exportExcel(response,list, "导出执法结果");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -168,7 +169,7 @@ public class BPlanEnterpriseController extends BaseController {
|
|
|
|
public void exportplan(HttpServletResponse response, BPlanEnterprise bPlanEnterprise) {
|
|
|
|
public void exportplan(HttpServletResponse response, BPlanEnterprise bPlanEnterprise) {
|
|
|
|
List<BPlanEnterpriseResponse> list = bPlanEnterpriseService.selectBPlanEnterpriseList(bPlanEnterprise);
|
|
|
|
List<BPlanEnterpriseResponse> list = bPlanEnterpriseService.selectBPlanEnterpriseList(bPlanEnterprise);
|
|
|
|
ExcelUtil<BPlanEnterpriseResponse> util = new ExcelUtil<BPlanEnterpriseResponse>(BPlanEnterpriseResponse.class);
|
|
|
|
ExcelUtil<BPlanEnterpriseResponse> util = new ExcelUtil<BPlanEnterpriseResponse>(BPlanEnterpriseResponse.class);
|
|
|
|
util.exportExcel(response, list, "计划管理数据");
|
|
|
|
util.exportExcel(response,list, "计划管理数据");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|