Commit aa5372e6 by xty

250515-2

parent 85e03274

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.AchievementSearch;
import com.ruoyi.system.service.IAchievementSearchService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 成果查询Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/achievementSearch")
public class AchievementSearchController extends BaseController
{
@Autowired
private IAchievementSearchService achievementSearchService;
/**
* 查询成果查询列表
*/
@GetMapping("/list")
public TableDataInfo list(AchievementSearch achievementSearch)
{
startPage();
List<AchievementSearch> list = achievementSearchService.selectAchievementSearchList(achievementSearch);
return getDataTable(list);
}
/**
* 导出成果查询列表
*/
@PreAuthorize("@ss.hasPermi('system:achievementSearch:export')")
@Log(title = "成果查询", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, AchievementSearch achievementSearch)
{
List<AchievementSearch> list = achievementSearchService.selectAchievementSearchList(achievementSearch);
ExcelUtil<AchievementSearch> util = new ExcelUtil<AchievementSearch>(AchievementSearch.class);
util.exportExcel(response, list, "成果查询数据");
}
/**
* 获取成果查询详细信息
*/
@PreAuthorize("@ss.hasPermi('system:achievementSearch:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(achievementSearchService.selectAchievementSearchById(id));
}
/**
* 新增成果查询
*/
@PreAuthorize("@ss.hasPermi('system:achievementSearch:add')")
@Log(title = "成果查询", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody AchievementSearch achievementSearch)
{
return toAjax(achievementSearchService.insertAchievementSearch(achievementSearch));
}
/**
* 修改成果查询
*/
@PreAuthorize("@ss.hasPermi('system:achievementSearch:edit')")
@Log(title = "成果查询", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody AchievementSearch achievementSearch)
{
return toAjax(achievementSearchService.updateAchievementSearch(achievementSearch));
}
/**
* 删除成果查询
*/
@PreAuthorize("@ss.hasPermi('system:achievementSearch:remove')")
@Log(title = "成果查询", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(achievementSearchService.deleteAchievementSearchByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.AchievementSearchFile;
import com.ruoyi.system.service.IAchievementSearchFileService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 成果文件Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/file")
public class AchievementSearchFileController extends BaseController
{
@Autowired
private IAchievementSearchFileService achievementSearchFileService;
/**
* 查询成果文件列表
*/
@GetMapping("/list")
public TableDataInfo list(AchievementSearchFile achievementSearchFile)
{
startPage();
List<AchievementSearchFile> list = achievementSearchFileService.selectAchievementSearchFileList(achievementSearchFile);
return getDataTable(list);
}
/**
* 导出成果文件列表
*/
@PreAuthorize("@ss.hasPermi('system:file:export')")
@Log(title = "成果文件", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, AchievementSearchFile achievementSearchFile)
{
List<AchievementSearchFile> list = achievementSearchFileService.selectAchievementSearchFileList(achievementSearchFile);
ExcelUtil<AchievementSearchFile> util = new ExcelUtil<AchievementSearchFile>(AchievementSearchFile.class);
util.exportExcel(response, list, "成果文件数据");
}
/**
* 获取成果文件详细信息
*/
@PreAuthorize("@ss.hasPermi('system:file:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(achievementSearchFileService.selectAchievementSearchFileById(id));
}
/**
* 新增成果文件
*/
@PreAuthorize("@ss.hasPermi('system:file:add')")
@Log(title = "成果文件", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody AchievementSearchFile achievementSearchFile)
{
return toAjax(achievementSearchFileService.insertAchievementSearchFile(achievementSearchFile));
}
/**
* 修改成果文件
*/
@PreAuthorize("@ss.hasPermi('system:file:edit')")
@Log(title = "成果文件", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody AchievementSearchFile achievementSearchFile)
{
return toAjax(achievementSearchFileService.updateAchievementSearchFile(achievementSearchFile));
}
/**
* 删除成果文件
*/
@PreAuthorize("@ss.hasPermi('system:file:remove')")
@Log(title = "成果文件", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(achievementSearchFileService.deleteAchievementSearchFileByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.AchievementType;
import com.ruoyi.system.service.IAchievementTypeService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 成果类别Controller
*
* @author ruoyi
* @date 2025-01-16
*/
@RestController
@RequestMapping("/api/scientific/type")
public class AchievementTypeController extends BaseController
{
@Autowired
private IAchievementTypeService achievementTypeService;
/**
* 查询成果类别列表
*/
@GetMapping("/list")
public TableDataInfo list(AchievementType achievementType)
{
startPage();
List<AchievementType> list = achievementTypeService.selectAchievementTypeList(achievementType);
return getDataTable(list);
}
/**
* 导出成果类别列表
*/
@Log(title = "成果类别", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, AchievementType achievementType)
{
List<AchievementType> list = achievementTypeService.selectAchievementTypeList(achievementType);
ExcelUtil<AchievementType> util = new ExcelUtil<AchievementType>(AchievementType.class);
util.exportExcel(response, list, "成果类别数据");
}
/**
* 获取成果类别详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(achievementTypeService.selectAchievementTypeById(id));
}
/**
* 新增成果类别
*/
@Log(title = "成果类别", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody AchievementType achievementType)
{
return toAjax(achievementTypeService.insertAchievementType(achievementType));
}
/**
* 修改成果类别
*/
@Log(title = "成果类别", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody AchievementType achievementType)
{
return toAjax(achievementTypeService.updateAchievementType(achievementType));
}
/**
* 删除成果类别
*/
@Log(title = "成果类别", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(achievementTypeService.deleteAchievementTypeByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProjectBenefit;
import com.ruoyi.system.service.IApplyprizesProjectBenefitService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经济、社会效益情况Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/benefit")
public class ApplyprizesProjectBenefitController extends BaseController
{
@Autowired
private IApplyprizesProjectBenefitService applyprizesProjectBenefitService;
/**
* 查询经济、社会效益情况列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProjectBenefit applyprizesProjectBenefit)
{
startPage();
List<ApplyprizesProjectBenefit> list = applyprizesProjectBenefitService.selectApplyprizesProjectBenefitList(applyprizesProjectBenefit);
return getDataTable(list);
}
/**
* 导出经济、社会效益情况列表
*/
@PreAuthorize("@ss.hasPermi('system:benefit:export')")
@Log(title = "经济、社会效益情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ApplyprizesProjectBenefit applyprizesProjectBenefit)
{
List<ApplyprizesProjectBenefit> list = applyprizesProjectBenefitService.selectApplyprizesProjectBenefitList(applyprizesProjectBenefit);
ExcelUtil<ApplyprizesProjectBenefit> util = new ExcelUtil<ApplyprizesProjectBenefit>(ApplyprizesProjectBenefit.class);
util.exportExcel(response, list, "经济、社会效益情况数据");
}
/**
* 获取经济、社会效益情况详细信息
*/
@PreAuthorize("@ss.hasPermi('system:benefit:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectBenefitService.selectApplyprizesProjectBenefitById(id));
}
/**
* 新增经济、社会效益情况
*/
@PreAuthorize("@ss.hasPermi('system:benefit:add')")
@Log(title = "经济、社会效益情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProjectBenefit applyprizesProjectBenefit)
{
return toAjax(applyprizesProjectBenefitService.insertApplyprizesProjectBenefit(applyprizesProjectBenefit));
}
/**
* 修改经济、社会效益情况
*/
@PreAuthorize("@ss.hasPermi('system:benefit:edit')")
@Log(title = "经济、社会效益情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProjectBenefit applyprizesProjectBenefit)
{
return toAjax(applyprizesProjectBenefitService.updateApplyprizesProjectBenefit(applyprizesProjectBenefit));
}
/**
* 删除经济、社会效益情况
*/
@PreAuthorize("@ss.hasPermi('system:benefit:remove')")
@Log(title = "经济、社会效益情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectBenefitService.deleteApplyprizesProjectBenefitByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProjectCompletedept;
import com.ruoyi.system.service.IApplyprizesProjectCompletedeptService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 主要完成单位Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/completedept")
public class ApplyprizesProjectCompletedeptController extends BaseController
{
@Autowired
private IApplyprizesProjectCompletedeptService applyprizesProjectCompletedeptService;
/**
* 查询主要完成单位列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProjectCompletedept applyprizesProjectCompletedept)
{
startPage();
List<ApplyprizesProjectCompletedept> list = applyprizesProjectCompletedeptService.selectApplyprizesProjectCompletedeptList(applyprizesProjectCompletedept);
return getDataTable(list);
}
/**
* 导出主要完成单位列表
*/
@PreAuthorize("@ss.hasPermi('system:completedept:export')")
@Log(title = "主要完成单位", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ApplyprizesProjectCompletedept applyprizesProjectCompletedept)
{
List<ApplyprizesProjectCompletedept> list = applyprizesProjectCompletedeptService.selectApplyprizesProjectCompletedeptList(applyprizesProjectCompletedept);
ExcelUtil<ApplyprizesProjectCompletedept> util = new ExcelUtil<ApplyprizesProjectCompletedept>(ApplyprizesProjectCompletedept.class);
util.exportExcel(response, list, "主要完成单位数据");
}
/**
* 获取主要完成单位详细信息
*/
@PreAuthorize("@ss.hasPermi('system:completedept:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectCompletedeptService.selectApplyprizesProjectCompletedeptById(id));
}
/**
* 新增主要完成单位
*/
@PreAuthorize("@ss.hasPermi('system:completedept:add')")
@Log(title = "主要完成单位", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProjectCompletedept applyprizesProjectCompletedept)
{
return toAjax(applyprizesProjectCompletedeptService.insertApplyprizesProjectCompletedept(applyprizesProjectCompletedept));
}
/**
* 修改主要完成单位
*/
@PreAuthorize("@ss.hasPermi('system:completedept:edit')")
@Log(title = "主要完成单位", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProjectCompletedept applyprizesProjectCompletedept)
{
return toAjax(applyprizesProjectCompletedeptService.updateApplyprizesProjectCompletedept(applyprizesProjectCompletedept));
}
/**
* 删除主要完成单位
*/
@PreAuthorize("@ss.hasPermi('system:completedept:remove')")
@Log(title = "主要完成单位", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectCompletedeptService.deleteApplyprizesProjectCompletedeptByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProjectCompletepeople;
import com.ruoyi.system.service.IApplyprizesProjectCompletepeopleService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 主要完成人情况Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/completepeople")
public class ApplyprizesProjectCompletepeopleController extends BaseController
{
@Autowired
private IApplyprizesProjectCompletepeopleService applyprizesProjectCompletepeopleService;
/**
* 查询主要完成人情况列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProjectCompletepeople applyprizesProjectCompletepeople)
{
startPage();
List<ApplyprizesProjectCompletepeople> list = applyprizesProjectCompletepeopleService.selectApplyprizesProjectCompletepeopleList(applyprizesProjectCompletepeople);
return getDataTable(list);
}
/**
* 导出主要完成人情况列表
*/
@PreAuthorize("@ss.hasPermi('system:completepeople:export')")
@Log(title = "主要完成人情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ApplyprizesProjectCompletepeople applyprizesProjectCompletepeople)
{
List<ApplyprizesProjectCompletepeople> list = applyprizesProjectCompletepeopleService.selectApplyprizesProjectCompletepeopleList(applyprizesProjectCompletepeople);
ExcelUtil<ApplyprizesProjectCompletepeople> util = new ExcelUtil<ApplyprizesProjectCompletepeople>(ApplyprizesProjectCompletepeople.class);
util.exportExcel(response, list, "主要完成人情况数据");
}
/**
* 获取主要完成人情况详细信息
*/
@PreAuthorize("@ss.hasPermi('system:completepeople:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectCompletepeopleService.selectApplyprizesProjectCompletepeopleById(id));
}
/**
* 新增主要完成人情况
*/
@PreAuthorize("@ss.hasPermi('system:completepeople:add')")
@Log(title = "主要完成人情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProjectCompletepeople applyprizesProjectCompletepeople)
{
return toAjax(applyprizesProjectCompletepeopleService.insertApplyprizesProjectCompletepeople(applyprizesProjectCompletepeople));
}
/**
* 修改主要完成人情况
*/
@PreAuthorize("@ss.hasPermi('system:completepeople:edit')")
@Log(title = "主要完成人情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProjectCompletepeople applyprizesProjectCompletepeople)
{
return toAjax(applyprizesProjectCompletepeopleService.updateApplyprizesProjectCompletepeople(applyprizesProjectCompletepeople));
}
/**
* 删除主要完成人情况
*/
@PreAuthorize("@ss.hasPermi('system:completepeople:remove')")
@Log(title = "主要完成人情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectCompletepeopleService.deleteApplyprizesProjectCompletepeopleByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProject;
import com.ruoyi.system.service.IApplyprizesProjectService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 报奖管理_项目信息Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/Applyprizesproject")
public class ApplyprizesProjectController extends BaseController
{
@Autowired
private IApplyprizesProjectService applyprizesProjectService;
/**
* 查询报奖管理_项目信息列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProject applyprizesProject)
{
startPage();
List<ApplyprizesProject> list = applyprizesProjectService.selectApplyprizesProjectList(applyprizesProject);
return getDataTable(list);
}
/**
* 导出报奖管理_项目信息列表
*/
@PreAuthorize("@ss.hasPermi('system:project:exportxm')")
@Log(title = "报奖管理_项目信息", businessType = BusinessType.EXPORT)
@PostMapping("/exportxm")
public void export(HttpServletResponse response, ApplyprizesProject applyprizesProject)
{
List<ApplyprizesProject> list = applyprizesProjectService.selectApplyprizesProjectList(applyprizesProject);
ExcelUtil<ApplyprizesProject> util = new ExcelUtil<ApplyprizesProject>(ApplyprizesProject.class);
util.exportExcel(response, list, "报奖管理_项目信息数据");
}
/**
* 获取报奖管理_项目信息详细信息
*/
@PreAuthorize("@ss.hasPermi('system:project:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectService.selectApplyprizesProjectById(id));
}
/**
* 新增报奖管理_项目信息
*/
@PreAuthorize("@ss.hasPermi('system:project:add')")
@Log(title = "报奖管理_项目信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProject applyprizesProject)
{
return toAjax(applyprizesProjectService.insertApplyprizesProject(applyprizesProject));
}
/**
* 修改报奖管理_项目信息
*/
@PreAuthorize("@ss.hasPermi('system:project:edit')")
@Log(title = "报奖管理_项目信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProject applyprizesProject)
{
return toAjax(applyprizesProjectService.updateApplyprizesProject(applyprizesProject));
}
/**
* 删除报奖管理_项目信息
*/
@PreAuthorize("@ss.hasPermi('system:project:remove')")
@Log(title = "报奖管理_项目信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectService.deleteApplyprizesProjectByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProjectInfo;
import com.ruoyi.system.service.IApplyprizesProjectInfoService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目简介和详细内容及推荐理由Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/info")
public class ApplyprizesProjectInfoController extends BaseController
{
@Autowired
private IApplyprizesProjectInfoService applyprizesProjectInfoService;
/**
* 查询项目简介和详细内容及推荐理由列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProjectInfo applyprizesProjectInfo)
{
startPage();
List<ApplyprizesProjectInfo> list = applyprizesProjectInfoService.selectApplyprizesProjectInfoList(applyprizesProjectInfo);
return getDataTable(list);
}
/**
* 导出项目简介和详细内容及推荐理由列表
*/
@PreAuthorize("@ss.hasPermi('system:info:export')")
@Log(title = "项目简介和详细内容及推荐理由", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ApplyprizesProjectInfo applyprizesProjectInfo)
{
List<ApplyprizesProjectInfo> list = applyprizesProjectInfoService.selectApplyprizesProjectInfoList(applyprizesProjectInfo);
ExcelUtil<ApplyprizesProjectInfo> util = new ExcelUtil<ApplyprizesProjectInfo>(ApplyprizesProjectInfo.class);
util.exportExcel(response, list, "项目简介和详细内容及推荐理由数据");
}
/**
* 获取项目简介和详细内容及推荐理由详细信息
*/
@PreAuthorize("@ss.hasPermi('system:info:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectInfoService.selectApplyprizesProjectInfoById(id));
}
/**
* 新增项目简介和详细内容及推荐理由
*/
@PreAuthorize("@ss.hasPermi('system:info:add')")
@Log(title = "项目简介和详细内容及推荐理由", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProjectInfo applyprizesProjectInfo)
{
return toAjax(applyprizesProjectInfoService.insertApplyprizesProjectInfo(applyprizesProjectInfo));
}
/**
* 修改项目简介和详细内容及推荐理由
*/
@PreAuthorize("@ss.hasPermi('system:info:edit')")
@Log(title = "项目简介和详细内容及推荐理由", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProjectInfo applyprizesProjectInfo)
{
return toAjax(applyprizesProjectInfoService.updateApplyprizesProjectInfo(applyprizesProjectInfo));
}
/**
* 删除项目简介和详细内容及推荐理由
*/
@PreAuthorize("@ss.hasPermi('system:info:remove')")
@Log(title = "项目简介和详细内容及推荐理由", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectInfoService.deleteApplyprizesProjectInfoByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProjectInfoPoint;
import com.ruoyi.system.service.IApplyprizesProjectInfoPointService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 主要内容-创新点Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/point")
public class ApplyprizesProjectInfoPointController extends BaseController
{
@Autowired
private IApplyprizesProjectInfoPointService applyprizesProjectInfoPointService;
/**
* 查询主要内容-创新点列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProjectInfoPoint applyprizesProjectInfoPoint)
{
startPage();
List<ApplyprizesProjectInfoPoint> list = applyprizesProjectInfoPointService.selectApplyprizesProjectInfoPointList(applyprizesProjectInfoPoint);
return getDataTable(list);
}
/**
* 导出主要内容-创新点列表
*/
@PreAuthorize("@ss.hasPermi('system:point:export')")
@Log(title = "主要内容-创新点", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ApplyprizesProjectInfoPoint applyprizesProjectInfoPoint)
{
List<ApplyprizesProjectInfoPoint> list = applyprizesProjectInfoPointService.selectApplyprizesProjectInfoPointList(applyprizesProjectInfoPoint);
ExcelUtil<ApplyprizesProjectInfoPoint> util = new ExcelUtil<ApplyprizesProjectInfoPoint>(ApplyprizesProjectInfoPoint.class);
util.exportExcel(response, list, "主要内容-创新点数据");
}
/**
* 获取主要内容-创新点详细信息
*/
@PreAuthorize("@ss.hasPermi('system:point:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectInfoPointService.selectApplyprizesProjectInfoPointById(id));
}
/**
* 新增主要内容-创新点
*/
@PreAuthorize("@ss.hasPermi('system:point:add')")
@Log(title = "主要内容-创新点", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProjectInfoPoint applyprizesProjectInfoPoint)
{
return toAjax(applyprizesProjectInfoPointService.insertApplyprizesProjectInfoPoint(applyprizesProjectInfoPoint));
}
/**
* 修改主要内容-创新点
*/
@PreAuthorize("@ss.hasPermi('system:point:edit')")
@Log(title = "主要内容-创新点", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProjectInfoPoint applyprizesProjectInfoPoint)
{
return toAjax(applyprizesProjectInfoPointService.updateApplyprizesProjectInfoPoint(applyprizesProjectInfoPoint));
}
/**
* 删除主要内容-创新点
*/
@PreAuthorize("@ss.hasPermi('system:point:remove')")
@Log(title = "主要内容-创新点", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectInfoPointService.deleteApplyprizesProjectInfoPointByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProjectPatent;
import com.ruoyi.system.service.IApplyprizesProjectPatentService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 申请、获得专利情况Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/patent")
public class ApplyprizesProjectPatentController extends BaseController
{
@Autowired
private IApplyprizesProjectPatentService applyprizesProjectPatentService;
/**
* 查询申请、获得专利情况列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProjectPatent applyprizesProjectPatent)
{
startPage();
List<ApplyprizesProjectPatent> list = applyprizesProjectPatentService.selectApplyprizesProjectPatentList(applyprizesProjectPatent);
return getDataTable(list);
}
/**
* 导出申请、获得专利情况列表
*/
@PreAuthorize("@ss.hasPermi('system:patent:export')")
@Log(title = "申请、获得专利情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ApplyprizesProjectPatent applyprizesProjectPatent)
{
List<ApplyprizesProjectPatent> list = applyprizesProjectPatentService.selectApplyprizesProjectPatentList(applyprizesProjectPatent);
ExcelUtil<ApplyprizesProjectPatent> util = new ExcelUtil<ApplyprizesProjectPatent>(ApplyprizesProjectPatent.class);
util.exportExcel(response, list, "申请、获得专利情况数据");
}
/**
* 获取申请、获得专利情况详细信息
*/
@PreAuthorize("@ss.hasPermi('system:patent:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectPatentService.selectApplyprizesProjectPatentById(id));
}
/**
* 新增申请、获得专利情况
*/
@PreAuthorize("@ss.hasPermi('system:patent:add')")
@Log(title = "申请、获得专利情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProjectPatent applyprizesProjectPatent)
{
return toAjax(applyprizesProjectPatentService.insertApplyprizesProjectPatent(applyprizesProjectPatent));
}
/**
* 修改申请、获得专利情况
*/
@PreAuthorize("@ss.hasPermi('system:patent:edit')")
@Log(title = "申请、获得专利情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProjectPatent applyprizesProjectPatent)
{
return toAjax(applyprizesProjectPatentService.updateApplyprizesProjectPatent(applyprizesProjectPatent));
}
/**
* 删除申请、获得专利情况
*/
@PreAuthorize("@ss.hasPermi('system:patent:remove')")
@Log(title = "申请、获得专利情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectPatentService.deleteApplyprizesProjectPatentByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.ApplyprizesProjectTechnology;
import com.ruoyi.system.service.IApplyprizesProjectTechnologyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 本项目曾获科技奖励情况Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/technology")
public class ApplyprizesProjectTechnologyController extends BaseController
{
@Autowired
private IApplyprizesProjectTechnologyService applyprizesProjectTechnologyService;
/**
* 查询本项目曾获科技奖励情况列表
*/
@GetMapping("/list")
public TableDataInfo list(ApplyprizesProjectTechnology applyprizesProjectTechnology)
{
startPage();
List<ApplyprizesProjectTechnology> list = applyprizesProjectTechnologyService.selectApplyprizesProjectTechnologyList(applyprizesProjectTechnology);
return getDataTable(list);
}
/**
* 导出本项目曾获科技奖励情况列表
*/
@Log(title = "本项目曾获科技奖励情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ApplyprizesProjectTechnology applyprizesProjectTechnology)
{
List<ApplyprizesProjectTechnology> list = applyprizesProjectTechnologyService.selectApplyprizesProjectTechnologyList(applyprizesProjectTechnology);
ExcelUtil<ApplyprizesProjectTechnology> util = new ExcelUtil<ApplyprizesProjectTechnology>(ApplyprizesProjectTechnology.class);
util.exportExcel(response, list, "本项目曾获科技奖励情况数据");
}
/**
* 获取本项目曾获科技奖励情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(applyprizesProjectTechnologyService.selectApplyprizesProjectTechnologyById(id));
}
/**
* 新增本项目曾获科技奖励情况
*/
@Log(title = "本项目曾获科技奖励情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ApplyprizesProjectTechnology applyprizesProjectTechnology)
{
return toAjax(applyprizesProjectTechnologyService.insertApplyprizesProjectTechnology(applyprizesProjectTechnology));
}
/**
* 修改本项目曾获科技奖励情况
*/
@Log(title = "本项目曾获科技奖励情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ApplyprizesProjectTechnology applyprizesProjectTechnology)
{
return toAjax(applyprizesProjectTechnologyService.updateApplyprizesProjectTechnology(applyprizesProjectTechnology));
}
/**
* 删除本项目曾获科技奖励情况
*/
@Log(title = "本项目曾获科技奖励情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(applyprizesProjectTechnologyService.deleteApplyprizesProjectTechnologyByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.DeclareProject;
import com.ruoyi.system.service.IDeclareProjectService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 申报项目Controller
*
* @author ruoyi
* @date 2024-11-12
*/
@RestController
@RequestMapping("/api/scientific/Declareproject")
public class DeclareProjectController extends BaseController
{
@Autowired
private IDeclareProjectService declareProjectService;
/**
* 查询申报项目列表
*/
@GetMapping("/list")
public TableDataInfo list(DeclareProject declareProject)
{
startPage();
List<DeclareProject> list = declareProjectService.selectDeclareProjectList(declareProject);
return getDataTable(list);
}
/**
* 导出申报项目列表
*/
@PreAuthorize("@ss.hasPermi('system:project:export')")
@Log(title = "申报项目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DeclareProject declareProject)
{
List<DeclareProject> list = declareProjectService.selectDeclareProjectList(declareProject);
ExcelUtil<DeclareProject> util = new ExcelUtil<DeclareProject>(DeclareProject.class);
util.exportExcel(response, list, "申报项目数据");
}
/**
* 获取申报项目详细信息
*/
@PreAuthorize("@ss.hasPermi('system:project:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(declareProjectService.selectDeclareProjectById(id));
}
/**
* 新增申报项目
*/
@PreAuthorize("@ss.hasPermi('system:project:add')")
@Log(title = "申报项目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DeclareProject declareProject)
{
return toAjax(declareProjectService.insertDeclareProject(declareProject));
}
/**
* 修改申报项目
*/
@PreAuthorize("@ss.hasPermi('system:project:edit')")
@Log(title = "申报项目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody DeclareProject declareProject)
{
return toAjax(declareProjectService.updateDeclareProject(declareProject));
}
/**
* 删除申报项目
*/
@PreAuthorize("@ss.hasPermi('system:project:remove')")
@Log(title = "申报项目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(declareProjectService.deleteDeclareProjectByIds(ids));
}
}
\ No newline at end of file
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtcgzhyyqkJbxx;
import com.ruoyi.system.service.IHistoryProjectHtcgzhyyqkJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)成果转化应用情况Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx")
public class HistoryProjectHtcgzhyyqkJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtcgzhyyqkJbxxService historyProjectHtcgzhyyqkJbxxService;
/**
* 查询项目(课题)成果转化应用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtcgzhyyqkJbxx historyProjectHtcgzhyyqkJbxx)
{
startPage();
List<HistoryProjectHtcgzhyyqkJbxx> list = historyProjectHtcgzhyyqkJbxxService.selectHistoryProjectHtcgzhyyqkJbxxList(historyProjectHtcgzhyyqkJbxx);
return getDataTable(list);
}
/**
* 导出项目(课题)成果转化应用情况列表
*/
@Log(title = "项目(课题)成果转化应用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtcgzhyyqkJbxx historyProjectHtcgzhyyqkJbxx)
{
List<HistoryProjectHtcgzhyyqkJbxx> list = historyProjectHtcgzhyyqkJbxxService.selectHistoryProjectHtcgzhyyqkJbxxList(historyProjectHtcgzhyyqkJbxx);
ExcelUtil<HistoryProjectHtcgzhyyqkJbxx> util = new ExcelUtil<HistoryProjectHtcgzhyyqkJbxx>(HistoryProjectHtcgzhyyqkJbxx.class);
util.exportExcel(response, list, "项目(课题)成果转化应用情况数据");
}
/**
* 获取项目(课题)成果转化应用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtcgzhyyqkJbxxService.selectHistoryProjectHtcgzhyyqkJbxxById(id));
}
/**
* 新增项目(课题)成果转化应用情况
*/
@Log(title = "项目(课题)成果转化应用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtcgzhyyqkJbxx historyProjectHtcgzhyyqkJbxx)
{
return toAjax(historyProjectHtcgzhyyqkJbxxService.insertHistoryProjectHtcgzhyyqkJbxx(historyProjectHtcgzhyyqkJbxx));
}
/**
* 修改项目(课题)成果转化应用情况
*/
@Log(title = "项目(课题)成果转化应用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtcgzhyyqkJbxx historyProjectHtcgzhyyqkJbxx)
{
return toAjax(historyProjectHtcgzhyyqkJbxxService.updateHistoryProjectHtcgzhyyqkJbxx(historyProjectHtcgzhyyqkJbxx));
}
/**
* 删除项目(课题)成果转化应用情况
*/
@Log(title = "项目(课题)成果转化应用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtcgzhyyqkJbxxService.deleteHistoryProjectHtcgzhyyqkJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtdjzmJbxx;
import com.ruoyi.system.service.IHistoryProjectHtdjzmJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 技术合同登记证明基本信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx/htdjzm")
public class HistoryProjectHtdjzmJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtdjzmJbxxService historyProjectHtdjzmJbxxService;
/**
* 查询技术合同登记证明基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtdjzmJbxx historyProjectHtdjzmJbxx)
{
startPage();
List<HistoryProjectHtdjzmJbxx> list = historyProjectHtdjzmJbxxService.selectHistoryProjectHtdjzmJbxxList(historyProjectHtdjzmJbxx);
return getDataTable(list);
}
/**
* 导出技术合同登记证明基本信息列表
*/
@Log(title = "技术合同登记证明基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtdjzmJbxx historyProjectHtdjzmJbxx)
{
List<HistoryProjectHtdjzmJbxx> list = historyProjectHtdjzmJbxxService.selectHistoryProjectHtdjzmJbxxList(historyProjectHtdjzmJbxx);
ExcelUtil<HistoryProjectHtdjzmJbxx> util = new ExcelUtil<HistoryProjectHtdjzmJbxx>(HistoryProjectHtdjzmJbxx.class);
util.exportExcel(response, list, "技术合同登记证明基本信息数据");
}
/**
* 获取技术合同登记证明基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtdjzmJbxxService.selectHistoryProjectHtdjzmJbxxById(id));
}
/**
* 新增技术合同登记证明基本信息
*/
@Log(title = "技术合同登记证明基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtdjzmJbxx historyProjectHtdjzmJbxx)
{
return toAjax(historyProjectHtdjzmJbxxService.insertHistoryProjectHtdjzmJbxx(historyProjectHtdjzmJbxx));
}
/**
* 修改技术合同登记证明基本信息
*/
@Log(title = "技术合同登记证明基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtdjzmJbxx historyProjectHtdjzmJbxx)
{
return toAjax(historyProjectHtdjzmJbxxService.updateHistoryProjectHtdjzmJbxx(historyProjectHtdjzmJbxx));
}
/**
* 删除技术合同登记证明基本信息
*/
@Log(title = "技术合同登记证明基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtdjzmJbxxService.deleteHistoryProjectHtdjzmJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHthjxxJbxx;
import com.ruoyi.system.service.IHistoryProjectHthjxxJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)获奖信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx/Hthjxx")
public class HistoryProjectHthjxxJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHthjxxJbxxService historyProjectHthjxxJbxxService;
/**
* 查询项目(课题)获奖信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHthjxxJbxx historyProjectHthjxxJbxx)
{
startPage();
List<HistoryProjectHthjxxJbxx> list = historyProjectHthjxxJbxxService.selectHistoryProjectHthjxxJbxxList(historyProjectHthjxxJbxx);
return getDataTable(list);
}
/**
* 导出项目(课题)获奖信息列表
*/
@Log(title = "项目(课题)获奖信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHthjxxJbxx historyProjectHthjxxJbxx)
{
List<HistoryProjectHthjxxJbxx> list = historyProjectHthjxxJbxxService.selectHistoryProjectHthjxxJbxxList(historyProjectHthjxxJbxx);
ExcelUtil<HistoryProjectHthjxxJbxx> util = new ExcelUtil<HistoryProjectHthjxxJbxx>(HistoryProjectHthjxxJbxx.class);
util.exportExcel(response, list, "项目(课题)获奖信息数据");
}
/**
* 获取项目(课题)获奖信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHthjxxJbxxService.selectHistoryProjectHthjxxJbxxById(id));
}
/**
* 新增项目(课题)获奖信息
*/
@Log(title = "项目(课题)获奖信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHthjxxJbxx historyProjectHthjxxJbxx)
{
return toAjax(historyProjectHthjxxJbxxService.insertHistoryProjectHthjxxJbxx(historyProjectHthjxxJbxx));
}
/**
* 修改项目(课题)获奖信息
*/
@Log(title = "项目(课题)获奖信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHthjxxJbxx historyProjectHthjxxJbxx)
{
return toAjax(historyProjectHthjxxJbxxService.updateHistoryProjectHthjxxJbxx(historyProjectHthjxxJbxx));
}
/**
* 删除项目(课题)获奖信息
*/
@Log(title = "项目(课题)获奖信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHthjxxJbxxService.deleteHistoryProjectHthjxxJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtjdxxJbxx;
import com.ruoyi.system.service.IHistoryProjectHtjdxxJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目鉴定信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx/Htjdxx")
public class HistoryProjectHtjdxxJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtjdxxJbxxService historyProjectHtjdxxJbxxService;
/**
* 查询项目鉴定信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtjdxxJbxx historyProjectHtjdxxJbxx)
{
startPage();
List<HistoryProjectHtjdxxJbxx> list = historyProjectHtjdxxJbxxService.selectHistoryProjectHtjdxxJbxxList(historyProjectHtjdxxJbxx);
return getDataTable(list);
}
/**
* 导出项目鉴定信息列表
*/
@Log(title = "项目鉴定信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtjdxxJbxx historyProjectHtjdxxJbxx)
{
List<HistoryProjectHtjdxxJbxx> list = historyProjectHtjdxxJbxxService.selectHistoryProjectHtjdxxJbxxList(historyProjectHtjdxxJbxx);
ExcelUtil<HistoryProjectHtjdxxJbxx> util = new ExcelUtil<HistoryProjectHtjdxxJbxx>(HistoryProjectHtjdxxJbxx.class);
util.exportExcel(response, list, "项目鉴定信息数据");
}
/**
* 获取项目鉴定信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtjdxxJbxxService.selectHistoryProjectHtjdxxJbxxById(id));
}
/**
* 新增项目鉴定信息
*/
@Log(title = "项目鉴定信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtjdxxJbxx historyProjectHtjdxxJbxx)
{
return toAjax(historyProjectHtjdxxJbxxService.insertHistoryProjectHtjdxxJbxx(historyProjectHtjdxxJbxx));
}
/**
* 修改项目鉴定信息
*/
@Log(title = "项目鉴定信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtjdxxJbxx historyProjectHtjdxxJbxx)
{
return toAjax(historyProjectHtjdxxJbxxService.updateHistoryProjectHtjdxxJbxx(historyProjectHtjdxxJbxx));
}
/**
* 删除项目鉴定信息
*/
@Log(title = "项目鉴定信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtjdxxJbxxService.deleteHistoryProjectHtjdxxJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtjfsjzcJbxx;
import com.ruoyi.system.service.IHistoryProjectHtjfsjzcJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)经费实际支出基本信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx/Htjfsjzc")
public class HistoryProjectHtjfsjzcJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtjfsjzcJbxxService historyProjectHtjfsjzcJbxxService;
/**
* 查询项目(课题)经费实际支出基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtjfsjzcJbxx historyProjectHtjfsjzcJbxx)
{
startPage();
List<HistoryProjectHtjfsjzcJbxx> list = historyProjectHtjfsjzcJbxxService.selectHistoryProjectHtjfsjzcJbxxList(historyProjectHtjfsjzcJbxx);
return getDataTable(list);
}
/**
* 导出项目(课题)经费实际支出基本信息列表
*/
@Log(title = "项目(课题)经费实际支出基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtjfsjzcJbxx historyProjectHtjfsjzcJbxx)
{
List<HistoryProjectHtjfsjzcJbxx> list = historyProjectHtjfsjzcJbxxService.selectHistoryProjectHtjfsjzcJbxxList(historyProjectHtjfsjzcJbxx);
ExcelUtil<HistoryProjectHtjfsjzcJbxx> util = new ExcelUtil<HistoryProjectHtjfsjzcJbxx>(HistoryProjectHtjfsjzcJbxx.class);
util.exportExcel(response, list, "项目(课题)经费实际支出基本信息数据");
}
/**
* 获取项目(课题)经费实际支出基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtjfsjzcJbxxService.selectHistoryProjectHtjfsjzcJbxxById(id));
}
/**
* 新增项目(课题)经费实际支出基本信息
*/
@Log(title = "项目(课题)经费实际支出基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtjfsjzcJbxx historyProjectHtjfsjzcJbxx)
{
return toAjax(historyProjectHtjfsjzcJbxxService.insertHistoryProjectHtjfsjzcJbxx(historyProjectHtjfsjzcJbxx));
}
/**
* 修改项目(课题)经费实际支出基本信息
*/
@Log(title = "项目(课题)经费实际支出基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtjfsjzcJbxx historyProjectHtjfsjzcJbxx)
{
return toAjax(historyProjectHtjfsjzcJbxxService.updateHistoryProjectHtjfsjzcJbxx(historyProjectHtjfsjzcJbxx));
}
/**
* 删除项目(课题)经费实际支出基本信息
*/
@Log(title = "项目(课题)经费实际支出基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtjfsjzcJbxxService.deleteHistoryProjectHtjfsjzcJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtjfsjzcJbxxMx;
import com.ruoyi.system.service.IHistoryProjectHtjfsjzcJbxxMxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)经费实际支出基本信息_明细Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/mx")
public class HistoryProjectHtjfsjzcJbxxMxController extends BaseController
{
@Autowired
private IHistoryProjectHtjfsjzcJbxxMxService historyProjectHtjfsjzcJbxxMxService;
/**
* 查询项目(课题)经费实际支出基本信息_明细列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtjfsjzcJbxxMx historyProjectHtjfsjzcJbxxMx)
{
startPage();
List<HistoryProjectHtjfsjzcJbxxMx> list = historyProjectHtjfsjzcJbxxMxService.selectHistoryProjectHtjfsjzcJbxxMxList(historyProjectHtjfsjzcJbxxMx);
return getDataTable(list);
}
/**
* 导出项目(课题)经费实际支出基本信息_明细列表
*/
@Log(title = "项目(课题)经费实际支出基本信息_明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtjfsjzcJbxxMx historyProjectHtjfsjzcJbxxMx)
{
List<HistoryProjectHtjfsjzcJbxxMx> list = historyProjectHtjfsjzcJbxxMxService.selectHistoryProjectHtjfsjzcJbxxMxList(historyProjectHtjfsjzcJbxxMx);
ExcelUtil<HistoryProjectHtjfsjzcJbxxMx> util = new ExcelUtil<HistoryProjectHtjfsjzcJbxxMx>(HistoryProjectHtjfsjzcJbxxMx.class);
util.exportExcel(response, list, "项目(课题)经费实际支出基本信息_明细数据");
}
/**
* 获取项目(课题)经费实际支出基本信息_明细详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtjfsjzcJbxxMxService.selectHistoryProjectHtjfsjzcJbxxMxById(id));
}
/**
* 新增项目(课题)经费实际支出基本信息_明细
*/
@Log(title = "项目(课题)经费实际支出基本信息_明细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtjfsjzcJbxxMx historyProjectHtjfsjzcJbxxMx)
{
return toAjax(historyProjectHtjfsjzcJbxxMxService.insertHistoryProjectHtjfsjzcJbxxMx(historyProjectHtjfsjzcJbxxMx));
}
/**
* 修改项目(课题)经费实际支出基本信息_明细
*/
@Log(title = "项目(课题)经费实际支出基本信息_明细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtjfsjzcJbxxMx historyProjectHtjfsjzcJbxxMx)
{
return toAjax(historyProjectHtjfsjzcJbxxMxService.updateHistoryProjectHtjfsjzcJbxxMx(historyProjectHtjfsjzcJbxxMx));
}
/**
* 删除项目(课题)经费实际支出基本信息_明细
*/
@Log(title = "项目(课题)经费实际支出基本信息_明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtjfsjzcJbxxMxService.deleteHistoryProjectHtjfsjzcJbxxMxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtktbgJbxx;
import com.ruoyi.system.service.IHistoryProjectHtktbgJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 开题报告(申报书)基本信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx/Htktbg")
public class HistoryProjectHtktbgJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtktbgJbxxService historyProjectHtktbgJbxxService;
/**
* 查询开题报告(申报书)基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtktbgJbxx historyProjectHtktbgJbxx)
{
startPage();
List<HistoryProjectHtktbgJbxx> list = historyProjectHtktbgJbxxService.selectHistoryProjectHtktbgJbxxList(historyProjectHtktbgJbxx);
return getDataTable(list);
}
/**
* 导出开题报告(申报书)基本信息列表
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtktbgJbxx historyProjectHtktbgJbxx)
{
List<HistoryProjectHtktbgJbxx> list = historyProjectHtktbgJbxxService.selectHistoryProjectHtktbgJbxxList(historyProjectHtktbgJbxx);
ExcelUtil<HistoryProjectHtktbgJbxx> util = new ExcelUtil<HistoryProjectHtktbgJbxx>(HistoryProjectHtktbgJbxx.class);
util.exportExcel(response, list, "开题报告(申报书)基本信息数据");
}
/**
* 获取开题报告(申报书)基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtktbgJbxxService.selectHistoryProjectHtktbgJbxxById(id));
}
/**
* 新增开题报告(申报书)基本信息
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtktbgJbxx historyProjectHtktbgJbxx)
{
return toAjax(historyProjectHtktbgJbxxService.insertHistoryProjectHtktbgJbxx(historyProjectHtktbgJbxx));
}
/**
* 修改开题报告(申报书)基本信息
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtktbgJbxx historyProjectHtktbgJbxx)
{
return toAjax(historyProjectHtktbgJbxxService.updateHistoryProjectHtktbgJbxx(historyProjectHtktbgJbxx));
}
/**
* 删除开题报告(申报书)基本信息
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtktbgJbxxService.deleteHistoryProjectHtktbgJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtktbgJbxxYjnr;
import com.ruoyi.system.service.IHistoryProjectHtktbgJbxxYjnrService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 开题报告(申报书)基本信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/yjnr")
public class HistoryProjectHtktbgJbxxYjnrController extends BaseController
{
@Autowired
private IHistoryProjectHtktbgJbxxYjnrService historyProjectHtktbgJbxxYjnrService;
/**
* 查询开题报告(申报书)基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtktbgJbxxYjnr historyProjectHtktbgJbxxYjnr)
{
startPage();
List<HistoryProjectHtktbgJbxxYjnr> list = historyProjectHtktbgJbxxYjnrService.selectHistoryProjectHtktbgJbxxYjnrList(historyProjectHtktbgJbxxYjnr);
return getDataTable(list);
}
/**
* 导出开题报告(申报书)基本信息列表
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtktbgJbxxYjnr historyProjectHtktbgJbxxYjnr)
{
List<HistoryProjectHtktbgJbxxYjnr> list = historyProjectHtktbgJbxxYjnrService.selectHistoryProjectHtktbgJbxxYjnrList(historyProjectHtktbgJbxxYjnr);
ExcelUtil<HistoryProjectHtktbgJbxxYjnr> util = new ExcelUtil<HistoryProjectHtktbgJbxxYjnr>(HistoryProjectHtktbgJbxxYjnr.class);
util.exportExcel(response, list, "开题报告(申报书)基本信息数据");
}
/**
* 获取开题报告(申报书)基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtktbgJbxxYjnrService.selectHistoryProjectHtktbgJbxxYjnrById(id));
}
/**
* 新增开题报告(申报书)基本信息
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtktbgJbxxYjnr historyProjectHtktbgJbxxYjnr)
{
return toAjax(historyProjectHtktbgJbxxYjnrService.insertHistoryProjectHtktbgJbxxYjnr(historyProjectHtktbgJbxxYjnr));
}
/**
* 修改开题报告(申报书)基本信息
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtktbgJbxxYjnr historyProjectHtktbgJbxxYjnr)
{
return toAjax(historyProjectHtktbgJbxxYjnrService.updateHistoryProjectHtktbgJbxxYjnr(historyProjectHtktbgJbxxYjnr));
}
/**
* 删除开题报告(申报书)基本信息
*/
@Log(title = "开题报告(申报书)基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtktbgJbxxYjnrService.deleteHistoryProjectHtktbgJbxxYjnrByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtkysyJbxx;
import com.ruoyi.system.service.IHistoryProjectHtkysyJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)科研实验基本信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx/Htkysy")
public class HistoryProjectHtkysyJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtkysyJbxxService historyProjectHtkysyJbxxService;
/**
* 查询项目(课题)科研实验基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtkysyJbxx historyProjectHtkysyJbxx)
{
startPage();
List<HistoryProjectHtkysyJbxx> list = historyProjectHtkysyJbxxService.selectHistoryProjectHtkysyJbxxList(historyProjectHtkysyJbxx);
return getDataTable(list);
}
/**
* 导出项目(课题)科研实验基本信息列表
*/
@Log(title = "项目(课题)科研实验基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtkysyJbxx historyProjectHtkysyJbxx)
{
List<HistoryProjectHtkysyJbxx> list = historyProjectHtkysyJbxxService.selectHistoryProjectHtkysyJbxxList(historyProjectHtkysyJbxx);
ExcelUtil<HistoryProjectHtkysyJbxx> util = new ExcelUtil<HistoryProjectHtkysyJbxx>(HistoryProjectHtkysyJbxx.class);
util.exportExcel(response, list, "项目(课题)科研实验基本信息数据");
}
/**
* 获取项目(课题)科研实验基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtkysyJbxxService.selectHistoryProjectHtkysyJbxxById(id));
}
/**
* 新增项目(课题)科研实验基本信息
*/
@Log(title = "项目(课题)科研实验基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtkysyJbxx historyProjectHtkysyJbxx)
{
return toAjax(historyProjectHtkysyJbxxService.insertHistoryProjectHtkysyJbxx(historyProjectHtkysyJbxx));
}
/**
* 修改项目(课题)科研实验基本信息
*/
@Log(title = "项目(课题)科研实验基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtkysyJbxx historyProjectHtkysyJbxx)
{
return toAjax(historyProjectHtkysyJbxxService.updateHistoryProjectHtkysyJbxx(historyProjectHtkysyJbxx));
}
/**
* 删除项目(课题)科研实验基本信息
*/
@Log(title = "项目(课题)科研实验基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtkysyJbxxService.deleteHistoryProjectHtkysyJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtkysyJbxxSynr;
import com.ruoyi.system.service.IHistoryProjectHtkysyJbxxSynrService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)科研实验基本信息_科研内容Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/synr/Htkysy")
public class HistoryProjectHtkysyJbxxSynrController extends BaseController
{
@Autowired
private IHistoryProjectHtkysyJbxxSynrService historyProjectHtkysyJbxxSynrService;
/**
* 查询项目(课题)科研实验基本信息_科研内容列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtkysyJbxxSynr historyProjectHtkysyJbxxSynr)
{
startPage();
List<HistoryProjectHtkysyJbxxSynr> list = historyProjectHtkysyJbxxSynrService.selectHistoryProjectHtkysyJbxxSynrList(historyProjectHtkysyJbxxSynr);
return getDataTable(list);
}
/**
* 导出项目(课题)科研实验基本信息_科研内容列表
*/
@Log(title = "项目(课题)科研实验基本信息_科研内容", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtkysyJbxxSynr historyProjectHtkysyJbxxSynr)
{
List<HistoryProjectHtkysyJbxxSynr> list = historyProjectHtkysyJbxxSynrService.selectHistoryProjectHtkysyJbxxSynrList(historyProjectHtkysyJbxxSynr);
ExcelUtil<HistoryProjectHtkysyJbxxSynr> util = new ExcelUtil<HistoryProjectHtkysyJbxxSynr>(HistoryProjectHtkysyJbxxSynr.class);
util.exportExcel(response, list, "项目(课题)科研实验基本信息_科研内容数据");
}
/**
* 获取项目(课题)科研实验基本信息_科研内容详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtkysyJbxxSynrService.selectHistoryProjectHtkysyJbxxSynrById(id));
}
/**
* 新增项目(课题)科研实验基本信息_科研内容
*/
@Log(title = "项目(课题)科研实验基本信息_科研内容", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtkysyJbxxSynr historyProjectHtkysyJbxxSynr)
{
return toAjax(historyProjectHtkysyJbxxSynrService.insertHistoryProjectHtkysyJbxxSynr(historyProjectHtkysyJbxxSynr));
}
/**
* 修改项目(课题)科研实验基本信息_科研内容
*/
@Log(title = "项目(课题)科研实验基本信息_科研内容", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtkysyJbxxSynr historyProjectHtkysyJbxxSynr)
{
return toAjax(historyProjectHtkysyJbxxSynrService.updateHistoryProjectHtkysyJbxxSynr(historyProjectHtkysyJbxxSynr));
}
/**
* 删除项目(课题)科研实验基本信息_科研内容
*/
@Log(title = "项目(课题)科研实验基本信息_科研内容", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtkysyJbxxSynrService.deleteHistoryProjectHtkysyJbxxSynrByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.HistoryProjectHtkyzlgdJbxx;
import com.ruoyi.system.service.IHistoryProjectHtkyzlgdJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)科研资料归档信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jbxx/Htkyzlgd")
public class HistoryProjectHtkyzlgdJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtkyzlgdJbxxService historyProjectHtkyzlgdJbxxService;
/**
* 查询项目(课题)科研资料归档信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtkyzlgdJbxx historyProjectHtkyzlgdJbxx)
{
startPage();
List<HistoryProjectHtkyzlgdJbxx> list = historyProjectHtkyzlgdJbxxService.selectHistoryProjectHtkyzlgdJbxxList(historyProjectHtkyzlgdJbxx);
return getDataTable(list);
}
/**
* 导出项目(课题)科研资料归档信息列表
*/
@Log(title = "项目(课题)科研资料归档信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtkyzlgdJbxx historyProjectHtkyzlgdJbxx)
{
List<HistoryProjectHtkyzlgdJbxx> list = historyProjectHtkyzlgdJbxxService.selectHistoryProjectHtkyzlgdJbxxList(historyProjectHtkyzlgdJbxx);
ExcelUtil<HistoryProjectHtkyzlgdJbxx> util = new ExcelUtil<HistoryProjectHtkyzlgdJbxx>(HistoryProjectHtkyzlgdJbxx.class);
util.exportExcel(response, list, "项目(课题)科研资料归档信息数据");
}
/**
* 获取项目(课题)科研资料归档信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtkyzlgdJbxxService.selectHistoryProjectHtkyzlgdJbxxById(id));
}
/**
* 新增项目(课题)科研资料归档信息
*/
@Log(title = "项目(课题)科研资料归档信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtkyzlgdJbxx historyProjectHtkyzlgdJbxx)
{
return toAjax(historyProjectHtkyzlgdJbxxService.insertHistoryProjectHtkyzlgdJbxx(historyProjectHtkyzlgdJbxx));
}
/**
* 修改项目(课题)科研资料归档信息
*/
@Log(title = "项目(课题)科研资料归档信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtkyzlgdJbxx historyProjectHtkyzlgdJbxx)
{
return toAjax(historyProjectHtkyzlgdJbxxService.updateHistoryProjectHtkyzlgdJbxx(historyProjectHtkyzlgdJbxx));
}
/**
* 删除项目(课题)科研资料归档信息
*/
@Log(title = "项目(课题)科研资料归档信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtkyzlgdJbxxService.deleteHistoryProjectHtkyzlgdJbxxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdfgsjfsy;
import com.ruoyi.system.service.IJfsyqkNdfgsjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_分公司年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-24
*/
@RestController
@RequestMapping("/system/ndfgsjfsy")
public class JfsyqkNdfgsjfsyController extends BaseController
{
@Autowired
private IJfsyqkNdfgsjfsyService jfsyqkNdfgsjfsyService;
/**
* 查询经费使用情况_分公司年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdfgsjfsy jfsyqkNdfgsjfsy)
{
startPage();
List<JfsyqkNdfgsjfsy> list = jfsyqkNdfgsjfsyService.selectJfsyqkNdfgsjfsyList(jfsyqkNdfgsjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_分公司年度使用情况列表
*/
@Log(title = "经费使用情况_分公司年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdfgsjfsy jfsyqkNdfgsjfsy)
{
List<JfsyqkNdfgsjfsy> list = jfsyqkNdfgsjfsyService.selectJfsyqkNdfgsjfsyList(jfsyqkNdfgsjfsy);
ExcelUtil<JfsyqkNdfgsjfsy> util = new ExcelUtil<JfsyqkNdfgsjfsy>(JfsyqkNdfgsjfsy.class);
util.exportExcel(response, list, "经费使用情况_分公司年度使用情况数据");
}
/**
* 获取经费使用情况_分公司年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdfgsjfsyService.selectJfsyqkNdfgsjfsyById(id));
}
/**
* 新增经费使用情况_分公司年度使用情况
*/
@Log(title = "经费使用情况_分公司年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdfgsjfsy jfsyqkNdfgsjfsy)
{
return toAjax(jfsyqkNdfgsjfsyService.insertJfsyqkNdfgsjfsy(jfsyqkNdfgsjfsy));
}
/**
* 修改经费使用情况_分公司年度使用情况
*/
@Log(title = "经费使用情况_分公司年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdfgsjfsy jfsyqkNdfgsjfsy)
{
return toAjax(jfsyqkNdfgsjfsyService.updateJfsyqkNdfgsjfsy(jfsyqkNdfgsjfsy));
}
/**
* 删除经费使用情况_分公司年度使用情况
*/
@Log(title = "经费使用情况_分公司年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdfgsjfsyService.deleteJfsyqkNdfgsjfsyByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdfgsjfsyKmys;
import com.ruoyi.system.service.IJfsyqkNdfgsjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_分公司年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkNdfgsjfsy")
public class JfsyqkNdfgsjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkNdfgsjfsyKmysService jfsyqkNdfgsjfsyKmysService;
/**
* 查询经费使用情况_分公司年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdfgsjfsyKmys jfsyqkNdfgsjfsyKmys)
{
startPage();
List<JfsyqkNdfgsjfsyKmys> list = jfsyqkNdfgsjfsyKmysService.selectJfsyqkNdfgsjfsyKmysList(jfsyqkNdfgsjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_分公司年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_分公司年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdfgsjfsyKmys jfsyqkNdfgsjfsyKmys)
{
List<JfsyqkNdfgsjfsyKmys> list = jfsyqkNdfgsjfsyKmysService.selectJfsyqkNdfgsjfsyKmysList(jfsyqkNdfgsjfsyKmys);
ExcelUtil<JfsyqkNdfgsjfsyKmys> util = new ExcelUtil<JfsyqkNdfgsjfsyKmys>(JfsyqkNdfgsjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_分公司年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_分公司年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdfgsjfsyKmysService.selectJfsyqkNdfgsjfsyKmysById(id));
}
/**
* 新增经费使用情况_分公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_分公司年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdfgsjfsyKmys jfsyqkNdfgsjfsyKmys)
{
return toAjax(jfsyqkNdfgsjfsyKmysService.insertJfsyqkNdfgsjfsyKmys(jfsyqkNdfgsjfsyKmys));
}
/**
* 修改经费使用情况_分公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_分公司年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdfgsjfsyKmys jfsyqkNdfgsjfsyKmys)
{
return toAjax(jfsyqkNdfgsjfsyKmysService.updateJfsyqkNdfgsjfsyKmys(jfsyqkNdfgsjfsyKmys));
}
/**
* 删除经费使用情况_分公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_分公司年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdfgsjfsyKmysService.deleteJfsyqkNdfgsjfsyKmysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdgfgsjfsy;
import com.ruoyi.system.service.IJfsyqkNdgfgsjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_股份公司年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ndgfgsjfsy")
public class JfsyqkNdgfgsjfsyController extends BaseController
{
@Autowired
private IJfsyqkNdgfgsjfsyService jfsyqkNdgfgsjfsyService;
/**
* 查询经费使用情况_股份公司年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdgfgsjfsy jfsyqkNdgfgsjfsy)
{
startPage();
List<JfsyqkNdgfgsjfsy> list = jfsyqkNdgfgsjfsyService.selectJfsyqkNdgfgsjfsyList(jfsyqkNdgfgsjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_股份公司年度使用情况列表
*/
@Log(title = "经费使用情况_股份公司年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdgfgsjfsy jfsyqkNdgfgsjfsy)
{
List<JfsyqkNdgfgsjfsy> list = jfsyqkNdgfgsjfsyService.selectJfsyqkNdgfgsjfsyList(jfsyqkNdgfgsjfsy);
ExcelUtil<JfsyqkNdgfgsjfsy> util = new ExcelUtil<JfsyqkNdgfgsjfsy>(JfsyqkNdgfgsjfsy.class);
util.exportExcel(response, list, "经费使用情况_股份公司年度使用情况数据");
}
/**
* 获取经费使用情况_股份公司年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdgfgsjfsyService.selectJfsyqkNdgfgsjfsyById(id));
}
/**
* 新增经费使用情况_股份公司年度使用情况
*/
@Log(title = "经费使用情况_股份公司年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdgfgsjfsy jfsyqkNdgfgsjfsy)
{
return toAjax(jfsyqkNdgfgsjfsyService.insertJfsyqkNdgfgsjfsy(jfsyqkNdgfgsjfsy));
}
/**
* 修改经费使用情况_股份公司年度使用情况
*/
@Log(title = "经费使用情况_股份公司年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdgfgsjfsy jfsyqkNdgfgsjfsy)
{
return toAjax(jfsyqkNdgfgsjfsyService.updateJfsyqkNdgfgsjfsy(jfsyqkNdgfgsjfsy));
}
/**
* 删除经费使用情况_股份公司年度使用情况
*/
@Log(title = "经费使用情况_股份公司年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdgfgsjfsyService.deleteJfsyqkNdgfgsjfsyByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdgfgsjfsyKmys;
import com.ruoyi.system.service.IJfsyqkNdgfgsjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_股份公司年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkNdgfgsjfsy")
public class JfsyqkNdgfgsjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkNdgfgsjfsyKmysService jfsyqkNdgfgsjfsyKmysService;
/**
* 查询经费使用情况_股份公司年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdgfgsjfsyKmys jfsyqkNdgfgsjfsyKmys)
{
startPage();
List<JfsyqkNdgfgsjfsyKmys> list = jfsyqkNdgfgsjfsyKmysService.selectJfsyqkNdgfgsjfsyKmysList(jfsyqkNdgfgsjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_股份公司年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_股份公司年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdgfgsjfsyKmys jfsyqkNdgfgsjfsyKmys)
{
List<JfsyqkNdgfgsjfsyKmys> list = jfsyqkNdgfgsjfsyKmysService.selectJfsyqkNdgfgsjfsyKmysList(jfsyqkNdgfgsjfsyKmys);
ExcelUtil<JfsyqkNdgfgsjfsyKmys> util = new ExcelUtil<JfsyqkNdgfgsjfsyKmys>(JfsyqkNdgfgsjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_股份公司年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_股份公司年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdgfgsjfsyKmysService.selectJfsyqkNdgfgsjfsyKmysById(id));
}
/**
* 新增经费使用情况_股份公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_股份公司年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdgfgsjfsyKmys jfsyqkNdgfgsjfsyKmys)
{
return toAjax(jfsyqkNdgfgsjfsyKmysService.insertJfsyqkNdgfgsjfsyKmys(jfsyqkNdgfgsjfsyKmys));
}
/**
* 修改经费使用情况_股份公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_股份公司年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdgfgsjfsyKmys jfsyqkNdgfgsjfsyKmys)
{
return toAjax(jfsyqkNdgfgsjfsyKmysService.updateJfsyqkNdgfgsjfsyKmys(jfsyqkNdgfgsjfsyKmys));
}
/**
* 删除经费使用情况_股份公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_股份公司年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdgfgsjfsyKmysService.deleteJfsyqkNdgfgsjfsyKmysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdgjjfsy;
import com.ruoyi.system.service.IJfsyqkNdgjjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_国家年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ndgjjfsy")
public class JfsyqkNdgjjfsyController extends BaseController
{
@Autowired
private IJfsyqkNdgjjfsyService jfsyqkNdgjjfsyService;
/**
* 查询经费使用情况_国家年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdgjjfsy jfsyqkNdgjjfsy)
{
startPage();
List<JfsyqkNdgjjfsy> list = jfsyqkNdgjjfsyService.selectJfsyqkNdgjjfsyList(jfsyqkNdgjjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_国家年度使用情况列表
*/
@Log(title = "经费使用情况_国家年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdgjjfsy jfsyqkNdgjjfsy)
{
List<JfsyqkNdgjjfsy> list = jfsyqkNdgjjfsyService.selectJfsyqkNdgjjfsyList(jfsyqkNdgjjfsy);
ExcelUtil<JfsyqkNdgjjfsy> util = new ExcelUtil<JfsyqkNdgjjfsy>(JfsyqkNdgjjfsy.class);
util.exportExcel(response, list, "经费使用情况_国家年度使用情况数据");
}
/**
* 获取经费使用情况_国家年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdgjjfsyService.selectJfsyqkNdgjjfsyById(id));
}
/**
* 新增经费使用情况_国家年度使用情况
*/
@Log(title = "经费使用情况_国家年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdgjjfsy jfsyqkNdgjjfsy)
{
return toAjax(jfsyqkNdgjjfsyService.insertJfsyqkNdgjjfsy(jfsyqkNdgjjfsy));
}
/**
* 修改经费使用情况_国家年度使用情况
*/
@Log(title = "经费使用情况_国家年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdgjjfsy jfsyqkNdgjjfsy)
{
return toAjax(jfsyqkNdgjjfsyService.updateJfsyqkNdgjjfsy(jfsyqkNdgjjfsy));
}
/**
* 删除经费使用情况_国家年度使用情况
*/
@Log(title = "经费使用情况_国家年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdgjjfsyService.deleteJfsyqkNdgjjfsyByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdgjjfsyKmys;
import com.ruoyi.system.service.IJfsyqkNdgjjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_国家年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkNdgjjfsy")
public class JfsyqkNdgjjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkNdgjjfsyKmysService jfsyqkNdgjjfsyKmysService;
/**
* 查询经费使用情况_国家年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdgjjfsyKmys jfsyqkNdgjjfsyKmys)
{
startPage();
List<JfsyqkNdgjjfsyKmys> list = jfsyqkNdgjjfsyKmysService.selectJfsyqkNdgjjfsyKmysList(jfsyqkNdgjjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_国家年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_国家年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdgjjfsyKmys jfsyqkNdgjjfsyKmys)
{
List<JfsyqkNdgjjfsyKmys> list = jfsyqkNdgjjfsyKmysService.selectJfsyqkNdgjjfsyKmysList(jfsyqkNdgjjfsyKmys);
ExcelUtil<JfsyqkNdgjjfsyKmys> util = new ExcelUtil<JfsyqkNdgjjfsyKmys>(JfsyqkNdgjjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_国家年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_国家年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdgjjfsyKmysService.selectJfsyqkNdgjjfsyKmysById(id));
}
/**
* 新增经费使用情况_国家年度使用情况预算科目
*/
@Log(title = "经费使用情况_国家年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdgjjfsyKmys jfsyqkNdgjjfsyKmys)
{
return toAjax(jfsyqkNdgjjfsyKmysService.insertJfsyqkNdgjjfsyKmys(jfsyqkNdgjjfsyKmys));
}
/**
* 修改经费使用情况_国家年度使用情况预算科目
*/
@Log(title = "经费使用情况_国家年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdgjjfsyKmys jfsyqkNdgjjfsyKmys)
{
return toAjax(jfsyqkNdgjjfsyKmysService.updateJfsyqkNdgjjfsyKmys(jfsyqkNdgjjfsyKmys));
}
/**
* 删除经费使用情况_国家年度使用情况预算科目
*/
@Log(title = "经费使用情况_国家年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdgjjfsyKmysService.deleteJfsyqkNdgjjfsyKmysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdjtgsjfsy;
import com.ruoyi.system.service.IJfsyqkNdjtgsjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_集团公司年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ndjtgsjfsy")
public class JfsyqkNdjtgsjfsyController extends BaseController
{
@Autowired
private IJfsyqkNdjtgsjfsyService jfsyqkNdjtgsjfsyService;
/**
* 查询经费使用情况_集团公司年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdjtgsjfsy jfsyqkNdjtgsjfsy)
{
startPage();
List<JfsyqkNdjtgsjfsy> list = jfsyqkNdjtgsjfsyService.selectJfsyqkNdjtgsjfsyList(jfsyqkNdjtgsjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_集团公司年度使用情况列表
*/
@Log(title = "经费使用情况_集团公司年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdjtgsjfsy jfsyqkNdjtgsjfsy)
{
List<JfsyqkNdjtgsjfsy> list = jfsyqkNdjtgsjfsyService.selectJfsyqkNdjtgsjfsyList(jfsyqkNdjtgsjfsy);
ExcelUtil<JfsyqkNdjtgsjfsy> util = new ExcelUtil<JfsyqkNdjtgsjfsy>(JfsyqkNdjtgsjfsy.class);
util.exportExcel(response, list, "经费使用情况_集团公司年度使用情况数据");
}
/**
* 获取经费使用情况_集团公司年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdjtgsjfsyService.selectJfsyqkNdjtgsjfsyById(id));
}
/**
* 新增经费使用情况_集团公司年度使用情况
*/
@Log(title = "经费使用情况_集团公司年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdjtgsjfsy jfsyqkNdjtgsjfsy)
{
return toAjax(jfsyqkNdjtgsjfsyService.insertJfsyqkNdjtgsjfsy(jfsyqkNdjtgsjfsy));
}
/**
* 修改经费使用情况_集团公司年度使用情况
*/
@Log(title = "经费使用情况_集团公司年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdjtgsjfsy jfsyqkNdjtgsjfsy)
{
return toAjax(jfsyqkNdjtgsjfsyService.updateJfsyqkNdjtgsjfsy(jfsyqkNdjtgsjfsy));
}
/**
* 删除经费使用情况_集团公司年度使用情况
*/
@Log(title = "经费使用情况_集团公司年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdjtgsjfsyService.deleteJfsyqkNdjtgsjfsyByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdjtgsjfsyKmys;
import com.ruoyi.system.service.IJfsyqkNdjtgsjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_集团公司年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkNdjtgsjfsy")
public class JfsyqkNdjtgsjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkNdjtgsjfsyKmysService jfsyqkNdjtgsjfsyKmysService;
/**
* 查询经费使用情况_集团公司年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdjtgsjfsyKmys jfsyqkNdjtgsjfsyKmys)
{
startPage();
List<JfsyqkNdjtgsjfsyKmys> list = jfsyqkNdjtgsjfsyKmysService.selectJfsyqkNdjtgsjfsyKmysList(jfsyqkNdjtgsjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_集团公司年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_集团公司年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdjtgsjfsyKmys jfsyqkNdjtgsjfsyKmys)
{
List<JfsyqkNdjtgsjfsyKmys> list = jfsyqkNdjtgsjfsyKmysService.selectJfsyqkNdjtgsjfsyKmysList(jfsyqkNdjtgsjfsyKmys);
ExcelUtil<JfsyqkNdjtgsjfsyKmys> util = new ExcelUtil<JfsyqkNdjtgsjfsyKmys>(JfsyqkNdjtgsjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_集团公司年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_集团公司年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdjtgsjfsyKmysService.selectJfsyqkNdjtgsjfsyKmysById(id));
}
/**
* 新增经费使用情况_集团公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_集团公司年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdjtgsjfsyKmys jfsyqkNdjtgsjfsyKmys)
{
return toAjax(jfsyqkNdjtgsjfsyKmysService.insertJfsyqkNdjtgsjfsyKmys(jfsyqkNdjtgsjfsyKmys));
}
/**
* 修改经费使用情况_集团公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_集团公司年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdjtgsjfsyKmys jfsyqkNdjtgsjfsyKmys)
{
return toAjax(jfsyqkNdjtgsjfsyKmysService.updateJfsyqkNdjtgsjfsyKmys(jfsyqkNdjtgsjfsyKmys));
}
/**
* 删除经费使用情况_集团公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_集团公司年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdjtgsjfsyKmysService.deleteJfsyqkNdjtgsjfsyKmysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdsygcgsjfsy;
import com.ruoyi.system.service.IJfsyqkNdsygcgsjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_石油工程公司年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ndsygcgsjfsy")
public class JfsyqkNdsygcgsjfsyController extends BaseController
{
@Autowired
private IJfsyqkNdsygcgsjfsyService jfsyqkNdsygcgsjfsyService;
/**
* 查询经费使用情况_石油工程公司年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdsygcgsjfsy jfsyqkNdsygcgsjfsy)
{
startPage();
List<JfsyqkNdsygcgsjfsy> list = jfsyqkNdsygcgsjfsyService.selectJfsyqkNdsygcgsjfsyList(jfsyqkNdsygcgsjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_石油工程公司年度使用情况列表
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdsygcgsjfsy jfsyqkNdsygcgsjfsy)
{
List<JfsyqkNdsygcgsjfsy> list = jfsyqkNdsygcgsjfsyService.selectJfsyqkNdsygcgsjfsyList(jfsyqkNdsygcgsjfsy);
ExcelUtil<JfsyqkNdsygcgsjfsy> util = new ExcelUtil<JfsyqkNdsygcgsjfsy>(JfsyqkNdsygcgsjfsy.class);
util.exportExcel(response, list, "经费使用情况_石油工程公司年度使用情况数据");
}
/**
* 获取经费使用情况_石油工程公司年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdsygcgsjfsyService.selectJfsyqkNdsygcgsjfsyById(id));
}
/**
* 新增经费使用情况_石油工程公司年度使用情况
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdsygcgsjfsy jfsyqkNdsygcgsjfsy)
{
return toAjax(jfsyqkNdsygcgsjfsyService.insertJfsyqkNdsygcgsjfsy(jfsyqkNdsygcgsjfsy));
}
/**
* 修改经费使用情况_石油工程公司年度使用情况
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdsygcgsjfsy jfsyqkNdsygcgsjfsy)
{
return toAjax(jfsyqkNdsygcgsjfsyService.updateJfsyqkNdsygcgsjfsy(jfsyqkNdsygcgsjfsy));
}
/**
* 删除经费使用情况_石油工程公司年度使用情况
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdsygcgsjfsyService.deleteJfsyqkNdsygcgsjfsyByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdsygcgsjfsyKmys;
import com.ruoyi.system.service.IJfsyqkNdsygcgsjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_石油工程公司年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkNdsygcgsjfsy")
public class JfsyqkNdsygcgsjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkNdsygcgsjfsyKmysService jfsyqkNdsygcgsjfsyKmysService;
/**
* 查询经费使用情况_石油工程公司年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdsygcgsjfsyKmys jfsyqkNdsygcgsjfsyKmys)
{
startPage();
List<JfsyqkNdsygcgsjfsyKmys> list = jfsyqkNdsygcgsjfsyKmysService.selectJfsyqkNdsygcgsjfsyKmysList(jfsyqkNdsygcgsjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_石油工程公司年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdsygcgsjfsyKmys jfsyqkNdsygcgsjfsyKmys)
{
List<JfsyqkNdsygcgsjfsyKmys> list = jfsyqkNdsygcgsjfsyKmysService.selectJfsyqkNdsygcgsjfsyKmysList(jfsyqkNdsygcgsjfsyKmys);
ExcelUtil<JfsyqkNdsygcgsjfsyKmys> util = new ExcelUtil<JfsyqkNdsygcgsjfsyKmys>(JfsyqkNdsygcgsjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_石油工程公司年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_石油工程公司年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdsygcgsjfsyKmysService.selectJfsyqkNdsygcgsjfsyKmysById(id));
}
/**
* 新增经费使用情况_石油工程公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdsygcgsjfsyKmys jfsyqkNdsygcgsjfsyKmys)
{
return toAjax(jfsyqkNdsygcgsjfsyKmysService.insertJfsyqkNdsygcgsjfsyKmys(jfsyqkNdsygcgsjfsyKmys));
}
/**
* 修改经费使用情况_石油工程公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdsygcgsjfsyKmys jfsyqkNdsygcgsjfsyKmys)
{
return toAjax(jfsyqkNdsygcgsjfsyKmysService.updateJfsyqkNdsygcgsjfsyKmys(jfsyqkNdsygcgsjfsyKmys));
}
/**
* 删除经费使用情况_石油工程公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_石油工程公司年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdsygcgsjfsyKmysService.deleteJfsyqkNdsygcgsjfsyKmysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdxmjygltz;
import com.ruoyi.system.service.IJfsyqkNdxmjygltzService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_年度项目经营台账Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ndxmjygltz")
public class JfsyqkNdxmjygltzController extends BaseController
{
@Autowired
private IJfsyqkNdxmjygltzService jfsyqkNdxmjygltzService;
/**
* 查询经费使用情况_年度项目经营台账列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdxmjygltz jfsyqkNdxmjygltz)
{
startPage();
List<JfsyqkNdxmjygltz> list = jfsyqkNdxmjygltzService.selectJfsyqkNdxmjygltzList(jfsyqkNdxmjygltz);
return getDataTable(list);
}
/**
* 导出经费使用情况_年度项目经营台账列表
*/
@Log(title = "经费使用情况_年度项目经营台账", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdxmjygltz jfsyqkNdxmjygltz)
{
List<JfsyqkNdxmjygltz> list = jfsyqkNdxmjygltzService.selectJfsyqkNdxmjygltzList(jfsyqkNdxmjygltz);
ExcelUtil<JfsyqkNdxmjygltz> util = new ExcelUtil<JfsyqkNdxmjygltz>(JfsyqkNdxmjygltz.class);
util.exportExcel(response, list, "经费使用情况_年度项目经营台账数据");
}
/**
* 获取经费使用情况_年度项目经营台账详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdxmjygltzService.selectJfsyqkNdxmjygltzById(id));
}
/**
* 新增经费使用情况_年度项目经营台账
*/
@Log(title = "经费使用情况_年度项目经营台账", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdxmjygltz jfsyqkNdxmjygltz)
{
return toAjax(jfsyqkNdxmjygltzService.insertJfsyqkNdxmjygltz(jfsyqkNdxmjygltz));
}
/**
* 修改经费使用情况_年度项目经营台账
*/
@Log(title = "经费使用情况_年度项目经营台账", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdxmjygltz jfsyqkNdxmjygltz)
{
return toAjax(jfsyqkNdxmjygltzService.updateJfsyqkNdxmjygltz(jfsyqkNdxmjygltz));
}
/**
* 删除经费使用情况_年度项目经营台账
*/
@Log(title = "经费使用情况_年度项目经营台账", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdxmjygltzService.deleteJfsyqkNdxmjygltzByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkNdxmjygltzWxqk;
import com.ruoyi.system.service.IJfsyqkNdxmjygltzWxqkService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_年度项目经营台账_外协情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/wxqk/JfsyqkNdxmjygltz")
public class JfsyqkNdxmjygltzWxqkController extends BaseController
{
@Autowired
private IJfsyqkNdxmjygltzWxqkService jfsyqkNdxmjygltzWxqkService;
/**
* 查询经费使用情况_年度项目经营台账_外协情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNdxmjygltzWxqk jfsyqkNdxmjygltzWxqk)
{
startPage();
List<JfsyqkNdxmjygltzWxqk> list = jfsyqkNdxmjygltzWxqkService.selectJfsyqkNdxmjygltzWxqkList(jfsyqkNdxmjygltzWxqk);
return getDataTable(list);
}
/**
* 导出经费使用情况_年度项目经营台账_外协情况列表
*/
@Log(title = "经费使用情况_年度项目经营台账_外协情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNdxmjygltzWxqk jfsyqkNdxmjygltzWxqk)
{
List<JfsyqkNdxmjygltzWxqk> list = jfsyqkNdxmjygltzWxqkService.selectJfsyqkNdxmjygltzWxqkList(jfsyqkNdxmjygltzWxqk);
ExcelUtil<JfsyqkNdxmjygltzWxqk> util = new ExcelUtil<JfsyqkNdxmjygltzWxqk>(JfsyqkNdxmjygltzWxqk.class);
util.exportExcel(response, list, "经费使用情况_年度项目经营台账_外协情况数据");
}
/**
* 获取经费使用情况_年度项目经营台账_外协情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNdxmjygltzWxqkService.selectJfsyqkNdxmjygltzWxqkById(id));
}
/**
* 新增经费使用情况_年度项目经营台账_外协情况
*/
@Log(title = "经费使用情况_年度项目经营台账_外协情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNdxmjygltzWxqk jfsyqkNdxmjygltzWxqk)
{
return toAjax(jfsyqkNdxmjygltzWxqkService.insertJfsyqkNdxmjygltzWxqk(jfsyqkNdxmjygltzWxqk));
}
/**
* 修改经费使用情况_年度项目经营台账_外协情况
*/
@Log(title = "经费使用情况_年度项目经营台账_外协情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNdxmjygltzWxqk jfsyqkNdxmjygltzWxqk)
{
return toAjax(jfsyqkNdxmjygltzWxqkService.updateJfsyqkNdxmjygltzWxqk(jfsyqkNdxmjygltzWxqk));
}
/**
* 删除经费使用情况_年度项目经营台账_外协情况
*/
@Log(title = "经费使用情况_年度项目经营台账_外协情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNdxmjygltzWxqkService.deleteJfsyqkNdxmjygltzWxqkByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkSygcbndjfsy;
import com.ruoyi.system.service.IJfsyqkSygcbndjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_石油工程半年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/sygcbndjfsy")
public class JfsyqkSygcbndjfsyController extends BaseController
{
@Autowired
private IJfsyqkSygcbndjfsyService jfsyqkSygcbndjfsyService;
/**
* 查询经费使用情况_石油工程半年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkSygcbndjfsy jfsyqkSygcbndjfsy)
{
startPage();
List<JfsyqkSygcbndjfsy> list = jfsyqkSygcbndjfsyService.selectJfsyqkSygcbndjfsyList(jfsyqkSygcbndjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_石油工程半年度使用情况列表
*/
@Log(title = "经费使用情况_石油工程半年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkSygcbndjfsy jfsyqkSygcbndjfsy)
{
List<JfsyqkSygcbndjfsy> list = jfsyqkSygcbndjfsyService.selectJfsyqkSygcbndjfsyList(jfsyqkSygcbndjfsy);
ExcelUtil<JfsyqkSygcbndjfsy> util = new ExcelUtil<JfsyqkSygcbndjfsy>(JfsyqkSygcbndjfsy.class);
util.exportExcel(response, list, "经费使用情况_石油工程半年度使用情况数据");
}
/**
* 获取经费使用情况_石油工程半年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkSygcbndjfsyService.selectJfsyqkSygcbndjfsyById(id));
}
/**
* 新增经费使用情况_石油工程半年度使用情况
*/
@Log(title = "经费使用情况_石油工程半年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkSygcbndjfsy jfsyqkSygcbndjfsy)
{
return toAjax(jfsyqkSygcbndjfsyService.insertJfsyqkSygcbndjfsy(jfsyqkSygcbndjfsy));
}
/**
* 修改经费使用情况_石油工程半年度使用情况
*/
@Log(title = "经费使用情况_石油工程半年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkSygcbndjfsy jfsyqkSygcbndjfsy)
{
return toAjax(jfsyqkSygcbndjfsyService.updateJfsyqkSygcbndjfsy(jfsyqkSygcbndjfsy));
}
/**
* 删除经费使用情况_石油工程半年度使用情况
*/
@Log(title = "经费使用情况_石油工程半年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkSygcbndjfsyService.deleteJfsyqkSygcbndjfsyByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkSygcbndjfsyKmys;
import com.ruoyi.system.service.IJfsyqkSygcbndjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_石油工程半年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkSygcbndjfsy")
public class JfsyqkSygcbndjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkSygcbndjfsyKmysService jfsyqkSygcbndjfsyKmysService;
/**
* 查询经费使用情况_石油工程半年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkSygcbndjfsyKmys jfsyqkSygcbndjfsyKmys)
{
startPage();
List<JfsyqkSygcbndjfsyKmys> list = jfsyqkSygcbndjfsyKmysService.selectJfsyqkSygcbndjfsyKmysList(jfsyqkSygcbndjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_石油工程半年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_石油工程半年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkSygcbndjfsyKmys jfsyqkSygcbndjfsyKmys)
{
List<JfsyqkSygcbndjfsyKmys> list = jfsyqkSygcbndjfsyKmysService.selectJfsyqkSygcbndjfsyKmysList(jfsyqkSygcbndjfsyKmys);
ExcelUtil<JfsyqkSygcbndjfsyKmys> util = new ExcelUtil<JfsyqkSygcbndjfsyKmys>(JfsyqkSygcbndjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_石油工程半年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_石油工程半年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkSygcbndjfsyKmysService.selectJfsyqkSygcbndjfsyKmysById(id));
}
/**
* 新增经费使用情况_石油工程半年度使用情况预算科目
*/
@Log(title = "经费使用情况_石油工程半年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkSygcbndjfsyKmys jfsyqkSygcbndjfsyKmys)
{
return toAjax(jfsyqkSygcbndjfsyKmysService.insertJfsyqkSygcbndjfsyKmys(jfsyqkSygcbndjfsyKmys));
}
/**
* 修改经费使用情况_石油工程半年度使用情况预算科目
*/
@Log(title = "经费使用情况_石油工程半年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkSygcbndjfsyKmys jfsyqkSygcbndjfsyKmys)
{
return toAjax(jfsyqkSygcbndjfsyKmysService.updateJfsyqkSygcbndjfsyKmys(jfsyqkSygcbndjfsyKmys));
}
/**
* 删除经费使用情况_石油工程半年度使用情况预算科目
*/
@Log(title = "经费使用情况_石油工程半年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkSygcbndjfsyKmysService.deleteJfsyqkSygcbndjfsyKmysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkYdjfsyxxqk;
import com.ruoyi.system.service.IJfsyqkYdjfsyxxqkService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_月度经费使用情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ydjfsyxxqk")
public class JfsyqkYdjfsyxxqkController extends BaseController
{
@Autowired
private IJfsyqkYdjfsyxxqkService jfsyqkYdjfsyxxqkService;
/**
* 查询经费使用情况_月度经费使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkYdjfsyxxqk jfsyqkYdjfsyxxqk)
{
startPage();
List<JfsyqkYdjfsyxxqk> list = jfsyqkYdjfsyxxqkService.selectJfsyqkYdjfsyxxqkList(jfsyqkYdjfsyxxqk);
return getDataTable(list);
}
/**
* 导出经费使用情况_月度经费使用情况列表
*/
@Log(title = "经费使用情况_月度经费使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkYdjfsyxxqk jfsyqkYdjfsyxxqk)
{
List<JfsyqkYdjfsyxxqk> list = jfsyqkYdjfsyxxqkService.selectJfsyqkYdjfsyxxqkList(jfsyqkYdjfsyxxqk);
ExcelUtil<JfsyqkYdjfsyxxqk> util = new ExcelUtil<JfsyqkYdjfsyxxqk>(JfsyqkYdjfsyxxqk.class);
util.exportExcel(response, list, "经费使用情况_月度经费使用情况数据");
}
/**
* 获取经费使用情况_月度经费使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkYdjfsyxxqkService.selectJfsyqkYdjfsyxxqkById(id));
}
/**
* 新增经费使用情况_月度经费使用情况
*/
@Log(title = "经费使用情况_月度经费使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkYdjfsyxxqk jfsyqkYdjfsyxxqk)
{
return toAjax(jfsyqkYdjfsyxxqkService.insertJfsyqkYdjfsyxxqk(jfsyqkYdjfsyxxqk));
}
/**
* 修改经费使用情况_月度经费使用情况
*/
@Log(title = "经费使用情况_月度经费使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkYdjfsyxxqk jfsyqkYdjfsyxxqk)
{
return toAjax(jfsyqkYdjfsyxxqkService.updateJfsyqkYdjfsyxxqk(jfsyqkYdjfsyxxqk));
}
/**
* 删除经费使用情况_月度经费使用情况
*/
@Log(title = "经费使用情况_月度经费使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkYdjfsyxxqkService.deleteJfsyqkYdjfsyxxqkByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfsyqkYdwcgzjz;
import com.ruoyi.system.service.IJfsyqkYdwcgzjzService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况-月度工作进展完成情况Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ydwcgzjz")
public class JfsyqkYdwcgzjzController extends BaseController
{
@Autowired
private IJfsyqkYdwcgzjzService jfsyqkYdwcgzjzService;
/**
* 查询经费使用情况-月度工作进展完成情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkYdwcgzjz jfsyqkYdwcgzjz)
{
startPage();
List<JfsyqkYdwcgzjz> list = jfsyqkYdwcgzjzService.selectJfsyqkYdwcgzjzList(jfsyqkYdwcgzjz);
return getDataTable(list);
}
/**
* 导出经费使用情况-月度工作进展完成情况列表
*/
@Log(title = "经费使用情况-月度工作进展完成情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkYdwcgzjz jfsyqkYdwcgzjz)
{
List<JfsyqkYdwcgzjz> list = jfsyqkYdwcgzjzService.selectJfsyqkYdwcgzjzList(jfsyqkYdwcgzjz);
ExcelUtil<JfsyqkYdwcgzjz> util = new ExcelUtil<JfsyqkYdwcgzjz>(JfsyqkYdwcgzjz.class);
util.exportExcel(response, list, "经费使用情况-月度工作进展完成情况数据");
}
/**
* 获取经费使用情况-月度工作进展完成情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkYdwcgzjzService.selectJfsyqkYdwcgzjzById(id));
}
/**
* 新增经费使用情况-月度工作进展完成情况
*/
@Log(title = "经费使用情况-月度工作进展完成情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkYdwcgzjz jfsyqkYdwcgzjz)
{
return toAjax(jfsyqkYdwcgzjzService.insertJfsyqkYdwcgzjz(jfsyqkYdwcgzjz));
}
/**
* 修改经费使用情况-月度工作进展完成情况
*/
@Log(title = "经费使用情况-月度工作进展完成情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkYdwcgzjz jfsyqkYdwcgzjz)
{
return toAjax(jfsyqkYdwcgzjzService.updateJfsyqkYdwcgzjz(jfsyqkYdwcgzjz));
}
/**
* 删除经费使用情况-月度工作进展完成情况
*/
@Log(title = "经费使用情况-月度工作进展完成情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkYdwcgzjzService.deleteJfsyqkYdwcgzjzByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdysClfCkbz;
import com.ruoyi.system.service.IJfyszbNdysClfCkbzService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度差旅费参考标准Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ckbz")
public class JfyszbNdysClfCkbzController extends BaseController
{
@Autowired
private IJfyszbNdysClfCkbzService jfyszbNdysClfCkbzService;
/**
* 查询预算指标_年度差旅费参考标准列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdysClfCkbz jfyszbNdysClfCkbz)
{
startPage();
List<JfyszbNdysClfCkbz> list = jfyszbNdysClfCkbzService.selectJfyszbNdysClfCkbzList(jfyszbNdysClfCkbz);
return getDataTable(list);
}
/**
* 导出预算指标_年度差旅费参考标准列表
*/
@Log(title = "预算指标_年度差旅费参考标准", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdysClfCkbz jfyszbNdysClfCkbz)
{
List<JfyszbNdysClfCkbz> list = jfyszbNdysClfCkbzService.selectJfyszbNdysClfCkbzList(jfyszbNdysClfCkbz);
ExcelUtil<JfyszbNdysClfCkbz> util = new ExcelUtil<JfyszbNdysClfCkbz>(JfyszbNdysClfCkbz.class);
util.exportExcel(response, list, "预算指标_年度差旅费参考标准数据");
}
/**
* 获取预算指标_年度差旅费参考标准详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysClfCkbzService.selectJfyszbNdysClfCkbzById(id));
}
/**
* 新增预算指标_年度差旅费参考标准
*/
@Log(title = "预算指标_年度差旅费参考标准", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdysClfCkbz jfyszbNdysClfCkbz)
{
return toAjax(jfyszbNdysClfCkbzService.insertJfyszbNdysClfCkbz(jfyszbNdysClfCkbz));
}
/**
* 修改预算指标_年度差旅费参考标准
*/
@Log(title = "预算指标_年度差旅费参考标准", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdysClfCkbz jfyszbNdysClfCkbz)
{
return toAjax(jfyszbNdysClfCkbzService.updateJfyszbNdysClfCkbz(jfyszbNdysClfCkbz));
}
/**
* 删除预算指标_年度差旅费参考标准
*/
@Log(title = "预算指标_年度差旅费参考标准", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysClfCkbzService.deleteJfyszbNdysClfCkbzByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdysClf;
import com.ruoyi.system.service.IJfyszbNdysClfService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度差旅费说明Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ndys/clf")
public class JfyszbNdysClfController extends BaseController
{
@Autowired
private IJfyszbNdysClfService jfyszbNdysClfService;
/**
* 查询预算指标_年度差旅费说明列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdysClf jfyszbNdysClf)
{
startPage();
List<JfyszbNdysClf> list = jfyszbNdysClfService.selectJfyszbNdysClfList(jfyszbNdysClf);
return getDataTable(list);
}
/**
* 导出预算指标_年度差旅费说明列表
*/
@Log(title = "预算指标_年度差旅费说明", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdysClf jfyszbNdysClf)
{
List<JfyszbNdysClf> list = jfyszbNdysClfService.selectJfyszbNdysClfList(jfyszbNdysClf);
ExcelUtil<JfyszbNdysClf> util = new ExcelUtil<JfyszbNdysClf>(JfyszbNdysClf.class);
util.exportExcel(response, list, "预算指标_年度差旅费说明数据");
}
/**
* 获取预算指标_年度差旅费说明详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysClfService.selectJfyszbNdysClfById(id));
}
/**
* 新增预算指标_年度差旅费说明
*/
@Log(title = "预算指标_年度差旅费说明", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdysClf jfyszbNdysClf)
{
return toAjax(jfyszbNdysClfService.insertJfyszbNdysClf(jfyszbNdysClf));
}
/**
* 修改预算指标_年度差旅费说明
*/
@Log(title = "预算指标_年度差旅费说明", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdysClf jfyszbNdysClf)
{
return toAjax(jfyszbNdysClfService.updateJfyszbNdysClf(jfyszbNdysClf));
}
/**
* 删除预算指标_年度差旅费说明
*/
@Log(title = "预算指标_年度差旅费说明", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysClfService.deleteJfyszbNdysClfByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdysClfXx;
import com.ruoyi.system.service.IJfyszbNdysClfXxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度差旅费说明详细内容Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/xx")
public class JfyszbNdysClfXxController extends BaseController
{
@Autowired
private IJfyszbNdysClfXxService jfyszbNdysClfXxService;
/**
* 查询预算指标_年度差旅费说明详细内容列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdysClfXx jfyszbNdysClfXx)
{
startPage();
List<JfyszbNdysClfXx> list = jfyszbNdysClfXxService.selectJfyszbNdysClfXxList(jfyszbNdysClfXx);
return getDataTable(list);
}
/**
* 导出预算指标_年度差旅费说明详细内容列表
*/
@Log(title = "预算指标_年度差旅费说明详细内容", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdysClfXx jfyszbNdysClfXx)
{
List<JfyszbNdysClfXx> list = jfyszbNdysClfXxService.selectJfyszbNdysClfXxList(jfyszbNdysClfXx);
ExcelUtil<JfyszbNdysClfXx> util = new ExcelUtil<JfyszbNdysClfXx>(JfyszbNdysClfXx.class);
util.exportExcel(response, list, "预算指标_年度差旅费说明详细内容数据");
}
/**
* 获取预算指标_年度差旅费说明详细内容详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysClfXxService.selectJfyszbNdysClfXxById(id));
}
/**
* 新增预算指标_年度差旅费说明详细内容
*/
@Log(title = "预算指标_年度差旅费说明详细内容", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdysClfXx jfyszbNdysClfXx)
{
return toAjax(jfyszbNdysClfXxService.insertJfyszbNdysClfXx(jfyszbNdysClfXx));
}
/**
* 修改预算指标_年度差旅费说明详细内容
*/
@Log(title = "预算指标_年度差旅费说明详细内容", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdysClfXx jfyszbNdysClfXx)
{
return toAjax(jfyszbNdysClfXxService.updateJfyszbNdysClfXx(jfyszbNdysClfXx));
}
/**
* 删除预算指标_年度差旅费说明详细内容
*/
@Log(title = "预算指标_年度差旅费说明详细内容", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysClfXxService.deleteJfyszbNdysClfXxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdysClfgz;
import com.ruoyi.system.service.IJfyszbNdysClfgzService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度材料费购置说明Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/clfgz")
public class JfyszbNdysClfgzController extends BaseController
{
@Autowired
private IJfyszbNdysClfgzService jfyszbNdysClfgzService;
/**
* 查询预算指标_年度材料费购置说明列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdysClfgz jfyszbNdysClfgz)
{
startPage();
List<JfyszbNdysClfgz> list = jfyszbNdysClfgzService.selectJfyszbNdysClfgzList(jfyszbNdysClfgz);
return getDataTable(list);
}
/**
* 导出预算指标_年度材料费购置说明列表
*/
@Log(title = "预算指标_年度材料费购置说明", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdysClfgz jfyszbNdysClfgz)
{
List<JfyszbNdysClfgz> list = jfyszbNdysClfgzService.selectJfyszbNdysClfgzList(jfyszbNdysClfgz);
ExcelUtil<JfyszbNdysClfgz> util = new ExcelUtil<JfyszbNdysClfgz>(JfyszbNdysClfgz.class);
util.exportExcel(response, list, "预算指标_年度材料费购置说明数据");
}
/**
* 获取预算指标_年度材料费购置说明详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysClfgzService.selectJfyszbNdysClfgzById(id));
}
/**
* 新增预算指标_年度材料费购置说明
*/
@Log(title = "预算指标_年度材料费购置说明", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdysClfgz jfyszbNdysClfgz)
{
return toAjax(jfyszbNdysClfgzService.insertJfyszbNdysClfgz(jfyszbNdysClfgz));
}
/**
* 修改预算指标_年度材料费购置说明
*/
@Log(title = "预算指标_年度材料费购置说明", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdysClfgz jfyszbNdysClfgz)
{
return toAjax(jfyszbNdysClfgzService.updateJfyszbNdysClfgz(jfyszbNdysClfgz));
}
/**
* 删除预算指标_年度材料费购置说明
*/
@Log(title = "预算指标_年度材料费购置说明", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysClfgzService.deleteJfyszbNdysClfgzByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdysClfgzXx;
import com.ruoyi.system.service.IJfyszbNdysClfgzXxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度材料费购置说明详细内容Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/xx/Clfgz")
public class JfyszbNdysClfgzXxController extends BaseController
{
@Autowired
private IJfyszbNdysClfgzXxService jfyszbNdysClfgzXxService;
/**
* 查询预算指标_年度材料费购置说明详细内容列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdysClfgzXx jfyszbNdysClfgzXx)
{
startPage();
List<JfyszbNdysClfgzXx> list = jfyszbNdysClfgzXxService.selectJfyszbNdysClfgzXxList(jfyszbNdysClfgzXx);
return getDataTable(list);
}
/**
* 导出预算指标_年度材料费购置说明详细内容列表
*/
@Log(title = "预算指标_年度材料费购置说明详细内容", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdysClfgzXx jfyszbNdysClfgzXx)
{
List<JfyszbNdysClfgzXx> list = jfyszbNdysClfgzXxService.selectJfyszbNdysClfgzXxList(jfyszbNdysClfgzXx);
ExcelUtil<JfyszbNdysClfgzXx> util = new ExcelUtil<JfyszbNdysClfgzXx>(JfyszbNdysClfgzXx.class);
util.exportExcel(response, list, "预算指标_年度材料费购置说明详细内容数据");
}
/**
* 获取预算指标_年度材料费购置说明详细内容详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysClfgzXxService.selectJfyszbNdysClfgzXxById(id));
}
/**
* 新增预算指标_年度材料费购置说明详细内容
*/
@Log(title = "预算指标_年度材料费购置说明详细内容", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdysClfgzXx jfyszbNdysClfgzXx)
{
return toAjax(jfyszbNdysClfgzXxService.insertJfyszbNdysClfgzXx(jfyszbNdysClfgzXx));
}
/**
* 修改预算指标_年度材料费购置说明详细内容
*/
@Log(title = "预算指标_年度材料费购置说明详细内容", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdysClfgzXx jfyszbNdysClfgzXx)
{
return toAjax(jfyszbNdysClfgzXxService.updateJfyszbNdysClfgzXx(jfyszbNdysClfgzXx));
}
/**
* 删除预算指标_年度材料费购置说明详细内容
*/
@Log(title = "预算指标_年度材料费购置说明详细内容", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysClfgzXxService.deleteJfyszbNdysClfgzXxByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdys;
import com.ruoyi.system.service.IJfyszbNdysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度预算Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/ndys")
public class JfyszbNdysController extends BaseController
{
@Autowired
private IJfyszbNdysService jfyszbNdysService;
/**
* 查询预算指标_年度预算列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdys jfyszbNdys)
{
startPage();
List<JfyszbNdys> list = jfyszbNdysService.selectJfyszbNdysList(jfyszbNdys);
return getDataTable(list);
}
/**
* 导出预算指标_年度预算列表
*/
@Log(title = "预算指标_年度预算", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdys jfyszbNdys)
{
List<JfyszbNdys> list = jfyszbNdysService.selectJfyszbNdysList(jfyszbNdys);
ExcelUtil<JfyszbNdys> util = new ExcelUtil<JfyszbNdys>(JfyszbNdys.class);
util.exportExcel(response, list, "预算指标_年度预算数据");
}
/**
* 获取预算指标_年度预算详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysService.selectJfyszbNdysById(id));
}
/**
* 新增预算指标_年度预算
*/
@Log(title = "预算指标_年度预算", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdys jfyszbNdys)
{
return toAjax(jfyszbNdysService.insertJfyszbNdys(jfyszbNdys));
}
/**
* 修改预算指标_年度预算
*/
@Log(title = "预算指标_年度预算", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdys jfyszbNdys)
{
return toAjax(jfyszbNdysService.updateJfyszbNdys(jfyszbNdys));
}
/**
* 删除预算指标_年度预算
*/
@Log(title = "预算指标_年度预算", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysService.deleteJfyszbNdysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdysKmys;
import com.ruoyi.system.service.IJfyszbNdysKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度科目预算Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/kmys/JfyszbNdys")
public class JfyszbNdysKmysController extends BaseController
{
@Autowired
private IJfyszbNdysKmysService jfyszbNdysKmysService;
/**
* 查询预算指标_年度科目预算列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdysKmys jfyszbNdysKmys)
{
startPage();
List<JfyszbNdysKmys> list = jfyszbNdysKmysService.selectJfyszbNdysKmysList(jfyszbNdysKmys);
return getDataTable(list);
}
/**
* 导出预算指标_年度科目预算列表
*/
@Log(title = "预算指标_年度科目预算", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdysKmys jfyszbNdysKmys)
{
List<JfyszbNdysKmys> list = jfyszbNdysKmysService.selectJfyszbNdysKmysList(jfyszbNdysKmys);
ExcelUtil<JfyszbNdysKmys> util = new ExcelUtil<JfyszbNdysKmys>(JfyszbNdysKmys.class);
util.exportExcel(response, list, "预算指标_年度科目预算数据");
}
/**
* 获取预算指标_年度科目预算详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysKmysService.selectJfyszbNdysKmysById(id));
}
/**
* 新增预算指标_年度科目预算
*/
@Log(title = "预算指标_年度科目预算", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdysKmys jfyszbNdysKmys)
{
return toAjax(jfyszbNdysKmysService.insertJfyszbNdysKmys(jfyszbNdysKmys));
}
/**
* 修改预算指标_年度科目预算
*/
@Log(title = "预算指标_年度科目预算", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdysKmys jfyszbNdysKmys)
{
return toAjax(jfyszbNdysKmysService.updateJfyszbNdysKmys(jfyszbNdysKmys));
}
/**
* 删除预算指标_年度科目预算
*/
@Log(title = "预算指标_年度科目预算", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysKmysService.deleteJfyszbNdysKmysByIds(ids));
}
}
package com.ruoyi.system.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.JfyszbNdysTszlf;
import com.ruoyi.system.service.IJfyszbNdysTszlfService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预算指标_年度图书资料费说明Controller
*
* @author ruoyi
* @date 2025-02-25
*/
@RestController
@RequestMapping("/system/tszlf")
public class JfyszbNdysTszlfController extends BaseController
{
@Autowired
private IJfyszbNdysTszlfService jfyszbNdysTszlfService;
/**
* 查询预算指标_年度图书资料费说明列表
*/
@GetMapping("/list")
public TableDataInfo list(JfyszbNdysTszlf jfyszbNdysTszlf)
{
startPage();
List<JfyszbNdysTszlf> list = jfyszbNdysTszlfService.selectJfyszbNdysTszlfList(jfyszbNdysTszlf);
return getDataTable(list);
}
/**
* 导出预算指标_年度图书资料费说明列表
*/
@Log(title = "预算指标_年度图书资料费说明", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfyszbNdysTszlf jfyszbNdysTszlf)
{
List<JfyszbNdysTszlf> list = jfyszbNdysTszlfService.selectJfyszbNdysTszlfList(jfyszbNdysTszlf);
ExcelUtil<JfyszbNdysTszlf> util = new ExcelUtil<JfyszbNdysTszlf>(JfyszbNdysTszlf.class);
util.exportExcel(response, list, "预算指标_年度图书资料费说明数据");
}
/**
* 获取预算指标_年度图书资料费说明详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfyszbNdysTszlfService.selectJfyszbNdysTszlfById(id));
}
/**
* 新增预算指标_年度图书资料费说明
*/
@Log(title = "预算指标_年度图书资料费说明", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfyszbNdysTszlf jfyszbNdysTszlf)
{
return toAjax(jfyszbNdysTszlfService.insertJfyszbNdysTszlf(jfyszbNdysTszlf));
}
/**
* 修改预算指标_年度图书资料费说明
*/
@Log(title = "预算指标_年度图书资料费说明", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfyszbNdysTszlf jfyszbNdysTszlf)
{
return toAjax(jfyszbNdysTszlfService.updateJfyszbNdysTszlf(jfyszbNdysTszlf));
}
/**
* 删除预算指标_年度图书资料费说明
*/
@Log(title = "预算指标_年度图书资料费说明", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfyszbNdysTszlfService.deleteJfyszbNdysTszlfByIds(ids));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment