| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 应用创新案例表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入gdApplicationInnovation") |
| | | public R save(@Valid @RequestBody GdApplicationInnovationEntity gdApplicationInnovation) { |
| | | return R.status(gdApplicationInnovationService.save(gdApplicationInnovation)); |
| | | } |
| | | // /** |
| | | // * 应用创新案例表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdApplicationInnovation") |
| | | // public R save(@Valid @RequestBody GdApplicationInnovationEntity gdApplicationInnovation) { |
| | | // return R.status(gdApplicationInnovationService.save(gdApplicationInnovation)); |
| | | // } |
| | | |
| | | /** |
| | | * 应用创新案例表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入gdApplicationInnovation") |
| | | public R update(@Valid @RequestBody GdApplicationInnovationEntity gdApplicationInnovation) { |
| | | return R.status(gdApplicationInnovationService.updateById(gdApplicationInnovation)); |
| | | } |
| | | // /** |
| | | // * 应用创新案例表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdApplicationInnovation") |
| | | // public R update(@Valid @RequestBody GdApplicationInnovationEntity gdApplicationInnovation) { |
| | | // return R.status(gdApplicationInnovationService.updateById(gdApplicationInnovation)); |
| | | // } |
| | | |
| | | /** |
| | | * 应用创新案例表 新增或修改 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | @GetMapping("/export-gdApplicationInnovation") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "导出数据", notes = "传入gdApplicationInnovation") |
| | | public void exportGdApplicationInnovation(@ApiIgnore @RequestParam Map<String, Object> gdApplicationInnovation, BladeUser bladeUser, HttpServletResponse response) { |
| | | QueryWrapper<GdApplicationInnovationEntity> queryWrapper = Condition.getQueryWrapper(gdApplicationInnovation, GdApplicationInnovationEntity.class); |
| | | // /** |
| | | // * 导出数据 |
| | | // */ |
| | | // @GetMapping("/export-gdApplicationInnovation") |
| | | // @ApiOperationSupport(order = 9) |
| | | // @ApiOperation(value = "导出数据", notes = "传入gdApplicationInnovation") |
| | | // public void exportGdApplicationInnovation(@ApiIgnore @RequestParam Map<String, Object> gdApplicationInnovation, BladeUser bladeUser, HttpServletResponse response) { |
| | | // QueryWrapper<GdApplicationInnovationEntity> queryWrapper = Condition.getQueryWrapper(gdApplicationInnovation, GdApplicationInnovationEntity.class); |
| | | //if (!AuthUtil.isAdministrator()) { |
| | | // queryWrapper.lambda().eq(GdApplicationInnovation::getTenantId, bladeUser.getTenantId()); |
| | | //} |
| | | queryWrapper.lambda().eq(GdApplicationInnovationEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | List<GdApplicationInnovationExcel> list = gdApplicationInnovationService.exportGdApplicationInnovation(queryWrapper); |
| | | ExcelUtil.export(response, "应用创新案例表数据" + DateUtil.time(), "应用创新案例表数据表", list, GdApplicationInnovationExcel.class); |
| | | } |
| | | // queryWrapper.lambda().eq(GdApplicationInnovationEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | // List<GdApplicationInnovationExcel> list = gdApplicationInnovationService.exportGdApplicationInnovation(queryWrapper); |
| | | // ExcelUtil.export(response, "应用创新案例表数据" + DateUtil.time(), "应用创新案例表数据表", list, GdApplicationInnovationExcel.class); |
| | | // } |
| | | |
| | | } |
| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 数据评价管理表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入gdDataEvaluation") |
| | | public R save(@Valid @RequestBody GdDataEvaluationEntity gdDataEvaluation) { |
| | | return R.status(gdDataEvaluationService.save(gdDataEvaluation)); |
| | | } |
| | | // /** |
| | | // * 数据评价管理表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdDataEvaluation") |
| | | // public R save(@Valid @RequestBody GdDataEvaluationEntity gdDataEvaluation) { |
| | | // return R.status(gdDataEvaluationService.save(gdDataEvaluation)); |
| | | // } |
| | | |
| | | /** |
| | | * 数据评价管理表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入gdDataEvaluation") |
| | | public R update(@Valid @RequestBody GdDataEvaluationEntity gdDataEvaluation) { |
| | | return R.status(gdDataEvaluationService.updateById(gdDataEvaluation)); |
| | | } |
| | | // /** |
| | | // * 数据评价管理表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdDataEvaluation") |
| | | // public R update(@Valid @RequestBody GdDataEvaluationEntity gdDataEvaluation) { |
| | | // return R.status(gdDataEvaluationService.updateById(gdDataEvaluation)); |
| | | // } |
| | | |
| | | /** |
| | | * 数据评价管理表 新增或修改 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | @GetMapping("/export-gdDataEvaluation") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "导出数据", notes = "传入gdDataEvaluation") |
| | | public void exportGdDataEvaluation(@ApiIgnore @RequestParam Map<String, Object> gdDataEvaluation, BladeUser bladeUser, HttpServletResponse response) { |
| | | QueryWrapper<GdDataEvaluationEntity> queryWrapper = Condition.getQueryWrapper(gdDataEvaluation, GdDataEvaluationEntity.class); |
| | | // /** |
| | | // * 导出数据 |
| | | // */ |
| | | // @GetMapping("/export-gdDataEvaluation") |
| | | // @ApiOperationSupport(order = 9) |
| | | // @ApiOperation(value = "导出数据", notes = "传入gdDataEvaluation") |
| | | // public void exportGdDataEvaluation(@ApiIgnore @RequestParam Map<String, Object> gdDataEvaluation, BladeUser bladeUser, HttpServletResponse response) { |
| | | // QueryWrapper<GdDataEvaluationEntity> queryWrapper = Condition.getQueryWrapper(gdDataEvaluation, GdDataEvaluationEntity.class); |
| | | //if (!AuthUtil.isAdministrator()) { |
| | | // queryWrapper.lambda().eq(GdDataEvaluation::getTenantId, bladeUser.getTenantId()); |
| | | //} |
| | | queryWrapper.lambda().eq(GdDataEvaluationEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | List<GdDataEvaluationExcel> list = gdDataEvaluationService.exportGdDataEvaluation(queryWrapper); |
| | | ExcelUtil.export(response, "数据评价管理表数据" + DateUtil.time(), "数据评价管理表数据表", list, GdDataEvaluationExcel.class); |
| | | } |
| | | // queryWrapper.lambda().eq(GdDataEvaluationEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | // List<GdDataEvaluationExcel> list = gdDataEvaluationService.exportGdDataEvaluation(queryWrapper); |
| | | // ExcelUtil.export(response, "数据评价管理表数据" + DateUtil.time(), "数据评价管理表数据表", list, GdDataEvaluationExcel.class); |
| | | // } |
| | | |
| | | } |
| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 数据异议申请附件表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入gdDataObjectionAttachment") |
| | | public R save(@Valid @RequestBody GdDataObjectionAttachmentEntity gdDataObjectionAttachment) { |
| | | return R.status(gdDataObjectionAttachmentService.save(gdDataObjectionAttachment)); |
| | | } |
| | | // /** |
| | | // * 数据异议申请附件表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdDataObjectionAttachment") |
| | | // public R save(@Valid @RequestBody GdDataObjectionAttachmentEntity gdDataObjectionAttachment) { |
| | | // return R.status(gdDataObjectionAttachmentService.save(gdDataObjectionAttachment)); |
| | | // } |
| | | |
| | | /** |
| | | * 数据异议申请附件表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入gdDataObjectionAttachment") |
| | | public R update(@Valid @RequestBody GdDataObjectionAttachmentEntity gdDataObjectionAttachment) { |
| | | return R.status(gdDataObjectionAttachmentService.updateById(gdDataObjectionAttachment)); |
| | | } |
| | | // /** |
| | | // * 数据异议申请附件表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdDataObjectionAttachment") |
| | | // public R update(@Valid @RequestBody GdDataObjectionAttachmentEntity gdDataObjectionAttachment) { |
| | | // return R.status(gdDataObjectionAttachmentService.updateById(gdDataObjectionAttachment)); |
| | | // } |
| | | |
| | | /** |
| | | * 数据异议申请附件表 新增或修改 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | @GetMapping("/export-gdDataObjectionAttachment") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "导出数据", notes = "传入gdDataObjectionAttachment") |
| | | public void exportGdDataObjectionAttachment(@ApiIgnore @RequestParam Map<String, Object> gdDataObjectionAttachment, BladeUser bladeUser, HttpServletResponse response) { |
| | | QueryWrapper<GdDataObjectionAttachmentEntity> queryWrapper = Condition.getQueryWrapper(gdDataObjectionAttachment, GdDataObjectionAttachmentEntity.class); |
| | | // /** |
| | | // * 导出数据 |
| | | // */ |
| | | // @GetMapping("/export-gdDataObjectionAttachment") |
| | | // @ApiOperationSupport(order = 9) |
| | | // @ApiOperation(value = "导出数据", notes = "传入gdDataObjectionAttachment") |
| | | // public void exportGdDataObjectionAttachment(@ApiIgnore @RequestParam Map<String, Object> gdDataObjectionAttachment, BladeUser bladeUser, HttpServletResponse response) { |
| | | // QueryWrapper<GdDataObjectionAttachmentEntity> queryWrapper = Condition.getQueryWrapper(gdDataObjectionAttachment, GdDataObjectionAttachmentEntity.class); |
| | | //if (!AuthUtil.isAdministrator()) { |
| | | // queryWrapper.lambda().eq(GdDataObjectionAttachment::getTenantId, bladeUser.getTenantId()); |
| | | //} |
| | | queryWrapper.lambda().eq(GdDataObjectionAttachmentEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | List<GdDataObjectionAttachmentExcel> list = gdDataObjectionAttachmentService.exportGdDataObjectionAttachment(queryWrapper); |
| | | ExcelUtil.export(response, "数据异议申请附件表数据" + DateUtil.time(), "数据异议申请附件表数据表", list, GdDataObjectionAttachmentExcel.class); |
| | | } |
| | | // queryWrapper.lambda().eq(GdDataObjectionAttachmentEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | // List<GdDataObjectionAttachmentExcel> list = gdDataObjectionAttachmentService.exportGdDataObjectionAttachment(queryWrapper); |
| | | // ExcelUtil.export(response, "数据异议申请附件表数据" + DateUtil.time(), "数据异议申请附件表数据表", list, GdDataObjectionAttachmentExcel.class); |
| | | // } |
| | | |
| | | } |
| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 数据异议申请表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入gdDataObjection") |
| | | public R save(@Valid @RequestBody GdDataObjectionEntity gdDataObjection) { |
| | | return R.status(gdDataObjectionService.save(gdDataObjection)); |
| | | } |
| | | // /** |
| | | // * 数据异议申请表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdDataObjection") |
| | | // public R save(@Valid @RequestBody GdDataObjectionEntity gdDataObjection) { |
| | | // return R.status(gdDataObjectionService.save(gdDataObjection)); |
| | | // } |
| | | |
| | | /** |
| | | * 数据异议申请表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入gdDataObjection") |
| | | public R update(@Valid @RequestBody GdDataObjectionEntity gdDataObjection) { |
| | | return R.status(gdDataObjectionService.updateById(gdDataObjection)); |
| | | } |
| | | // /** |
| | | // * 数据异议申请表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdDataObjection") |
| | | // public R update(@Valid @RequestBody GdDataObjectionEntity gdDataObjection) { |
| | | // return R.status(gdDataObjectionService.updateById(gdDataObjection)); |
| | | // } |
| | | |
| | | /** |
| | | * 数据异议申请表 新增或修改 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | @GetMapping("/export-gdDataObjection") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "导出数据", notes = "传入gdDataObjection") |
| | | public void exportGdDataObjection(@ApiIgnore @RequestParam Map<String, Object> gdDataObjection, BladeUser bladeUser, HttpServletResponse response) { |
| | | QueryWrapper<GdDataObjectionEntity> queryWrapper = Condition.getQueryWrapper(gdDataObjection, GdDataObjectionEntity.class); |
| | | // /** |
| | | // * 导出数据 |
| | | // */ |
| | | // @GetMapping("/export-gdDataObjection") |
| | | // @ApiOperationSupport(order = 9) |
| | | // @ApiOperation(value = "导出数据", notes = "传入gdDataObjection") |
| | | // public void exportGdDataObjection(@ApiIgnore @RequestParam Map<String, Object> gdDataObjection, BladeUser bladeUser, HttpServletResponse response) { |
| | | // QueryWrapper<GdDataObjectionEntity> queryWrapper = Condition.getQueryWrapper(gdDataObjection, GdDataObjectionEntity.class); |
| | | //if (!AuthUtil.isAdministrator()) { |
| | | // queryWrapper.lambda().eq(GdDataObjection::getTenantId, bladeUser.getTenantId()); |
| | | //} |
| | | queryWrapper.lambda().eq(GdDataObjectionEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | List<GdDataObjectionExcel> list = gdDataObjectionService.exportGdDataObjection(queryWrapper); |
| | | ExcelUtil.export(response, "数据异议申请表数据" + DateUtil.time(), "数据异议申请表数据表", list, GdDataObjectionExcel.class); |
| | | } |
| | | // queryWrapper.lambda().eq(GdDataObjectionEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | // List<GdDataObjectionExcel> list = gdDataObjectionService.exportGdDataObjection(queryWrapper); |
| | | // ExcelUtil.export(response, "数据异议申请表数据" + DateUtil.time(), "数据异议申请表数据表", list, GdDataObjectionExcel.class); |
| | | // } |
| | | |
| | | } |
| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 供需需求审核附件表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入gdSupplyDemandAuditAttachment") |
| | | public R save(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) { |
| | | return R.status(gdSupplyDemandAuditAttachmentService.save(gdSupplyDemandAuditAttachment)); |
| | | } |
| | | // /** |
| | | // * 供需需求审核附件表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdSupplyDemandAuditAttachment") |
| | | // public R save(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) { |
| | | // return R.status(gdSupplyDemandAuditAttachmentService.save(gdSupplyDemandAuditAttachment)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求审核附件表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入gdSupplyDemandAuditAttachment") |
| | | public R update(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) { |
| | | return R.status(gdSupplyDemandAuditAttachmentService.updateById(gdSupplyDemandAuditAttachment)); |
| | | } |
| | | // /** |
| | | // * 供需需求审核附件表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdSupplyDemandAuditAttachment") |
| | | // public R update(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) { |
| | | // return R.status(gdSupplyDemandAuditAttachmentService.updateById(gdSupplyDemandAuditAttachment)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求审核附件表 新增或修改 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | @GetMapping("/export-gdSupplyDemandAuditAttachment") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemandAuditAttachment") |
| | | public void exportGdSupplyDemandAuditAttachment(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAuditAttachment, BladeUser bladeUser, HttpServletResponse response) { |
| | | QueryWrapper<GdSupplyDemandAuditAttachmentEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemandAuditAttachment, GdSupplyDemandAuditAttachmentEntity.class); |
| | | // /** |
| | | // * 导出数据 |
| | | // */ |
| | | // @GetMapping("/export-gdSupplyDemandAuditAttachment") |
| | | // @ApiOperationSupport(order = 9) |
| | | // @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemandAuditAttachment") |
| | | // public void exportGdSupplyDemandAuditAttachment(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAuditAttachment, BladeUser bladeUser, HttpServletResponse response) { |
| | | // QueryWrapper<GdSupplyDemandAuditAttachmentEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemandAuditAttachment, GdSupplyDemandAuditAttachmentEntity.class); |
| | | //if (!AuthUtil.isAdministrator()) { |
| | | // queryWrapper.lambda().eq(GdSupplyDemandAuditAttachment::getTenantId, bladeUser.getTenantId()); |
| | | //} |
| | | queryWrapper.lambda().eq(GdSupplyDemandAuditAttachmentEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | List<GdSupplyDemandAuditAttachmentExcel> list = gdSupplyDemandAuditAttachmentService.exportGdSupplyDemandAuditAttachment(queryWrapper); |
| | | ExcelUtil.export(response, "供需需求审核附件表数据" + DateUtil.time(), "供需需求审核附件表数据表", list, GdSupplyDemandAuditAttachmentExcel.class); |
| | | } |
| | | // queryWrapper.lambda().eq(GdSupplyDemandAuditAttachmentEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | // List<GdSupplyDemandAuditAttachmentExcel> list = gdSupplyDemandAuditAttachmentService.exportGdSupplyDemandAuditAttachment(queryWrapper); |
| | | // ExcelUtil.export(response, "供需需求审核附件表数据" + DateUtil.time(), "供需需求审核附件表数据表", list, GdSupplyDemandAuditAttachmentExcel.class); |
| | | // } |
| | | |
| | | } |
| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 供需需求审核记录表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入gdSupplyDemandAudit") |
| | | public R save(@Valid @RequestBody GdSupplyDemandAuditEntity gdSupplyDemandAudit) { |
| | | return R.status(gdSupplyDemandAuditService.save(gdSupplyDemandAudit)); |
| | | } |
| | | // /** |
| | | // * 供需需求审核记录表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdSupplyDemandAudit") |
| | | // public R save(@Valid @RequestBody GdSupplyDemandAuditEntity gdSupplyDemandAudit) { |
| | | // return R.status(gdSupplyDemandAuditService.save(gdSupplyDemandAudit)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求审核记录表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入gdSupplyDemandAudit") |
| | | public R update(@Valid @RequestBody GdSupplyDemandAuditEntity gdSupplyDemandAudit) { |
| | | return R.status(gdSupplyDemandAuditService.updateById(gdSupplyDemandAudit)); |
| | | } |
| | | // /** |
| | | // * 供需需求审核记录表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdSupplyDemandAudit") |
| | | // public R update(@Valid @RequestBody GdSupplyDemandAuditEntity gdSupplyDemandAudit) { |
| | | // return R.status(gdSupplyDemandAuditService.updateById(gdSupplyDemandAudit)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求审核记录表 新增或修改 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | @GetMapping("/export-gdSupplyDemandAudit") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemandAudit") |
| | | public void exportGdSupplyDemandAudit(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAudit, BladeUser bladeUser, HttpServletResponse response) { |
| | | QueryWrapper<GdSupplyDemandAuditEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemandAudit, GdSupplyDemandAuditEntity.class); |
| | | // /** |
| | | // * 导出数据 |
| | | // */ |
| | | // @GetMapping("/export-gdSupplyDemandAudit") |
| | | // @ApiOperationSupport(order = 9) |
| | | // @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemandAudit") |
| | | // public void exportGdSupplyDemandAudit(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAudit, BladeUser bladeUser, HttpServletResponse response) { |
| | | // QueryWrapper<GdSupplyDemandAuditEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemandAudit, GdSupplyDemandAuditEntity.class); |
| | | //if (!AuthUtil.isAdministrator()) { |
| | | // queryWrapper.lambda().eq(GdSupplyDemandAudit::getTenantId, bladeUser.getTenantId()); |
| | | //} |
| | | queryWrapper.lambda().eq(GdSupplyDemandAuditEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | List<GdSupplyDemandAuditExcel> list = gdSupplyDemandAuditService.exportGdSupplyDemandAudit(queryWrapper); |
| | | ExcelUtil.export(response, "供需需求审核记录表数据" + DateUtil.time(), "供需需求审核记录表数据表", list, GdSupplyDemandAuditExcel.class); |
| | | } |
| | | // queryWrapper.lambda().eq(GdSupplyDemandAuditEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | // List<GdSupplyDemandAuditExcel> list = gdSupplyDemandAuditService.exportGdSupplyDemandAudit(queryWrapper); |
| | | // ExcelUtil.export(response, "供需需求审核记录表数据" + DateUtil.time(), "供需需求审核记录表数据表", list, GdSupplyDemandAuditExcel.class); |
| | | // } |
| | | |
| | | } |
| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 供需需求信息表 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入gdSupplyDemand") |
| | | public R save(@Valid @RequestBody GdSupplyDemandEntity gdSupplyDemand) { |
| | | return R.status(gdSupplyDemandService.save(gdSupplyDemand)); |
| | | } |
| | | // /** |
| | | // * 供需需求信息表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdSupplyDemand") |
| | | // public R save(@Valid @RequestBody GdSupplyDemandEntity gdSupplyDemand) { |
| | | // return R.status(gdSupplyDemandService.save(gdSupplyDemand)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求信息表 修改 |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入gdSupplyDemand") |
| | | public R update(@Valid @RequestBody GdSupplyDemandEntity gdSupplyDemand) { |
| | | return R.status(gdSupplyDemandService.updateById(gdSupplyDemand)); |
| | | } |
| | | // /** |
| | | // * 供需需求信息表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdSupplyDemand") |
| | | // public R update(@Valid @RequestBody GdSupplyDemandEntity gdSupplyDemand) { |
| | | // return R.status(gdSupplyDemandService.updateById(gdSupplyDemand)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求信息表 新增或修改 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | @GetMapping("/export-gdSupplyDemand") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemand") |
| | | public void exportGdSupplyDemand(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemand, BladeUser bladeUser, HttpServletResponse response) { |
| | | QueryWrapper<GdSupplyDemandEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemand, GdSupplyDemandEntity.class); |
| | | // /** |
| | | // * 导出数据 |
| | | // */ |
| | | // @GetMapping("/export-gdSupplyDemand") |
| | | // @ApiOperationSupport(order = 9) |
| | | // @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemand") |
| | | // public void exportGdSupplyDemand(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemand, BladeUser bladeUser, HttpServletResponse response) { |
| | | // QueryWrapper<GdSupplyDemandEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemand, GdSupplyDemandEntity.class); |
| | | //if (!AuthUtil.isAdministrator()) { |
| | | // queryWrapper.lambda().eq(GdSupplyDemand::getTenantId, bladeUser.getTenantId()); |
| | | //} |
| | | queryWrapper.lambda().eq(GdSupplyDemandEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | List<GdSupplyDemandExcel> list = gdSupplyDemandService.exportGdSupplyDemand(queryWrapper); |
| | | ExcelUtil.export(response, "供需需求信息表数据" + DateUtil.time(), "供需需求信息表数据表", list, GdSupplyDemandExcel.class); |
| | | } |
| | | // queryWrapper.lambda().eq(GdSupplyDemandEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED); |
| | | // List<GdSupplyDemandExcel> list = gdSupplyDemandService.exportGdSupplyDemand(queryWrapper); |
| | | // ExcelUtil.export(response, "供需需求信息表数据" + DateUtil.time(), "供需需求信息表数据表", list, GdSupplyDemandExcel.class); |
| | | // } |
| | | |
| | | } |