Commit 85e03274 by xty

250515-1

parent 6b27fdea
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.ErpWbsbh;
import com.ruoyi.system.service.IErpWbsbhService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* ERP管理-WBS编号Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/wbsbh")
public class ErpWbsbhController extends BaseController
{
@Autowired
private IErpWbsbhService erpWbsbhService;
/**
* 查询ERP管理-WBS编号列表
*/
@GetMapping("/list")
public TableDataInfo list(ErpWbsbh erpWbsbh)
{
startPage();
List<ErpWbsbh> list = erpWbsbhService.selectErpWbsbhList(erpWbsbh);
return getDataTable(list);
}
/**
* 导出ERP管理-WBS编号列表
*/
@Log(title = "ERP管理-WBS编号", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ErpWbsbh erpWbsbh)
{
List<ErpWbsbh> list = erpWbsbhService.selectErpWbsbhList(erpWbsbh);
ExcelUtil<ErpWbsbh> util = new ExcelUtil<ErpWbsbh>(ErpWbsbh.class);
util.exportExcel(response, list, "ERP管理-WBS编号数据");
}
/**
* 获取ERP管理-WBS编号详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(erpWbsbhService.selectErpWbsbhById(id));
}
/**
* 新增ERP管理-WBS编号
*/
@Log(title = "ERP管理-WBS编号", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ErpWbsbh erpWbsbh)
{
return toAjax(erpWbsbhService.insertErpWbsbh(erpWbsbh));
}
/**
* 修改ERP管理-WBS编号
*/
@Log(title = "ERP管理-WBS编号", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ErpWbsbh erpWbsbh)
{
return toAjax(erpWbsbhService.updateErpWbsbh(erpWbsbh));
}
/**
* 删除ERP管理-WBS编号
*/
@Log(title = "ERP管理-WBS编号", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(erpWbsbhService.deleteErpWbsbhByIds(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.ErpWbsbhJfys;
import com.ruoyi.system.service.IErpWbsbhJfysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* ERP管理-WBS编号_经费预算Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/jfys")
public class ErpWbsbhJfysController extends BaseController
{
@Autowired
private IErpWbsbhJfysService erpWbsbhJfysService;
/**
* 查询ERP管理-WBS编号_经费预算列表
*/
@GetMapping("/list")
public TableDataInfo list(ErpWbsbhJfys erpWbsbhJfys)
{
startPage();
List<ErpWbsbhJfys> list = erpWbsbhJfysService.selectErpWbsbhJfysList(erpWbsbhJfys);
return getDataTable(list);
}
/**
* 导出ERP管理-WBS编号_经费预算列表
*/
@Log(title = "ERP管理-WBS编号_经费预算", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ErpWbsbhJfys erpWbsbhJfys)
{
List<ErpWbsbhJfys> list = erpWbsbhJfysService.selectErpWbsbhJfysList(erpWbsbhJfys);
ExcelUtil<ErpWbsbhJfys> util = new ExcelUtil<ErpWbsbhJfys>(ErpWbsbhJfys.class);
util.exportExcel(response, list, "ERP管理-WBS编号_经费预算数据");
}
/**
* 获取ERP管理-WBS编号_经费预算详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(erpWbsbhJfysService.selectErpWbsbhJfysById(id));
}
/**
* 新增ERP管理-WBS编号_经费预算
*/
@Log(title = "ERP管理-WBS编号_经费预算", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ErpWbsbhJfys erpWbsbhJfys)
{
return toAjax(erpWbsbhJfysService.insertErpWbsbhJfys(erpWbsbhJfys));
}
/**
* 修改ERP管理-WBS编号_经费预算
*/
@Log(title = "ERP管理-WBS编号_经费预算", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ErpWbsbhJfys erpWbsbhJfys)
{
return toAjax(erpWbsbhJfysService.updateErpWbsbhJfys(erpWbsbhJfys));
}
/**
* 删除ERP管理-WBS编号_经费预算
*/
@Log(title = "ERP管理-WBS编号_经费预算", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(erpWbsbhJfysService.deleteErpWbsbhJfysByIds(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.ErpWbsbhXdxx;
import com.ruoyi.system.service.IErpWbsbhXdxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* ERP管理-WBS编号_下达信息Controller
*
* @author ruoyi
* @date 2025-02-17
*/
@RestController
@RequestMapping("/system/xdxx")
public class ErpWbsbhXdxxController extends BaseController
{
@Autowired
private IErpWbsbhXdxxService erpWbsbhXdxxService;
/**
* 查询ERP管理-WBS编号_下达信息列表
*/
@GetMapping("/list")
public TableDataInfo list(ErpWbsbhXdxx erpWbsbhXdxx)
{
startPage();
List<ErpWbsbhXdxx> list = erpWbsbhXdxxService.selectErpWbsbhXdxxList(erpWbsbhXdxx);
return getDataTable(list);
}
/**
* 导出ERP管理-WBS编号_下达信息列表
*/
@Log(title = "ERP管理-WBS编号_下达信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ErpWbsbhXdxx erpWbsbhXdxx)
{
List<ErpWbsbhXdxx> list = erpWbsbhXdxxService.selectErpWbsbhXdxxList(erpWbsbhXdxx);
ExcelUtil<ErpWbsbhXdxx> util = new ExcelUtil<ErpWbsbhXdxx>(ErpWbsbhXdxx.class);
util.exportExcel(response, list, "ERP管理-WBS编号_下达信息数据");
}
/**
* 获取ERP管理-WBS编号_下达信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(erpWbsbhXdxxService.selectErpWbsbhXdxxById(id));
}
/**
* 新增ERP管理-WBS编号_下达信息
*/
@Log(title = "ERP管理-WBS编号_下达信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ErpWbsbhXdxx erpWbsbhXdxx)
{
return toAjax(erpWbsbhXdxxService.insertErpWbsbhXdxx(erpWbsbhXdxx));
}
/**
* 修改ERP管理-WBS编号_下达信息
*/
@Log(title = "ERP管理-WBS编号_下达信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ErpWbsbhXdxx erpWbsbhXdxx)
{
return toAjax(erpWbsbhXdxxService.updateErpWbsbhXdxx(erpWbsbhXdxx));
}
/**
* 删除ERP管理-WBS编号_下达信息
*/
@Log(title = "ERP管理-WBS编号_下达信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(erpWbsbhXdxxService.deleteErpWbsbhXdxxByIds(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.HistoryProject;
import com.ruoyi.system.service.IHistoryProjectService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 历史项目Controller
*
* @author ruoyi
* @date 2024-11-18
*/
@RestController
@RequestMapping("/api/scientific/project")
public class HistoryProjectController extends BaseController
{
@Autowired
private IHistoryProjectService historyProjectService;
/**
* 查询历史项目列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProject historyProject)
{
startPage();
List<HistoryProject> list = historyProjectService.selectHistoryProjectList(historyProject);
return getDataTable(list);
}
/**
* 导出历史项目列表
*/
@PreAuthorize("@ss.hasPermi('system:project:export')")
@Log(title = "历史项目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProject historyProject)
{
List<HistoryProject> list = historyProjectService.selectHistoryProjectList(historyProject);
ExcelUtil<HistoryProject> util = new ExcelUtil<HistoryProject>(HistoryProject.class);
util.exportExcel(response, list, "历史项目数据");
}
/**
* 获取历史项目详细信息
*/
@PreAuthorize("@ss.hasPermi('system:project:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return success(historyProjectService.selectHistoryProjectById(id));
}
/**
* 新增历史项目
*/
@PreAuthorize("@ss.hasPermi('system:project:add')")
@Log(title = "历史项目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProject historyProject)
{
return toAjax(historyProjectService.insertHistoryProject(historyProject));
}
/**
* 修改历史项目
*/
@PreAuthorize("@ss.hasPermi('system:project:edit')")
@Log(title = "历史项目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProject historyProject)
{
return toAjax(historyProjectService.updateHistoryProject(historyProject));
}
/**
* 删除历史项目
*/
@PreAuthorize("@ss.hasPermi('system:project:remove')")
@Log(title = "历史项目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(historyProjectService.deleteHistoryProjectByIds(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.HistoryProjectHtrwsJbxx;
import com.ruoyi.system.service.IHistoryProjectHtrwsJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同(任务书)项目(课题)基本信息Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jbxx/Htrws")
public class HistoryProjectHtrwsJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtrwsJbxxService historyProjectHtrwsJbxxService;
/**
* 查询合同(任务书)项目(课题)基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtrwsJbxx historyProjectHtrwsJbxx)
{
startPage();
List<HistoryProjectHtrwsJbxx> list = historyProjectHtrwsJbxxService.selectHistoryProjectHtrwsJbxxList(historyProjectHtrwsJbxx);
return getDataTable(list);
}
/**
* 导出合同(任务书)项目(课题)基本信息列表
*/
@Log(title = "合同(任务书)项目(课题)基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtrwsJbxx historyProjectHtrwsJbxx)
{
List<HistoryProjectHtrwsJbxx> list = historyProjectHtrwsJbxxService.selectHistoryProjectHtrwsJbxxList(historyProjectHtrwsJbxx);
ExcelUtil<HistoryProjectHtrwsJbxx> util = new ExcelUtil<HistoryProjectHtrwsJbxx>(HistoryProjectHtrwsJbxx.class);
util.exportExcel(response, list, "合同(任务书)项目(课题)基本信息数据");
}
/**
* 获取合同(任务书)项目(课题)基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtrwsJbxxService.selectHistoryProjectHtrwsJbxxById(id));
}
/**
* 新增合同(任务书)项目(课题)基本信息
*/
@Log(title = "合同(任务书)项目(课题)基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtrwsJbxx historyProjectHtrwsJbxx)
{
return toAjax(historyProjectHtrwsJbxxService.insertHistoryProjectHtrwsJbxx(historyProjectHtrwsJbxx));
}
/**
* 修改合同(任务书)项目(课题)基本信息
*/
@Log(title = "合同(任务书)项目(课题)基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtrwsJbxx historyProjectHtrwsJbxx)
{
return toAjax(historyProjectHtrwsJbxxService.updateHistoryProjectHtrwsJbxx(historyProjectHtrwsJbxx));
}
/**
* 删除合同(任务书)项目(课题)基本信息
*/
@Log(title = "合同(任务书)项目(课题)基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtrwsJbxxService.deleteHistoryProjectHtrwsJbxxByIds(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.HistoryProjectHtrwsJbxxNdjf;
import com.ruoyi.system.service.IHistoryProjectHtrwsJbxxNdjfService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同(任务书)项目(课题)基本信息_年度经费Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/ndjf")
public class HistoryProjectHtrwsJbxxNdjfController extends BaseController
{
@Autowired
private IHistoryProjectHtrwsJbxxNdjfService historyProjectHtrwsJbxxNdjfService;
/**
* 查询合同(任务书)项目(课题)基本信息_年度经费列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtrwsJbxxNdjf historyProjectHtrwsJbxxNdjf)
{
startPage();
List<HistoryProjectHtrwsJbxxNdjf> list = historyProjectHtrwsJbxxNdjfService.selectHistoryProjectHtrwsJbxxNdjfList(historyProjectHtrwsJbxxNdjf);
return getDataTable(list);
}
/**
* 导出合同(任务书)项目(课题)基本信息_年度经费列表
*/
@Log(title = "合同(任务书)项目(课题)基本信息_年度经费", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtrwsJbxxNdjf historyProjectHtrwsJbxxNdjf)
{
List<HistoryProjectHtrwsJbxxNdjf> list = historyProjectHtrwsJbxxNdjfService.selectHistoryProjectHtrwsJbxxNdjfList(historyProjectHtrwsJbxxNdjf);
ExcelUtil<HistoryProjectHtrwsJbxxNdjf> util = new ExcelUtil<HistoryProjectHtrwsJbxxNdjf>(HistoryProjectHtrwsJbxxNdjf.class);
util.exportExcel(response, list, "合同(任务书)项目(课题)基本信息_年度经费数据");
}
/**
* 获取合同(任务书)项目(课题)基本信息_年度经费详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtrwsJbxxNdjfService.selectHistoryProjectHtrwsJbxxNdjfById(id));
}
/**
* 新增合同(任务书)项目(课题)基本信息_年度经费
*/
@Log(title = "合同(任务书)项目(课题)基本信息_年度经费", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtrwsJbxxNdjf historyProjectHtrwsJbxxNdjf)
{
return toAjax(historyProjectHtrwsJbxxNdjfService.insertHistoryProjectHtrwsJbxxNdjf(historyProjectHtrwsJbxxNdjf));
}
/**
* 修改合同(任务书)项目(课题)基本信息_年度经费
*/
@Log(title = "合同(任务书)项目(课题)基本信息_年度经费", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtrwsJbxxNdjf historyProjectHtrwsJbxxNdjf)
{
return toAjax(historyProjectHtrwsJbxxNdjfService.updateHistoryProjectHtrwsJbxxNdjf(historyProjectHtrwsJbxxNdjf));
}
/**
* 删除合同(任务书)项目(课题)基本信息_年度经费
*/
@Log(title = "合同(任务书)项目(课题)基本信息_年度经费", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtrwsJbxxNdjfService.deleteHistoryProjectHtrwsJbxxNdjfByIds(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.HistoryProjectHtwtxyJbxx;
import com.ruoyi.system.service.IHistoryProjectHtwtxyJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 委托协议基本信息Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jbxx/Htwtxy")
public class HistoryProjectHtwtxyJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtwtxyJbxxService historyProjectHtwtxyJbxxService;
/**
* 查询委托协议基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtwtxyJbxx historyProjectHtwtxyJbxx)
{
startPage();
List<HistoryProjectHtwtxyJbxx> list = historyProjectHtwtxyJbxxService.selectHistoryProjectHtwtxyJbxxList(historyProjectHtwtxyJbxx);
return getDataTable(list);
}
/**
* 导出委托协议基本信息列表
*/
@Log(title = "委托协议基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtwtxyJbxx historyProjectHtwtxyJbxx)
{
List<HistoryProjectHtwtxyJbxx> list = historyProjectHtwtxyJbxxService.selectHistoryProjectHtwtxyJbxxList(historyProjectHtwtxyJbxx);
ExcelUtil<HistoryProjectHtwtxyJbxx> util = new ExcelUtil<HistoryProjectHtwtxyJbxx>(HistoryProjectHtwtxyJbxx.class);
util.exportExcel(response, list, "委托协议基本信息数据");
}
/**
* 获取委托协议基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtwtxyJbxxService.selectHistoryProjectHtwtxyJbxxById(id));
}
/**
* 新增委托协议基本信息
*/
@Log(title = "委托协议基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtwtxyJbxx historyProjectHtwtxyJbxx)
{
return toAjax(historyProjectHtwtxyJbxxService.insertHistoryProjectHtwtxyJbxx(historyProjectHtwtxyJbxx));
}
/**
* 修改委托协议基本信息
*/
@Log(title = "委托协议基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtwtxyJbxx historyProjectHtwtxyJbxx)
{
return toAjax(historyProjectHtwtxyJbxxService.updateHistoryProjectHtwtxyJbxx(historyProjectHtwtxyJbxx));
}
/**
* 删除委托协议基本信息
*/
@Log(title = "委托协议基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtwtxyJbxxService.deleteHistoryProjectHtwtxyJbxxByIds(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.HistoryProjectHtwtxyJbxxFyfpmx;
import com.ruoyi.system.service.IHistoryProjectHtwtxyJbxxFyfpmxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 委托协议基本信息_费用分配明细Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/fyfpmx")
public class HistoryProjectHtwtxyJbxxFyfpmxController extends BaseController
{
@Autowired
private IHistoryProjectHtwtxyJbxxFyfpmxService historyProjectHtwtxyJbxxFyfpmxService;
/**
* 查询委托协议基本信息_费用分配明细列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtwtxyJbxxFyfpmx historyProjectHtwtxyJbxxFyfpmx)
{
startPage();
List<HistoryProjectHtwtxyJbxxFyfpmx> list = historyProjectHtwtxyJbxxFyfpmxService.selectHistoryProjectHtwtxyJbxxFyfpmxList(historyProjectHtwtxyJbxxFyfpmx);
return getDataTable(list);
}
/**
* 导出委托协议基本信息_费用分配明细列表
*/
@Log(title = "委托协议基本信息_费用分配明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtwtxyJbxxFyfpmx historyProjectHtwtxyJbxxFyfpmx)
{
List<HistoryProjectHtwtxyJbxxFyfpmx> list = historyProjectHtwtxyJbxxFyfpmxService.selectHistoryProjectHtwtxyJbxxFyfpmxList(historyProjectHtwtxyJbxxFyfpmx);
ExcelUtil<HistoryProjectHtwtxyJbxxFyfpmx> util = new ExcelUtil<HistoryProjectHtwtxyJbxxFyfpmx>(HistoryProjectHtwtxyJbxxFyfpmx.class);
util.exportExcel(response, list, "委托协议基本信息_费用分配明细数据");
}
/**
* 获取委托协议基本信息_费用分配明细详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtwtxyJbxxFyfpmxService.selectHistoryProjectHtwtxyJbxxFyfpmxById(id));
}
/**
* 新增委托协议基本信息_费用分配明细
*/
@Log(title = "委托协议基本信息_费用分配明细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtwtxyJbxxFyfpmx historyProjectHtwtxyJbxxFyfpmx)
{
return toAjax(historyProjectHtwtxyJbxxFyfpmxService.insertHistoryProjectHtwtxyJbxxFyfpmx(historyProjectHtwtxyJbxxFyfpmx));
}
/**
* 修改委托协议基本信息_费用分配明细
*/
@Log(title = "委托协议基本信息_费用分配明细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtwtxyJbxxFyfpmx historyProjectHtwtxyJbxxFyfpmx)
{
return toAjax(historyProjectHtwtxyJbxxFyfpmxService.updateHistoryProjectHtwtxyJbxxFyfpmx(historyProjectHtwtxyJbxxFyfpmx));
}
/**
* 删除委托协议基本信息_费用分配明细
*/
@Log(title = "委托协议基本信息_费用分配明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtwtxyJbxxFyfpmxService.deleteHistoryProjectHtwtxyJbxxFyfpmxByIds(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.HistoryProjectHtwxxmJbxx;
import com.ruoyi.system.service.IHistoryProjectHtwxxmJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)外协项目基本信息Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jbxx/Htwxxm")
public class HistoryProjectHtwxxmJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtwxxmJbxxService historyProjectHtwxxmJbxxService;
/**
* 查询项目(课题)外协项目基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtwxxmJbxx historyProjectHtwxxmJbxx)
{
startPage();
List<HistoryProjectHtwxxmJbxx> list = historyProjectHtwxxmJbxxService.selectHistoryProjectHtwxxmJbxxList(historyProjectHtwxxmJbxx);
return getDataTable(list);
}
/**
* 导出项目(课题)外协项目基本信息列表
*/
@Log(title = "项目(课题)外协项目基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtwxxmJbxx historyProjectHtwxxmJbxx)
{
List<HistoryProjectHtwxxmJbxx> list = historyProjectHtwxxmJbxxService.selectHistoryProjectHtwxxmJbxxList(historyProjectHtwxxmJbxx);
ExcelUtil<HistoryProjectHtwxxmJbxx> util = new ExcelUtil<HistoryProjectHtwxxmJbxx>(HistoryProjectHtwxxmJbxx.class);
util.exportExcel(response, list, "项目(课题)外协项目基本信息数据");
}
/**
* 获取项目(课题)外协项目基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtwxxmJbxxService.selectHistoryProjectHtwxxmJbxxById(id));
}
/**
* 新增项目(课题)外协项目基本信息
*/
@Log(title = "项目(课题)外协项目基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtwxxmJbxx historyProjectHtwxxmJbxx)
{
return toAjax(historyProjectHtwxxmJbxxService.insertHistoryProjectHtwxxmJbxx(historyProjectHtwxxmJbxx));
}
/**
* 修改项目(课题)外协项目基本信息
*/
@Log(title = "项目(课题)外协项目基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtwxxmJbxx historyProjectHtwxxmJbxx)
{
return toAjax(historyProjectHtwxxmJbxxService.updateHistoryProjectHtwxxmJbxx(historyProjectHtwxxmJbxx));
}
/**
* 删除项目(课题)外协项目基本信息
*/
@Log(title = "项目(课题)外协项目基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtwxxmJbxxService.deleteHistoryProjectHtwxxmJbxxByIds(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.HistoryProjectHtysJbxx;
import com.ruoyi.system.service.IHistoryProjectHtysJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目验收信息Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jbxx/Htys")
public class HistoryProjectHtysJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtysJbxxService historyProjectHtysJbxxService;
/**
* 查询项目验收信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtysJbxx historyProjectHtysJbxx)
{
startPage();
List<HistoryProjectHtysJbxx> list = historyProjectHtysJbxxService.selectHistoryProjectHtysJbxxList(historyProjectHtysJbxx);
return getDataTable(list);
}
/**
* 导出项目验收信息列表
*/
@Log(title = "项目验收信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtysJbxx historyProjectHtysJbxx)
{
List<HistoryProjectHtysJbxx> list = historyProjectHtysJbxxService.selectHistoryProjectHtysJbxxList(historyProjectHtysJbxx);
ExcelUtil<HistoryProjectHtysJbxx> util = new ExcelUtil<HistoryProjectHtysJbxx>(HistoryProjectHtysJbxx.class);
util.exportExcel(response, list, "项目验收信息数据");
}
/**
* 获取项目验收信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtysJbxxService.selectHistoryProjectHtysJbxxById(id));
}
/**
* 新增项目验收信息
*/
@Log(title = "项目验收信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtysJbxx historyProjectHtysJbxx)
{
return toAjax(historyProjectHtysJbxxService.insertHistoryProjectHtysJbxx(historyProjectHtysJbxx));
}
/**
* 修改项目验收信息
*/
@Log(title = "项目验收信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtysJbxx historyProjectHtysJbxx)
{
return toAjax(historyProjectHtysJbxxService.updateHistoryProjectHtysJbxx(historyProjectHtysJbxx));
}
/**
* 删除项目验收信息
*/
@Log(title = "项目验收信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtysJbxxService.deleteHistoryProjectHtysJbxxByIds(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.HistoryProjectHtyysJbxx;
import com.ruoyi.system.service.IHistoryProjectHtyysJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 预验收信息Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jbxx/Htyys")
public class HistoryProjectHtyysJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtyysJbxxService historyProjectHtyysJbxxService;
/**
* 查询预验收信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtyysJbxx historyProjectHtyysJbxx)
{
startPage();
List<HistoryProjectHtyysJbxx> list = historyProjectHtyysJbxxService.selectHistoryProjectHtyysJbxxList(historyProjectHtyysJbxx);
return getDataTable(list);
}
/**
* 导出预验收信息列表
*/
@Log(title = "预验收信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtyysJbxx historyProjectHtyysJbxx)
{
List<HistoryProjectHtyysJbxx> list = historyProjectHtyysJbxxService.selectHistoryProjectHtyysJbxxList(historyProjectHtyysJbxx);
ExcelUtil<HistoryProjectHtyysJbxx> util = new ExcelUtil<HistoryProjectHtyysJbxx>(HistoryProjectHtyysJbxx.class);
util.exportExcel(response, list, "预验收信息数据");
}
/**
* 获取预验收信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtyysJbxxService.selectHistoryProjectHtyysJbxxById(id));
}
/**
* 新增预验收信息
*/
@Log(title = "预验收信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtyysJbxx historyProjectHtyysJbxx)
{
return toAjax(historyProjectHtyysJbxxService.insertHistoryProjectHtyysJbxx(historyProjectHtyysJbxx));
}
/**
* 修改预验收信息
*/
@Log(title = "预验收信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtyysJbxx historyProjectHtyysJbxx)
{
return toAjax(historyProjectHtyysJbxxService.updateHistoryProjectHtyysJbxx(historyProjectHtyysJbxx));
}
/**
* 删除预验收信息
*/
@Log(title = "预验收信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtyysJbxxService.deleteHistoryProjectHtyysJbxxByIds(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.HistoryProjectHtzjJbxx;
import com.ruoyi.system.service.IHistoryProjectHtzjJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目中检信息Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jbxx/Htzj")
public class HistoryProjectHtzjJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtzjJbxxService historyProjectHtzjJbxxService;
/**
* 查询项目中检信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtzjJbxx historyProjectHtzjJbxx)
{
startPage();
List<HistoryProjectHtzjJbxx> list = historyProjectHtzjJbxxService.selectHistoryProjectHtzjJbxxList(historyProjectHtzjJbxx);
return getDataTable(list);
}
/**
* 导出项目中检信息列表
*/
@Log(title = "项目中检信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtzjJbxx historyProjectHtzjJbxx)
{
List<HistoryProjectHtzjJbxx> list = historyProjectHtzjJbxxService.selectHistoryProjectHtzjJbxxList(historyProjectHtzjJbxx);
ExcelUtil<HistoryProjectHtzjJbxx> util = new ExcelUtil<HistoryProjectHtzjJbxx>(HistoryProjectHtzjJbxx.class);
util.exportExcel(response, list, "项目中检信息数据");
}
/**
* 获取项目中检信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtzjJbxxService.selectHistoryProjectHtzjJbxxById(id));
}
/**
* 新增项目中检信息
*/
@Log(title = "项目中检信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtzjJbxx historyProjectHtzjJbxx)
{
return toAjax(historyProjectHtzjJbxxService.insertHistoryProjectHtzjJbxx(historyProjectHtzjJbxx));
}
/**
* 修改项目中检信息
*/
@Log(title = "项目中检信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtzjJbxx historyProjectHtzjJbxx)
{
return toAjax(historyProjectHtzjJbxxService.updateHistoryProjectHtzjJbxx(historyProjectHtzjJbxx));
}
/**
* 删除项目中检信息
*/
@Log(title = "项目中检信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtzjJbxxService.deleteHistoryProjectHtzjJbxxByIds(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.HistoryProjectHtzscqcgJbxx;
import com.ruoyi.system.service.IHistoryProjectHtzscqcgJbxxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 项目(课题)知识产权成果基本信息Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jbxx/Htzscqcg")
public class HistoryProjectHtzscqcgJbxxController extends BaseController
{
@Autowired
private IHistoryProjectHtzscqcgJbxxService historyProjectHtzscqcgJbxxService;
/**
* 查询项目(课题)知识产权成果基本信息列表
*/
@GetMapping("/list")
public TableDataInfo list(HistoryProjectHtzscqcgJbxx historyProjectHtzscqcgJbxx)
{
startPage();
List<HistoryProjectHtzscqcgJbxx> list = historyProjectHtzscqcgJbxxService.selectHistoryProjectHtzscqcgJbxxList(historyProjectHtzscqcgJbxx);
return getDataTable(list);
}
/**
* 导出项目(课题)知识产权成果基本信息列表
*/
@Log(title = "项目(课题)知识产权成果基本信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HistoryProjectHtzscqcgJbxx historyProjectHtzscqcgJbxx)
{
List<HistoryProjectHtzscqcgJbxx> list = historyProjectHtzscqcgJbxxService.selectHistoryProjectHtzscqcgJbxxList(historyProjectHtzscqcgJbxx);
ExcelUtil<HistoryProjectHtzscqcgJbxx> util = new ExcelUtil<HistoryProjectHtzscqcgJbxx>(HistoryProjectHtzscqcgJbxx.class);
util.exportExcel(response, list, "项目(课题)知识产权成果基本信息数据");
}
/**
* 获取项目(课题)知识产权成果基本信息详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(historyProjectHtzscqcgJbxxService.selectHistoryProjectHtzscqcgJbxxById(id));
}
/**
* 新增项目(课题)知识产权成果基本信息
*/
@Log(title = "项目(课题)知识产权成果基本信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HistoryProjectHtzscqcgJbxx historyProjectHtzscqcgJbxx)
{
return toAjax(historyProjectHtzscqcgJbxxService.insertHistoryProjectHtzscqcgJbxx(historyProjectHtzscqcgJbxx));
}
/**
* 修改项目(课题)知识产权成果基本信息
*/
@Log(title = "项目(课题)知识产权成果基本信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HistoryProjectHtzscqcgJbxx historyProjectHtzscqcgJbxx)
{
return toAjax(historyProjectHtzscqcgJbxxService.updateHistoryProjectHtzscqcgJbxx(historyProjectHtzscqcgJbxx));
}
/**
* 删除项目(课题)知识产权成果基本信息
*/
@Log(title = "项目(课题)知识产权成果基本信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(historyProjectHtzscqcgJbxxService.deleteHistoryProjectHtzscqcgJbxxByIds(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.HtjhDqwlgsxmndjfys;
import com.ruoyi.system.service.IHtjhDqwlgsxmndjfysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-地球物理公司项目年度经费预算主Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/dqwlgsxmndjfys")
public class HtjhDqwlgsxmndjfysController extends BaseController
{
@Autowired
private IHtjhDqwlgsxmndjfysService htjhDqwlgsxmndjfysService;
/**
* 查询合同计划-地球物理公司项目年度经费预算主列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhDqwlgsxmndjfys htjhDqwlgsxmndjfys)
{
startPage();
List<HtjhDqwlgsxmndjfys> list = htjhDqwlgsxmndjfysService.selectHtjhDqwlgsxmndjfysList(htjhDqwlgsxmndjfys);
return getDataTable(list);
}
/**
* 导出合同计划-地球物理公司项目年度经费预算主列表
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算主", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhDqwlgsxmndjfys htjhDqwlgsxmndjfys)
{
List<HtjhDqwlgsxmndjfys> list = htjhDqwlgsxmndjfysService.selectHtjhDqwlgsxmndjfysList(htjhDqwlgsxmndjfys);
ExcelUtil<HtjhDqwlgsxmndjfys> util = new ExcelUtil<HtjhDqwlgsxmndjfys>(HtjhDqwlgsxmndjfys.class);
util.exportExcel(response, list, "合同计划-地球物理公司项目年度经费预算主数据");
}
/**
* 获取合同计划-地球物理公司项目年度经费预算主详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhDqwlgsxmndjfysService.selectHtjhDqwlgsxmndjfysById(id));
}
/**
* 新增合同计划-地球物理公司项目年度经费预算主
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算主", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhDqwlgsxmndjfys htjhDqwlgsxmndjfys)
{
return toAjax(htjhDqwlgsxmndjfysService.insertHtjhDqwlgsxmndjfys(htjhDqwlgsxmndjfys));
}
/**
* 修改合同计划-地球物理公司项目年度经费预算主
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算主", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhDqwlgsxmndjfys htjhDqwlgsxmndjfys)
{
return toAjax(htjhDqwlgsxmndjfysService.updateHtjhDqwlgsxmndjfys(htjhDqwlgsxmndjfys));
}
/**
* 删除合同计划-地球物理公司项目年度经费预算主
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算主", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhDqwlgsxmndjfysService.deleteHtjhDqwlgsxmndjfysByIds(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.HtjhDqwlgsxmndjfysKmys;
import com.ruoyi.system.service.IHtjhDqwlgsxmndjfysKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-地球物理公司项目年度经费预算科目Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/kmys")
public class HtjhDqwlgsxmndjfysKmysController extends BaseController
{
@Autowired
private IHtjhDqwlgsxmndjfysKmysService htjhDqwlgsxmndjfysKmysService;
/**
* 查询合同计划-地球物理公司项目年度经费预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhDqwlgsxmndjfysKmys htjhDqwlgsxmndjfysKmys)
{
startPage();
List<HtjhDqwlgsxmndjfysKmys> list = htjhDqwlgsxmndjfysKmysService.selectHtjhDqwlgsxmndjfysKmysList(htjhDqwlgsxmndjfysKmys);
return getDataTable(list);
}
/**
* 导出合同计划-地球物理公司项目年度经费预算科目列表
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhDqwlgsxmndjfysKmys htjhDqwlgsxmndjfysKmys)
{
List<HtjhDqwlgsxmndjfysKmys> list = htjhDqwlgsxmndjfysKmysService.selectHtjhDqwlgsxmndjfysKmysList(htjhDqwlgsxmndjfysKmys);
ExcelUtil<HtjhDqwlgsxmndjfysKmys> util = new ExcelUtil<HtjhDqwlgsxmndjfysKmys>(HtjhDqwlgsxmndjfysKmys.class);
util.exportExcel(response, list, "合同计划-地球物理公司项目年度经费预算科目数据");
}
/**
* 获取合同计划-地球物理公司项目年度经费预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhDqwlgsxmndjfysKmysService.selectHtjhDqwlgsxmndjfysKmysById(id));
}
/**
* 新增合同计划-地球物理公司项目年度经费预算科目
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhDqwlgsxmndjfysKmys htjhDqwlgsxmndjfysKmys)
{
return toAjax(htjhDqwlgsxmndjfysKmysService.insertHtjhDqwlgsxmndjfysKmys(htjhDqwlgsxmndjfysKmys));
}
/**
* 修改合同计划-地球物理公司项目年度经费预算科目
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhDqwlgsxmndjfysKmys htjhDqwlgsxmndjfysKmys)
{
return toAjax(htjhDqwlgsxmndjfysKmysService.updateHtjhDqwlgsxmndjfysKmys(htjhDqwlgsxmndjfysKmys));
}
/**
* 删除合同计划-地球物理公司项目年度经费预算科目
*/
@Log(title = "合同计划-地球物理公司项目年度经费预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhDqwlgsxmndjfysKmysService.deleteHtjhDqwlgsxmndjfysKmysByIds(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.HtjhFgsxmndjfys;
import com.ruoyi.system.service.IHtjhFgsxmndjfysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-分公司项目年度经费预算主Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/fgsxmndjfys")
public class HtjhFgsxmndjfysController extends BaseController
{
@Autowired
private IHtjhFgsxmndjfysService htjhFgsxmndjfysService;
/**
* 查询合同计划-分公司项目年度经费预算主列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhFgsxmndjfys htjhFgsxmndjfys)
{
startPage();
List<HtjhFgsxmndjfys> list = htjhFgsxmndjfysService.selectHtjhFgsxmndjfysList(htjhFgsxmndjfys);
return getDataTable(list);
}
/**
* 导出合同计划-分公司项目年度经费预算主列表
*/
@Log(title = "合同计划-分公司项目年度经费预算主", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhFgsxmndjfys htjhFgsxmndjfys)
{
List<HtjhFgsxmndjfys> list = htjhFgsxmndjfysService.selectHtjhFgsxmndjfysList(htjhFgsxmndjfys);
ExcelUtil<HtjhFgsxmndjfys> util = new ExcelUtil<HtjhFgsxmndjfys>(HtjhFgsxmndjfys.class);
util.exportExcel(response, list, "合同计划-分公司项目年度经费预算主数据");
}
/**
* 获取合同计划-分公司项目年度经费预算主详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhFgsxmndjfysService.selectHtjhFgsxmndjfysById(id));
}
/**
* 新增合同计划-分公司项目年度经费预算主
*/
@Log(title = "合同计划-分公司项目年度经费预算主", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhFgsxmndjfys htjhFgsxmndjfys)
{
return toAjax(htjhFgsxmndjfysService.insertHtjhFgsxmndjfys(htjhFgsxmndjfys));
}
/**
* 修改合同计划-分公司项目年度经费预算主
*/
@Log(title = "合同计划-分公司项目年度经费预算主", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhFgsxmndjfys htjhFgsxmndjfys)
{
return toAjax(htjhFgsxmndjfysService.updateHtjhFgsxmndjfys(htjhFgsxmndjfys));
}
/**
* 删除合同计划-分公司项目年度经费预算主
*/
@Log(title = "合同计划-分公司项目年度经费预算主", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhFgsxmndjfysService.deleteHtjhFgsxmndjfysByIds(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.HtjhFgsxmndjfysKmys;
import com.ruoyi.system.service.IHtjhFgsxmndjfysKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-分公司项目年度经费预算科目Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/kmys/Htjh")
public class HtjhFgsxmndjfysKmysController extends BaseController
{
@Autowired
private IHtjhFgsxmndjfysKmysService htjhFgsxmndjfysKmysService;
/**
* 查询合同计划-分公司项目年度经费预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhFgsxmndjfysKmys htjhFgsxmndjfysKmys)
{
startPage();
List<HtjhFgsxmndjfysKmys> list = htjhFgsxmndjfysKmysService.selectHtjhFgsxmndjfysKmysList(htjhFgsxmndjfysKmys);
return getDataTable(list);
}
/**
* 导出合同计划-分公司项目年度经费预算科目列表
*/
@Log(title = "合同计划-分公司项目年度经费预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhFgsxmndjfysKmys htjhFgsxmndjfysKmys)
{
List<HtjhFgsxmndjfysKmys> list = htjhFgsxmndjfysKmysService.selectHtjhFgsxmndjfysKmysList(htjhFgsxmndjfysKmys);
ExcelUtil<HtjhFgsxmndjfysKmys> util = new ExcelUtil<HtjhFgsxmndjfysKmys>(HtjhFgsxmndjfysKmys.class);
util.exportExcel(response, list, "合同计划-分公司项目年度经费预算科目数据");
}
/**
* 获取合同计划-分公司项目年度经费预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhFgsxmndjfysKmysService.selectHtjhFgsxmndjfysKmysById(id));
}
/**
* 新增合同计划-分公司项目年度经费预算科目
*/
@Log(title = "合同计划-分公司项目年度经费预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhFgsxmndjfysKmys htjhFgsxmndjfysKmys)
{
return toAjax(htjhFgsxmndjfysKmysService.insertHtjhFgsxmndjfysKmys(htjhFgsxmndjfysKmys));
}
/**
* 修改合同计划-分公司项目年度经费预算科目
*/
@Log(title = "合同计划-分公司项目年度经费预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhFgsxmndjfysKmys htjhFgsxmndjfysKmys)
{
return toAjax(htjhFgsxmndjfysKmysService.updateHtjhFgsxmndjfysKmys(htjhFgsxmndjfysKmys));
}
/**
* 删除合同计划-分公司项目年度经费预算科目
*/
@Log(title = "合同计划-分公司项目年度经费预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhFgsxmndjfysKmysService.deleteHtjhFgsxmndjfysKmysByIds(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.HtjhGfgsxmndjfys;
import com.ruoyi.system.service.IHtjhGfgsxmndjfysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-股份公司项目年度经费预算主Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/gfgsxmndjfys")
public class HtjhGfgsxmndjfysController extends BaseController
{
@Autowired
private IHtjhGfgsxmndjfysService htjhGfgsxmndjfysService;
/**
* 查询合同计划-股份公司项目年度经费预算主列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhGfgsxmndjfys htjhGfgsxmndjfys)
{
startPage();
List<HtjhGfgsxmndjfys> list = htjhGfgsxmndjfysService.selectHtjhGfgsxmndjfysList(htjhGfgsxmndjfys);
return getDataTable(list);
}
/**
* 导出合同计划-股份公司项目年度经费预算主列表
*/
@Log(title = "合同计划-股份公司项目年度经费预算主", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhGfgsxmndjfys htjhGfgsxmndjfys)
{
List<HtjhGfgsxmndjfys> list = htjhGfgsxmndjfysService.selectHtjhGfgsxmndjfysList(htjhGfgsxmndjfys);
ExcelUtil<HtjhGfgsxmndjfys> util = new ExcelUtil<HtjhGfgsxmndjfys>(HtjhGfgsxmndjfys.class);
util.exportExcel(response, list, "合同计划-股份公司项目年度经费预算主数据");
}
/**
* 获取合同计划-股份公司项目年度经费预算主详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhGfgsxmndjfysService.selectHtjhGfgsxmndjfysById(id));
}
/**
* 新增合同计划-股份公司项目年度经费预算主
*/
@Log(title = "合同计划-股份公司项目年度经费预算主", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhGfgsxmndjfys htjhGfgsxmndjfys)
{
return toAjax(htjhGfgsxmndjfysService.insertHtjhGfgsxmndjfys(htjhGfgsxmndjfys));
}
/**
* 修改合同计划-股份公司项目年度经费预算主
*/
@Log(title = "合同计划-股份公司项目年度经费预算主", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhGfgsxmndjfys htjhGfgsxmndjfys)
{
return toAjax(htjhGfgsxmndjfysService.updateHtjhGfgsxmndjfys(htjhGfgsxmndjfys));
}
/**
* 删除合同计划-股份公司项目年度经费预算主
*/
@Log(title = "合同计划-股份公司项目年度经费预算主", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhGfgsxmndjfysService.deleteHtjhGfgsxmndjfysByIds(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.HtjhGfgsxmndjfysKmys;
import com.ruoyi.system.service.IHtjhGfgsxmndjfysKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-股份公司项目年度经费预算科目Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/kmys/HtjhGfgsxmndjfys")
public class HtjhGfgsxmndjfysKmysController extends BaseController
{
@Autowired
private IHtjhGfgsxmndjfysKmysService htjhGfgsxmndjfysKmysService;
/**
* 查询合同计划-股份公司项目年度经费预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhGfgsxmndjfysKmys htjhGfgsxmndjfysKmys)
{
startPage();
List<HtjhGfgsxmndjfysKmys> list = htjhGfgsxmndjfysKmysService.selectHtjhGfgsxmndjfysKmysList(htjhGfgsxmndjfysKmys);
return getDataTable(list);
}
/**
* 导出合同计划-股份公司项目年度经费预算科目列表
*/
@Log(title = "合同计划-股份公司项目年度经费预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhGfgsxmndjfysKmys htjhGfgsxmndjfysKmys)
{
List<HtjhGfgsxmndjfysKmys> list = htjhGfgsxmndjfysKmysService.selectHtjhGfgsxmndjfysKmysList(htjhGfgsxmndjfysKmys);
ExcelUtil<HtjhGfgsxmndjfysKmys> util = new ExcelUtil<HtjhGfgsxmndjfysKmys>(HtjhGfgsxmndjfysKmys.class);
util.exportExcel(response, list, "合同计划-股份公司项目年度经费预算科目数据");
}
/**
* 获取合同计划-股份公司项目年度经费预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhGfgsxmndjfysKmysService.selectHtjhGfgsxmndjfysKmysById(id));
}
/**
* 新增合同计划-股份公司项目年度经费预算科目
*/
@Log(title = "合同计划-股份公司项目年度经费预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhGfgsxmndjfysKmys htjhGfgsxmndjfysKmys)
{
return toAjax(htjhGfgsxmndjfysKmysService.insertHtjhGfgsxmndjfysKmys(htjhGfgsxmndjfysKmys));
}
/**
* 修改合同计划-股份公司项目年度经费预算科目
*/
@Log(title = "合同计划-股份公司项目年度经费预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhGfgsxmndjfysKmys htjhGfgsxmndjfysKmys)
{
return toAjax(htjhGfgsxmndjfysKmysService.updateHtjhGfgsxmndjfysKmys(htjhGfgsxmndjfysKmys));
}
/**
* 删除合同计划-股份公司项目年度经费预算科目
*/
@Log(title = "合同计划-股份公司项目年度经费预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhGfgsxmndjfysKmysService.deleteHtjhGfgsxmndjfysKmysByIds(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.HtjhGjxmndjfys;
import com.ruoyi.system.service.IHtjhGjxmndjfysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-国家项目年度经费预算主Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/gjxmndjfys")
public class HtjhGjxmndjfysController extends BaseController
{
@Autowired
private IHtjhGjxmndjfysService htjhGjxmndjfysService;
/**
* 查询合同计划-国家项目年度经费预算主列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhGjxmndjfys htjhGjxmndjfys)
{
startPage();
List<HtjhGjxmndjfys> list = htjhGjxmndjfysService.selectHtjhGjxmndjfysList(htjhGjxmndjfys);
return getDataTable(list);
}
/**
* 导出合同计划-国家项目年度经费预算主列表
*/
@Log(title = "合同计划-国家项目年度经费预算主", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhGjxmndjfys htjhGjxmndjfys)
{
List<HtjhGjxmndjfys> list = htjhGjxmndjfysService.selectHtjhGjxmndjfysList(htjhGjxmndjfys);
ExcelUtil<HtjhGjxmndjfys> util = new ExcelUtil<HtjhGjxmndjfys>(HtjhGjxmndjfys.class);
util.exportExcel(response, list, "合同计划-国家项目年度经费预算主数据");
}
/**
* 获取合同计划-国家项目年度经费预算主详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhGjxmndjfysService.selectHtjhGjxmndjfysById(id));
}
/**
* 新增合同计划-国家项目年度经费预算主
*/
@Log(title = "合同计划-国家项目年度经费预算主", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhGjxmndjfys htjhGjxmndjfys)
{
return toAjax(htjhGjxmndjfysService.insertHtjhGjxmndjfys(htjhGjxmndjfys));
}
/**
* 修改合同计划-国家项目年度经费预算主
*/
@Log(title = "合同计划-国家项目年度经费预算主", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhGjxmndjfys htjhGjxmndjfys)
{
return toAjax(htjhGjxmndjfysService.updateHtjhGjxmndjfys(htjhGjxmndjfys));
}
/**
* 删除合同计划-国家项目年度经费预算主
*/
@Log(title = "合同计划-国家项目年度经费预算主", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhGjxmndjfysService.deleteHtjhGjxmndjfysByIds(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.HtjhGjxmndjfysKmys;
import com.ruoyi.system.service.IHtjhGjxmndjfysKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-国家项目年度经费预算科目Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/kmys/HtjhGjxmndjfys")
public class HtjhGjxmndjfysKmysController extends BaseController
{
@Autowired
private IHtjhGjxmndjfysKmysService htjhGjxmndjfysKmysService;
/**
* 查询合同计划-国家项目年度经费预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhGjxmndjfysKmys htjhGjxmndjfysKmys)
{
startPage();
List<HtjhGjxmndjfysKmys> list = htjhGjxmndjfysKmysService.selectHtjhGjxmndjfysKmysList(htjhGjxmndjfysKmys);
return getDataTable(list);
}
/**
* 导出合同计划-国家项目年度经费预算科目列表
*/
@Log(title = "合同计划-国家项目年度经费预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhGjxmndjfysKmys htjhGjxmndjfysKmys)
{
List<HtjhGjxmndjfysKmys> list = htjhGjxmndjfysKmysService.selectHtjhGjxmndjfysKmysList(htjhGjxmndjfysKmys);
ExcelUtil<HtjhGjxmndjfysKmys> util = new ExcelUtil<HtjhGjxmndjfysKmys>(HtjhGjxmndjfysKmys.class);
util.exportExcel(response, list, "合同计划-国家项目年度经费预算科目数据");
}
/**
* 获取合同计划-国家项目年度经费预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhGjxmndjfysKmysService.selectHtjhGjxmndjfysKmysById(id));
}
/**
* 新增合同计划-国家项目年度经费预算科目
*/
@Log(title = "合同计划-国家项目年度经费预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhGjxmndjfysKmys htjhGjxmndjfysKmys)
{
return toAjax(htjhGjxmndjfysKmysService.insertHtjhGjxmndjfysKmys(htjhGjxmndjfysKmys));
}
/**
* 修改合同计划-国家项目年度经费预算科目
*/
@Log(title = "合同计划-国家项目年度经费预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhGjxmndjfysKmys htjhGjxmndjfysKmys)
{
return toAjax(htjhGjxmndjfysKmysService.updateHtjhGjxmndjfysKmys(htjhGjxmndjfysKmys));
}
/**
* 删除合同计划-国家项目年度经费预算科目
*/
@Log(title = "合同计划-国家项目年度经费预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhGjxmndjfysKmysService.deleteHtjhGjxmndjfysKmysByIds(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.HtjhGjxmndjfysSbfmx;
import com.ruoyi.system.service.IHtjhGjxmndjfysSbfmxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-国家项目年度经费预算-设备费明细Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/sbfmx/HtjhGjxmndjfys")
public class HtjhGjxmndjfysSbfmxController extends BaseController
{
@Autowired
private IHtjhGjxmndjfysSbfmxService htjhGjxmndjfysSbfmxService;
/**
* 查询合同计划-国家项目年度经费预算-设备费明细列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhGjxmndjfysSbfmx htjhGjxmndjfysSbfmx)
{
startPage();
List<HtjhGjxmndjfysSbfmx> list = htjhGjxmndjfysSbfmxService.selectHtjhGjxmndjfysSbfmxList(htjhGjxmndjfysSbfmx);
return getDataTable(list);
}
/**
* 导出合同计划-国家项目年度经费预算-设备费明细列表
*/
@Log(title = "合同计划-国家项目年度经费预算-设备费明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhGjxmndjfysSbfmx htjhGjxmndjfysSbfmx)
{
List<HtjhGjxmndjfysSbfmx> list = htjhGjxmndjfysSbfmxService.selectHtjhGjxmndjfysSbfmxList(htjhGjxmndjfysSbfmx);
ExcelUtil<HtjhGjxmndjfysSbfmx> util = new ExcelUtil<HtjhGjxmndjfysSbfmx>(HtjhGjxmndjfysSbfmx.class);
util.exportExcel(response, list, "合同计划-国家项目年度经费预算-设备费明细数据");
}
/**
* 获取合同计划-国家项目年度经费预算-设备费明细详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhGjxmndjfysSbfmxService.selectHtjhGjxmndjfysSbfmxById(id));
}
/**
* 新增合同计划-国家项目年度经费预算-设备费明细
*/
@Log(title = "合同计划-国家项目年度经费预算-设备费明细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhGjxmndjfysSbfmx htjhGjxmndjfysSbfmx)
{
return toAjax(htjhGjxmndjfysSbfmxService.insertHtjhGjxmndjfysSbfmx(htjhGjxmndjfysSbfmx));
}
/**
* 修改合同计划-国家项目年度经费预算-设备费明细
*/
@Log(title = "合同计划-国家项目年度经费预算-设备费明细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhGjxmndjfysSbfmx htjhGjxmndjfysSbfmx)
{
return toAjax(htjhGjxmndjfysSbfmxService.updateHtjhGjxmndjfysSbfmx(htjhGjxmndjfysSbfmx));
}
/**
* 删除合同计划-国家项目年度经费预算-设备费明细
*/
@Log(title = "合同计划-国家项目年度经费预算-设备费明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhGjxmndjfysSbfmxService.deleteHtjhGjxmndjfysSbfmxByIds(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.HtjhGjxmndjfysYsmx;
import com.ruoyi.system.service.IHtjhGjxmndjfysYsmxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-国家项目年度经费预算-预算明细Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/ysmx/HtjhGjxmndjfys")
public class HtjhGjxmndjfysYsmxController extends BaseController
{
@Autowired
private IHtjhGjxmndjfysYsmxService htjhGjxmndjfysYsmxService;
/**
* 查询合同计划-国家项目年度经费预算-预算明细列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhGjxmndjfysYsmx htjhGjxmndjfysYsmx)
{
startPage();
List<HtjhGjxmndjfysYsmx> list = htjhGjxmndjfysYsmxService.selectHtjhGjxmndjfysYsmxList(htjhGjxmndjfysYsmx);
return getDataTable(list);
}
/**
* 导出合同计划-国家项目年度经费预算-预算明细列表
*/
@Log(title = "合同计划-国家项目年度经费预算-预算明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhGjxmndjfysYsmx htjhGjxmndjfysYsmx)
{
List<HtjhGjxmndjfysYsmx> list = htjhGjxmndjfysYsmxService.selectHtjhGjxmndjfysYsmxList(htjhGjxmndjfysYsmx);
ExcelUtil<HtjhGjxmndjfysYsmx> util = new ExcelUtil<HtjhGjxmndjfysYsmx>(HtjhGjxmndjfysYsmx.class);
util.exportExcel(response, list, "合同计划-国家项目年度经费预算-预算明细数据");
}
/**
* 获取合同计划-国家项目年度经费预算-预算明细详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhGjxmndjfysYsmxService.selectHtjhGjxmndjfysYsmxById(id));
}
/**
* 新增合同计划-国家项目年度经费预算-预算明细
*/
@Log(title = "合同计划-国家项目年度经费预算-预算明细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhGjxmndjfysYsmx htjhGjxmndjfysYsmx)
{
return toAjax(htjhGjxmndjfysYsmxService.insertHtjhGjxmndjfysYsmx(htjhGjxmndjfysYsmx));
}
/**
* 修改合同计划-国家项目年度经费预算-预算明细
*/
@Log(title = "合同计划-国家项目年度经费预算-预算明细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhGjxmndjfysYsmx htjhGjxmndjfysYsmx)
{
return toAjax(htjhGjxmndjfysYsmxService.updateHtjhGjxmndjfysYsmx(htjhGjxmndjfysYsmx));
}
/**
* 删除合同计划-国家项目年度经费预算-预算明细
*/
@Log(title = "合同计划-国家项目年度经费预算-预算明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhGjxmndjfysYsmxService.deleteHtjhGjxmndjfysYsmxByIds(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.HtjhJtgsxmndjfys;
import com.ruoyi.system.service.IHtjhJtgsxmndjfysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-集团公司项目年度经费预算主Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/jtgsxmndjfys")
public class HtjhJtgsxmndjfysController extends BaseController
{
@Autowired
private IHtjhJtgsxmndjfysService htjhJtgsxmndjfysService;
/**
* 查询合同计划-集团公司项目年度经费预算主列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhJtgsxmndjfys htjhJtgsxmndjfys)
{
startPage();
List<HtjhJtgsxmndjfys> list = htjhJtgsxmndjfysService.selectHtjhJtgsxmndjfysList(htjhJtgsxmndjfys);
return getDataTable(list);
}
/**
* 导出合同计划-集团公司项目年度经费预算主列表
*/
@Log(title = "合同计划-集团公司项目年度经费预算主", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhJtgsxmndjfys htjhJtgsxmndjfys)
{
List<HtjhJtgsxmndjfys> list = htjhJtgsxmndjfysService.selectHtjhJtgsxmndjfysList(htjhJtgsxmndjfys);
ExcelUtil<HtjhJtgsxmndjfys> util = new ExcelUtil<HtjhJtgsxmndjfys>(HtjhJtgsxmndjfys.class);
util.exportExcel(response, list, "合同计划-集团公司项目年度经费预算主数据");
}
/**
* 获取合同计划-集团公司项目年度经费预算主详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhJtgsxmndjfysService.selectHtjhJtgsxmndjfysById(id));
}
/**
* 新增合同计划-集团公司项目年度经费预算主
*/
@Log(title = "合同计划-集团公司项目年度经费预算主", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhJtgsxmndjfys htjhJtgsxmndjfys)
{
return toAjax(htjhJtgsxmndjfysService.insertHtjhJtgsxmndjfys(htjhJtgsxmndjfys));
}
/**
* 修改合同计划-集团公司项目年度经费预算主
*/
@Log(title = "合同计划-集团公司项目年度经费预算主", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhJtgsxmndjfys htjhJtgsxmndjfys)
{
return toAjax(htjhJtgsxmndjfysService.updateHtjhJtgsxmndjfys(htjhJtgsxmndjfys));
}
/**
* 删除合同计划-集团公司项目年度经费预算主
*/
@Log(title = "合同计划-集团公司项目年度经费预算主", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhJtgsxmndjfysService.deleteHtjhJtgsxmndjfysByIds(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.HtjhJtgsxmndjfysKmys;
import com.ruoyi.system.service.IHtjhJtgsxmndjfysKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-集团公司项目年度经费预算科目Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/kmys/HtjhJtgsxmndjfys")
public class HtjhJtgsxmndjfysKmysController extends BaseController
{
@Autowired
private IHtjhJtgsxmndjfysKmysService htjhJtgsxmndjfysKmysService;
/**
* 查询合同计划-集团公司项目年度经费预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhJtgsxmndjfysKmys htjhJtgsxmndjfysKmys)
{
startPage();
List<HtjhJtgsxmndjfysKmys> list = htjhJtgsxmndjfysKmysService.selectHtjhJtgsxmndjfysKmysList(htjhJtgsxmndjfysKmys);
return getDataTable(list);
}
/**
* 导出合同计划-集团公司项目年度经费预算科目列表
*/
@Log(title = "合同计划-集团公司项目年度经费预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhJtgsxmndjfysKmys htjhJtgsxmndjfysKmys)
{
List<HtjhJtgsxmndjfysKmys> list = htjhJtgsxmndjfysKmysService.selectHtjhJtgsxmndjfysKmysList(htjhJtgsxmndjfysKmys);
ExcelUtil<HtjhJtgsxmndjfysKmys> util = new ExcelUtil<HtjhJtgsxmndjfysKmys>(HtjhJtgsxmndjfysKmys.class);
util.exportExcel(response, list, "合同计划-集团公司项目年度经费预算科目数据");
}
/**
* 获取合同计划-集团公司项目年度经费预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhJtgsxmndjfysKmysService.selectHtjhJtgsxmndjfysKmysById(id));
}
/**
* 新增合同计划-集团公司项目年度经费预算科目
*/
@Log(title = "合同计划-集团公司项目年度经费预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhJtgsxmndjfysKmys htjhJtgsxmndjfysKmys)
{
return toAjax(htjhJtgsxmndjfysKmysService.insertHtjhJtgsxmndjfysKmys(htjhJtgsxmndjfysKmys));
}
/**
* 修改合同计划-集团公司项目年度经费预算科目
*/
@Log(title = "合同计划-集团公司项目年度经费预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhJtgsxmndjfysKmys htjhJtgsxmndjfysKmys)
{
return toAjax(htjhJtgsxmndjfysKmysService.updateHtjhJtgsxmndjfysKmys(htjhJtgsxmndjfysKmys));
}
/**
* 删除合同计划-集团公司项目年度经费预算科目
*/
@Log(title = "合同计划-集团公司项目年度经费预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhJtgsxmndjfysKmysService.deleteHtjhJtgsxmndjfysKmysByIds(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.HtjhSygcgsxmndjfys;
import com.ruoyi.system.service.IHtjhSygcgsxmndjfysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-石油工程公司项目年度经费预算主Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/sygcgsxmndjfys")
public class HtjhSygcgsxmndjfysController extends BaseController
{
@Autowired
private IHtjhSygcgsxmndjfysService htjhSygcgsxmndjfysService;
/**
* 查询合同计划-石油工程公司项目年度经费预算主列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhSygcgsxmndjfys htjhSygcgsxmndjfys)
{
startPage();
List<HtjhSygcgsxmndjfys> list = htjhSygcgsxmndjfysService.selectHtjhSygcgsxmndjfysList(htjhSygcgsxmndjfys);
return getDataTable(list);
}
/**
* 导出合同计划-石油工程公司项目年度经费预算主列表
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算主", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhSygcgsxmndjfys htjhSygcgsxmndjfys)
{
List<HtjhSygcgsxmndjfys> list = htjhSygcgsxmndjfysService.selectHtjhSygcgsxmndjfysList(htjhSygcgsxmndjfys);
ExcelUtil<HtjhSygcgsxmndjfys> util = new ExcelUtil<HtjhSygcgsxmndjfys>(HtjhSygcgsxmndjfys.class);
util.exportExcel(response, list, "合同计划-石油工程公司项目年度经费预算主数据");
}
/**
* 获取合同计划-石油工程公司项目年度经费预算主详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhSygcgsxmndjfysService.selectHtjhSygcgsxmndjfysById(id));
}
/**
* 新增合同计划-石油工程公司项目年度经费预算主
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算主", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhSygcgsxmndjfys htjhSygcgsxmndjfys)
{
return toAjax(htjhSygcgsxmndjfysService.insertHtjhSygcgsxmndjfys(htjhSygcgsxmndjfys));
}
/**
* 修改合同计划-石油工程公司项目年度经费预算主
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算主", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhSygcgsxmndjfys htjhSygcgsxmndjfys)
{
return toAjax(htjhSygcgsxmndjfysService.updateHtjhSygcgsxmndjfys(htjhSygcgsxmndjfys));
}
/**
* 删除合同计划-石油工程公司项目年度经费预算主
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算主", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhSygcgsxmndjfysService.deleteHtjhSygcgsxmndjfysByIds(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.HtjhSygcgsxmndjfysKmys;
import com.ruoyi.system.service.IHtjhSygcgsxmndjfysKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-石油工程公司项目年度经费预算科目Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/kmys/HtjhSygcgsxmndjfys")
public class HtjhSygcgsxmndjfysKmysController extends BaseController
{
@Autowired
private IHtjhSygcgsxmndjfysKmysService htjhSygcgsxmndjfysKmysService;
/**
* 查询合同计划-石油工程公司项目年度经费预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhSygcgsxmndjfysKmys htjhSygcgsxmndjfysKmys)
{
startPage();
List<HtjhSygcgsxmndjfysKmys> list = htjhSygcgsxmndjfysKmysService.selectHtjhSygcgsxmndjfysKmysList(htjhSygcgsxmndjfysKmys);
return getDataTable(list);
}
/**
* 导出合同计划-石油工程公司项目年度经费预算科目列表
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhSygcgsxmndjfysKmys htjhSygcgsxmndjfysKmys)
{
List<HtjhSygcgsxmndjfysKmys> list = htjhSygcgsxmndjfysKmysService.selectHtjhSygcgsxmndjfysKmysList(htjhSygcgsxmndjfysKmys);
ExcelUtil<HtjhSygcgsxmndjfysKmys> util = new ExcelUtil<HtjhSygcgsxmndjfysKmys>(HtjhSygcgsxmndjfysKmys.class);
util.exportExcel(response, list, "合同计划-石油工程公司项目年度经费预算科目数据");
}
/**
* 获取合同计划-石油工程公司项目年度经费预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhSygcgsxmndjfysKmysService.selectHtjhSygcgsxmndjfysKmysById(id));
}
/**
* 新增合同计划-石油工程公司项目年度经费预算科目
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhSygcgsxmndjfysKmys htjhSygcgsxmndjfysKmys)
{
return toAjax(htjhSygcgsxmndjfysKmysService.insertHtjhSygcgsxmndjfysKmys(htjhSygcgsxmndjfysKmys));
}
/**
* 修改合同计划-石油工程公司项目年度经费预算科目
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhSygcgsxmndjfysKmys htjhSygcgsxmndjfysKmys)
{
return toAjax(htjhSygcgsxmndjfysKmysService.updateHtjhSygcgsxmndjfysKmys(htjhSygcgsxmndjfysKmys));
}
/**
* 删除合同计划-石油工程公司项目年度经费预算科目
*/
@Log(title = "合同计划-石油工程公司项目年度经费预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhSygcgsxmndjfysKmysService.deleteHtjhSygcgsxmndjfysKmysByIds(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.HtjhYskm;
import com.ruoyi.system.service.IHtjhYskmService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 合同计划-预算科目Controller
*
* @author ruoyi
* @date 2025-02-18
*/
@RestController
@RequestMapping("/system/yskm")
public class HtjhYskmController extends BaseController
{
@Autowired
private IHtjhYskmService htjhYskmService;
/**
* 查询合同计划-预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(HtjhYskm htjhYskm)
{
startPage();
List<HtjhYskm> list = htjhYskmService.selectHtjhYskmList(htjhYskm);
return getDataTable(list);
}
/**
* 导出合同计划-预算科目列表
*/
@Log(title = "合同计划-预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtjhYskm htjhYskm)
{
List<HtjhYskm> list = htjhYskmService.selectHtjhYskmList(htjhYskm);
ExcelUtil<HtjhYskm> util = new ExcelUtil<HtjhYskm>(HtjhYskm.class);
util.exportExcel(response, list, "合同计划-预算科目数据");
}
/**
* 获取合同计划-预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(htjhYskmService.selectHtjhYskmById(id));
}
/**
* 新增合同计划-预算科目
*/
@Log(title = "合同计划-预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtjhYskm htjhYskm)
{
return toAjax(htjhYskmService.insertHtjhYskm(htjhYskm));
}
/**
* 修改合同计划-预算科目
*/
@Log(title = "合同计划-预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtjhYskm htjhYskm)
{
return toAjax(htjhYskmService.updateHtjhYskm(htjhYskm));
}
/**
* 删除合同计划-预算科目
*/
@Log(title = "合同计划-预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htjhYskmService.deleteHtjhYskmByIds(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.Jfndzctzmx;
import com.ruoyi.system.service.IJfndzctzmxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费年度实际支出台账明细Controller
*
* @author ruoyi
* @date 2025-02-19
*/
@RestController
@RequestMapping("/system/jfndzctzmx")
public class JfndzctzmxController extends BaseController
{
@Autowired
private IJfndzctzmxService jfndzctzmxService;
/**
* 查询经费年度实际支出台账明细列表
*/
@GetMapping("/list")
public TableDataInfo list(Jfndzctzmx jfndzctzmx)
{
startPage();
List<Jfndzctzmx> list = jfndzctzmxService.selectJfndzctzmxList(jfndzctzmx);
return getDataTable(list);
}
/**
* 导出经费年度实际支出台账明细列表
*/
@Log(title = "经费年度实际支出台账明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, Jfndzctzmx jfndzctzmx)
{
List<Jfndzctzmx> list = jfndzctzmxService.selectJfndzctzmxList(jfndzctzmx);
ExcelUtil<Jfndzctzmx> util = new ExcelUtil<Jfndzctzmx>(Jfndzctzmx.class);
util.exportExcel(response, list, "经费年度实际支出台账明细数据");
}
/**
* 获取经费年度实际支出台账明细详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfndzctzmxService.selectJfndzctzmxById(id));
}
/**
* 新增经费年度实际支出台账明细
*/
@Log(title = "经费年度实际支出台账明细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody Jfndzctzmx jfndzctzmx)
{
return toAjax(jfndzctzmxService.insertJfndzctzmx(jfndzctzmx));
}
/**
* 修改经费年度实际支出台账明细
*/
@Log(title = "经费年度实际支出台账明细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody Jfndzctzmx jfndzctzmx)
{
return toAjax(jfndzctzmxService.updateJfndzctzmx(jfndzctzmx));
}
/**
* 删除经费年度实际支出台账明细
*/
@Log(title = "经费年度实际支出台账明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfndzctzmxService.deleteJfndzctzmxByIds(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.JfsjzcYdjjhdfx;
import com.ruoyi.system.service.IJfsjzcYdjjhdfxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费实际支出分析_月度经济活动分析Controller
*
* @author ruoyi
* @date 2025-02-19
*/
@RestController
@RequestMapping("/system/ydjjhdfx/Jfsjzc")
public class JfsjzcYdjjhdfxController extends BaseController
{
@Autowired
private IJfsjzcYdjjhdfxService jfsjzcYdjjhdfxService;
/**
* 查询经费实际支出分析_月度经济活动分析列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsjzcYdjjhdfx jfsjzcYdjjhdfx)
{
startPage();
List<JfsjzcYdjjhdfx> list = jfsjzcYdjjhdfxService.selectJfsjzcYdjjhdfxList(jfsjzcYdjjhdfx);
return getDataTable(list);
}
/**
* 导出经费实际支出分析_月度经济活动分析列表
*/
@Log(title = "经费实际支出分析_月度经济活动分析", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsjzcYdjjhdfx jfsjzcYdjjhdfx)
{
List<JfsjzcYdjjhdfx> list = jfsjzcYdjjhdfxService.selectJfsjzcYdjjhdfxList(jfsjzcYdjjhdfx);
ExcelUtil<JfsjzcYdjjhdfx> util = new ExcelUtil<JfsjzcYdjjhdfx>(JfsjzcYdjjhdfx.class);
util.exportExcel(response, list, "经费实际支出分析_月度经济活动分析数据");
}
/**
* 获取经费实际支出分析_月度经济活动分析详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsjzcYdjjhdfxService.selectJfsjzcYdjjhdfxById(id));
}
/**
* 新增经费实际支出分析_月度经济活动分析
*/
@Log(title = "经费实际支出分析_月度经济活动分析", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsjzcYdjjhdfx jfsjzcYdjjhdfx)
{
return toAjax(jfsjzcYdjjhdfxService.insertJfsjzcYdjjhdfx(jfsjzcYdjjhdfx));
}
/**
* 修改经费实际支出分析_月度经济活动分析
*/
@Log(title = "经费实际支出分析_月度经济活动分析", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsjzcYdjjhdfx jfsjzcYdjjhdfx)
{
return toAjax(jfsjzcYdjjhdfxService.updateJfsjzcYdjjhdfx(jfsjzcYdjjhdfx));
}
/**
* 删除经费实际支出分析_月度经济活动分析
*/
@Log(title = "经费实际支出分析_月度经济活动分析", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsjzcYdjjhdfxService.deleteJfsjzcYdjjhdfxByIds(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.JfsjzcYdjjhdfxWxqk;
import com.ruoyi.system.service.IJfsjzcYdjjhdfxWxqkService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费实际支出分析_月度经济活动分析_外协情况Controller
*
* @author ruoyi
* @date 2025-02-19
*/
@RestController
@RequestMapping("/system/wxqk/JfsjzcYdjjhdfx")
public class JfsjzcYdjjhdfxWxqkController extends BaseController
{
@Autowired
private IJfsjzcYdjjhdfxWxqkService jfsjzcYdjjhdfxWxqkService;
/**
* 查询经费实际支出分析_月度经济活动分析_外协情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsjzcYdjjhdfxWxqk jfsjzcYdjjhdfxWxqk)
{
startPage();
List<JfsjzcYdjjhdfxWxqk> list = jfsjzcYdjjhdfxWxqkService.selectJfsjzcYdjjhdfxWxqkList(jfsjzcYdjjhdfxWxqk);
return getDataTable(list);
}
/**
* 导出经费实际支出分析_月度经济活动分析_外协情况列表
*/
@Log(title = "经费实际支出分析_月度经济活动分析_外协情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsjzcYdjjhdfxWxqk jfsjzcYdjjhdfxWxqk)
{
List<JfsjzcYdjjhdfxWxqk> list = jfsjzcYdjjhdfxWxqkService.selectJfsjzcYdjjhdfxWxqkList(jfsjzcYdjjhdfxWxqk);
ExcelUtil<JfsjzcYdjjhdfxWxqk> util = new ExcelUtil<JfsjzcYdjjhdfxWxqk>(JfsjzcYdjjhdfxWxqk.class);
util.exportExcel(response, list, "经费实际支出分析_月度经济活动分析_外协情况数据");
}
/**
* 获取经费实际支出分析_月度经济活动分析_外协情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsjzcYdjjhdfxWxqkService.selectJfsjzcYdjjhdfxWxqkById(id));
}
/**
* 新增经费实际支出分析_月度经济活动分析_外协情况
*/
@Log(title = "经费实际支出分析_月度经济活动分析_外协情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsjzcYdjjhdfxWxqk jfsjzcYdjjhdfxWxqk)
{
return toAjax(jfsjzcYdjjhdfxWxqkService.insertJfsjzcYdjjhdfxWxqk(jfsjzcYdjjhdfxWxqk));
}
/**
* 修改经费实际支出分析_月度经济活动分析_外协情况
*/
@Log(title = "经费实际支出分析_月度经济活动分析_外协情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsjzcYdjjhdfxWxqk jfsjzcYdjjhdfxWxqk)
{
return toAjax(jfsjzcYdjjhdfxWxqkService.updateJfsjzcYdjjhdfxWxqk(jfsjzcYdjjhdfxWxqk));
}
/**
* 删除经费实际支出分析_月度经济活动分析_外协情况
*/
@Log(title = "经费实际支出分析_月度经济活动分析_外协情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsjzcYdjjhdfxWxqkService.deleteJfsjzcYdjjhdfxWxqkByIds(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.JfsyqkDqwlbndjfsy;
import com.ruoyi.system.service.IJfsyqkDqwlbndjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_地球物理半年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-19
*/
@RestController
@RequestMapping("/system/dqwlbndjfsy")
public class JfsyqkDqwlbndjfsyController extends BaseController
{
@Autowired
private IJfsyqkDqwlbndjfsyService jfsyqkDqwlbndjfsyService;
/**
* 查询经费使用情况_地球物理半年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkDqwlbndjfsy jfsyqkDqwlbndjfsy)
{
startPage();
List<JfsyqkDqwlbndjfsy> list = jfsyqkDqwlbndjfsyService.selectJfsyqkDqwlbndjfsyList(jfsyqkDqwlbndjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_地球物理半年度使用情况列表
*/
@Log(title = "经费使用情况_地球物理半年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkDqwlbndjfsy jfsyqkDqwlbndjfsy)
{
List<JfsyqkDqwlbndjfsy> list = jfsyqkDqwlbndjfsyService.selectJfsyqkDqwlbndjfsyList(jfsyqkDqwlbndjfsy);
ExcelUtil<JfsyqkDqwlbndjfsy> util = new ExcelUtil<JfsyqkDqwlbndjfsy>(JfsyqkDqwlbndjfsy.class);
util.exportExcel(response, list, "经费使用情况_地球物理半年度使用情况数据");
}
/**
* 获取经费使用情况_地球物理半年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkDqwlbndjfsyService.selectJfsyqkDqwlbndjfsyById(id));
}
/**
* 新增经费使用情况_地球物理半年度使用情况
*/
@Log(title = "经费使用情况_地球物理半年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkDqwlbndjfsy jfsyqkDqwlbndjfsy)
{
return toAjax(jfsyqkDqwlbndjfsyService.insertJfsyqkDqwlbndjfsy(jfsyqkDqwlbndjfsy));
}
/**
* 修改经费使用情况_地球物理半年度使用情况
*/
@Log(title = "经费使用情况_地球物理半年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkDqwlbndjfsy jfsyqkDqwlbndjfsy)
{
return toAjax(jfsyqkDqwlbndjfsyService.updateJfsyqkDqwlbndjfsy(jfsyqkDqwlbndjfsy));
}
/**
* 删除经费使用情况_地球物理半年度使用情况
*/
@Log(title = "经费使用情况_地球物理半年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkDqwlbndjfsyService.deleteJfsyqkDqwlbndjfsyByIds(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.JfsyqkDqwlbndjfsyKmys;
import com.ruoyi.system.service.IJfsyqkDqwlbndjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_地球物理半年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-19
*/
@RestController
@RequestMapping("/system/kmys/Jfsyqk")
public class JfsyqkDqwlbndjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkDqwlbndjfsyKmysService jfsyqkDqwlbndjfsyKmysService;
/**
* 查询经费使用情况_地球物理半年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkDqwlbndjfsyKmys jfsyqkDqwlbndjfsyKmys)
{
startPage();
List<JfsyqkDqwlbndjfsyKmys> list = jfsyqkDqwlbndjfsyKmysService.selectJfsyqkDqwlbndjfsyKmysList(jfsyqkDqwlbndjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_地球物理半年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_地球物理半年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkDqwlbndjfsyKmys jfsyqkDqwlbndjfsyKmys)
{
List<JfsyqkDqwlbndjfsyKmys> list = jfsyqkDqwlbndjfsyKmysService.selectJfsyqkDqwlbndjfsyKmysList(jfsyqkDqwlbndjfsyKmys);
ExcelUtil<JfsyqkDqwlbndjfsyKmys> util = new ExcelUtil<JfsyqkDqwlbndjfsyKmys>(JfsyqkDqwlbndjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_地球物理半年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_地球物理半年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkDqwlbndjfsyKmysService.selectJfsyqkDqwlbndjfsyKmysById(id));
}
/**
* 新增经费使用情况_地球物理半年度使用情况预算科目
*/
@Log(title = "经费使用情况_地球物理半年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkDqwlbndjfsyKmys jfsyqkDqwlbndjfsyKmys)
{
return toAjax(jfsyqkDqwlbndjfsyKmysService.insertJfsyqkDqwlbndjfsyKmys(jfsyqkDqwlbndjfsyKmys));
}
/**
* 修改经费使用情况_地球物理半年度使用情况预算科目
*/
@Log(title = "经费使用情况_地球物理半年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkDqwlbndjfsyKmys jfsyqkDqwlbndjfsyKmys)
{
return toAjax(jfsyqkDqwlbndjfsyKmysService.updateJfsyqkDqwlbndjfsyKmys(jfsyqkDqwlbndjfsyKmys));
}
/**
* 删除经费使用情况_地球物理半年度使用情况预算科目
*/
@Log(title = "经费使用情况_地球物理半年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkDqwlbndjfsyKmysService.deleteJfsyqkDqwlbndjfsyKmysByIds(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.JfsyqkFgsbndjfsy;
import com.ruoyi.system.service.IJfsyqkFgsbndjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_分公司半年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-19
*/
@RestController
@RequestMapping("/system/fgsbndjfsy")
public class JfsyqkFgsbndjfsyController extends BaseController
{
@Autowired
private IJfsyqkFgsbndjfsyService jfsyqkFgsbndjfsyService;
/**
* 查询经费使用情况_分公司半年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkFgsbndjfsy jfsyqkFgsbndjfsy)
{
startPage();
List<JfsyqkFgsbndjfsy> list = jfsyqkFgsbndjfsyService.selectJfsyqkFgsbndjfsyList(jfsyqkFgsbndjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_分公司半年度使用情况列表
*/
@Log(title = "经费使用情况_分公司半年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkFgsbndjfsy jfsyqkFgsbndjfsy)
{
List<JfsyqkFgsbndjfsy> list = jfsyqkFgsbndjfsyService.selectJfsyqkFgsbndjfsyList(jfsyqkFgsbndjfsy);
ExcelUtil<JfsyqkFgsbndjfsy> util = new ExcelUtil<JfsyqkFgsbndjfsy>(JfsyqkFgsbndjfsy.class);
util.exportExcel(response, list, "经费使用情况_分公司半年度使用情况数据");
}
/**
* 获取经费使用情况_分公司半年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkFgsbndjfsyService.selectJfsyqkFgsbndjfsyById(id));
}
/**
* 新增经费使用情况_分公司半年度使用情况
*/
@Log(title = "经费使用情况_分公司半年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkFgsbndjfsy jfsyqkFgsbndjfsy)
{
return toAjax(jfsyqkFgsbndjfsyService.insertJfsyqkFgsbndjfsy(jfsyqkFgsbndjfsy));
}
/**
* 修改经费使用情况_分公司半年度使用情况
*/
@Log(title = "经费使用情况_分公司半年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkFgsbndjfsy jfsyqkFgsbndjfsy)
{
return toAjax(jfsyqkFgsbndjfsyService.updateJfsyqkFgsbndjfsy(jfsyqkFgsbndjfsy));
}
/**
* 删除经费使用情况_分公司半年度使用情况
*/
@Log(title = "经费使用情况_分公司半年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkFgsbndjfsyService.deleteJfsyqkFgsbndjfsyByIds(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.JfsyqkFgsbndjfsyKmys;
import com.ruoyi.system.service.IJfsyqkFgsbndjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_分公司半年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-19
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkFgsbndjfsy")
public class JfsyqkFgsbndjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkFgsbndjfsyKmysService jfsyqkFgsbndjfsyKmysService;
/**
* 查询经费使用情况_分公司半年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkFgsbndjfsyKmys jfsyqkFgsbndjfsyKmys)
{
startPage();
List<JfsyqkFgsbndjfsyKmys> list = jfsyqkFgsbndjfsyKmysService.selectJfsyqkFgsbndjfsyKmysList(jfsyqkFgsbndjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_分公司半年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_分公司半年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkFgsbndjfsyKmys jfsyqkFgsbndjfsyKmys)
{
List<JfsyqkFgsbndjfsyKmys> list = jfsyqkFgsbndjfsyKmysService.selectJfsyqkFgsbndjfsyKmysList(jfsyqkFgsbndjfsyKmys);
ExcelUtil<JfsyqkFgsbndjfsyKmys> util = new ExcelUtil<JfsyqkFgsbndjfsyKmys>(JfsyqkFgsbndjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_分公司半年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_分公司半年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkFgsbndjfsyKmysService.selectJfsyqkFgsbndjfsyKmysById(id));
}
/**
* 新增经费使用情况_分公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_分公司半年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkFgsbndjfsyKmys jfsyqkFgsbndjfsyKmys)
{
return toAjax(jfsyqkFgsbndjfsyKmysService.insertJfsyqkFgsbndjfsyKmys(jfsyqkFgsbndjfsyKmys));
}
/**
* 修改经费使用情况_分公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_分公司半年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkFgsbndjfsyKmys jfsyqkFgsbndjfsyKmys)
{
return toAjax(jfsyqkFgsbndjfsyKmysService.updateJfsyqkFgsbndjfsyKmys(jfsyqkFgsbndjfsyKmys));
}
/**
* 删除经费使用情况_分公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_分公司半年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkFgsbndjfsyKmysService.deleteJfsyqkFgsbndjfsyKmysByIds(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.JfsyqkGfgsbndjfsy;
import com.ruoyi.system.service.IJfsyqkGfgsbndjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_股份公司半年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/gfgsbndjfsy")
public class JfsyqkGfgsbndjfsyController extends BaseController
{
@Autowired
private IJfsyqkGfgsbndjfsyService jfsyqkGfgsbndjfsyService;
/**
* 查询经费使用情况_股份公司半年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkGfgsbndjfsy jfsyqkGfgsbndjfsy)
{
startPage();
List<JfsyqkGfgsbndjfsy> list = jfsyqkGfgsbndjfsyService.selectJfsyqkGfgsbndjfsyList(jfsyqkGfgsbndjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_股份公司半年度使用情况列表
*/
@Log(title = "经费使用情况_股份公司半年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkGfgsbndjfsy jfsyqkGfgsbndjfsy)
{
List<JfsyqkGfgsbndjfsy> list = jfsyqkGfgsbndjfsyService.selectJfsyqkGfgsbndjfsyList(jfsyqkGfgsbndjfsy);
ExcelUtil<JfsyqkGfgsbndjfsy> util = new ExcelUtil<JfsyqkGfgsbndjfsy>(JfsyqkGfgsbndjfsy.class);
util.exportExcel(response, list, "经费使用情况_股份公司半年度使用情况数据");
}
/**
* 获取经费使用情况_股份公司半年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkGfgsbndjfsyService.selectJfsyqkGfgsbndjfsyById(id));
}
/**
* 新增经费使用情况_股份公司半年度使用情况
*/
@Log(title = "经费使用情况_股份公司半年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkGfgsbndjfsy jfsyqkGfgsbndjfsy)
{
return toAjax(jfsyqkGfgsbndjfsyService.insertJfsyqkGfgsbndjfsy(jfsyqkGfgsbndjfsy));
}
/**
* 修改经费使用情况_股份公司半年度使用情况
*/
@Log(title = "经费使用情况_股份公司半年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkGfgsbndjfsy jfsyqkGfgsbndjfsy)
{
return toAjax(jfsyqkGfgsbndjfsyService.updateJfsyqkGfgsbndjfsy(jfsyqkGfgsbndjfsy));
}
/**
* 删除经费使用情况_股份公司半年度使用情况
*/
@Log(title = "经费使用情况_股份公司半年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkGfgsbndjfsyService.deleteJfsyqkGfgsbndjfsyByIds(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.JfsyqkGfgsbndjfsyKmys;
import com.ruoyi.system.service.IJfsyqkGfgsbndjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_股份公司半年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/kmys/fsyqkGfgsbndjfsy")
public class JfsyqkGfgsbndjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkGfgsbndjfsyKmysService jfsyqkGfgsbndjfsyKmysService;
/**
* 查询经费使用情况_股份公司半年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkGfgsbndjfsyKmys jfsyqkGfgsbndjfsyKmys)
{
startPage();
List<JfsyqkGfgsbndjfsyKmys> list = jfsyqkGfgsbndjfsyKmysService.selectJfsyqkGfgsbndjfsyKmysList(jfsyqkGfgsbndjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_股份公司半年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_股份公司半年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkGfgsbndjfsyKmys jfsyqkGfgsbndjfsyKmys)
{
List<JfsyqkGfgsbndjfsyKmys> list = jfsyqkGfgsbndjfsyKmysService.selectJfsyqkGfgsbndjfsyKmysList(jfsyqkGfgsbndjfsyKmys);
ExcelUtil<JfsyqkGfgsbndjfsyKmys> util = new ExcelUtil<JfsyqkGfgsbndjfsyKmys>(JfsyqkGfgsbndjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_股份公司半年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_股份公司半年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkGfgsbndjfsyKmysService.selectJfsyqkGfgsbndjfsyKmysById(id));
}
/**
* 新增经费使用情况_股份公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_股份公司半年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkGfgsbndjfsyKmys jfsyqkGfgsbndjfsyKmys)
{
return toAjax(jfsyqkGfgsbndjfsyKmysService.insertJfsyqkGfgsbndjfsyKmys(jfsyqkGfgsbndjfsyKmys));
}
/**
* 修改经费使用情况_股份公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_股份公司半年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkGfgsbndjfsyKmys jfsyqkGfgsbndjfsyKmys)
{
return toAjax(jfsyqkGfgsbndjfsyKmysService.updateJfsyqkGfgsbndjfsyKmys(jfsyqkGfgsbndjfsyKmys));
}
/**
* 删除经费使用情况_股份公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_股份公司半年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkGfgsbndjfsyKmysService.deleteJfsyqkGfgsbndjfsyKmysByIds(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.JfsyqkGjbndjfsy;
import com.ruoyi.system.service.IJfsyqkGjbndjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_国家半年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/gjbndjfsy")
public class JfsyqkGjbndjfsyController extends BaseController
{
@Autowired
private IJfsyqkGjbndjfsyService jfsyqkGjbndjfsyService;
/**
* 查询经费使用情况_国家半年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkGjbndjfsy jfsyqkGjbndjfsy)
{
startPage();
List<JfsyqkGjbndjfsy> list = jfsyqkGjbndjfsyService.selectJfsyqkGjbndjfsyList(jfsyqkGjbndjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_国家半年度使用情况列表
*/
@Log(title = "经费使用情况_国家半年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkGjbndjfsy jfsyqkGjbndjfsy)
{
List<JfsyqkGjbndjfsy> list = jfsyqkGjbndjfsyService.selectJfsyqkGjbndjfsyList(jfsyqkGjbndjfsy);
ExcelUtil<JfsyqkGjbndjfsy> util = new ExcelUtil<JfsyqkGjbndjfsy>(JfsyqkGjbndjfsy.class);
util.exportExcel(response, list, "经费使用情况_国家半年度使用情况数据");
}
/**
* 获取经费使用情况_国家半年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkGjbndjfsyService.selectJfsyqkGjbndjfsyById(id));
}
/**
* 新增经费使用情况_国家半年度使用情况
*/
@Log(title = "经费使用情况_国家半年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkGjbndjfsy jfsyqkGjbndjfsy)
{
return toAjax(jfsyqkGjbndjfsyService.insertJfsyqkGjbndjfsy(jfsyqkGjbndjfsy));
}
/**
* 修改经费使用情况_国家半年度使用情况
*/
@Log(title = "经费使用情况_国家半年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkGjbndjfsy jfsyqkGjbndjfsy)
{
return toAjax(jfsyqkGjbndjfsyService.updateJfsyqkGjbndjfsy(jfsyqkGjbndjfsy));
}
/**
* 删除经费使用情况_国家半年度使用情况
*/
@Log(title = "经费使用情况_国家半年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkGjbndjfsyService.deleteJfsyqkGjbndjfsyByIds(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.JfsyqkGjbndjfsyKmys;
import com.ruoyi.system.service.IJfsyqkGjbndjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_国家半年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/kmys/fsyqkGjbndjfsy")
public class JfsyqkGjbndjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkGjbndjfsyKmysService jfsyqkGjbndjfsyKmysService;
/**
* 查询经费使用情况_国家半年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkGjbndjfsyKmys jfsyqkGjbndjfsyKmys)
{
startPage();
List<JfsyqkGjbndjfsyKmys> list = jfsyqkGjbndjfsyKmysService.selectJfsyqkGjbndjfsyKmysList(jfsyqkGjbndjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_国家半年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_国家半年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkGjbndjfsyKmys jfsyqkGjbndjfsyKmys)
{
List<JfsyqkGjbndjfsyKmys> list = jfsyqkGjbndjfsyKmysService.selectJfsyqkGjbndjfsyKmysList(jfsyqkGjbndjfsyKmys);
ExcelUtil<JfsyqkGjbndjfsyKmys> util = new ExcelUtil<JfsyqkGjbndjfsyKmys>(JfsyqkGjbndjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_国家半年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_国家半年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkGjbndjfsyKmysService.selectJfsyqkGjbndjfsyKmysById(id));
}
/**
* 新增经费使用情况_国家半年度使用情况预算科目
*/
@Log(title = "经费使用情况_国家半年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkGjbndjfsyKmys jfsyqkGjbndjfsyKmys)
{
return toAjax(jfsyqkGjbndjfsyKmysService.insertJfsyqkGjbndjfsyKmys(jfsyqkGjbndjfsyKmys));
}
/**
* 修改经费使用情况_国家半年度使用情况预算科目
*/
@Log(title = "经费使用情况_国家半年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkGjbndjfsyKmys jfsyqkGjbndjfsyKmys)
{
return toAjax(jfsyqkGjbndjfsyKmysService.updateJfsyqkGjbndjfsyKmys(jfsyqkGjbndjfsyKmys));
}
/**
* 删除经费使用情况_国家半年度使用情况预算科目
*/
@Log(title = "经费使用情况_国家半年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkGjbndjfsyKmysService.deleteJfsyqkGjbndjfsyKmysByIds(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.JfsyqkJdjfsyxxqk;
import com.ruoyi.system.service.IJfsyqkJdjfsyxxqkService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_季度经费使用情况Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/jdjfsyxxqk")
public class JfsyqkJdjfsyxxqkController extends BaseController
{
@Autowired
private IJfsyqkJdjfsyxxqkService jfsyqkJdjfsyxxqkService;
/**
* 查询经费使用情况_季度经费使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkJdjfsyxxqk jfsyqkJdjfsyxxqk)
{
startPage();
List<JfsyqkJdjfsyxxqk> list = jfsyqkJdjfsyxxqkService.selectJfsyqkJdjfsyxxqkList(jfsyqkJdjfsyxxqk);
return getDataTable(list);
}
/**
* 导出经费使用情况_季度经费使用情况列表
*/
@Log(title = "经费使用情况_季度经费使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkJdjfsyxxqk jfsyqkJdjfsyxxqk)
{
List<JfsyqkJdjfsyxxqk> list = jfsyqkJdjfsyxxqkService.selectJfsyqkJdjfsyxxqkList(jfsyqkJdjfsyxxqk);
ExcelUtil<JfsyqkJdjfsyxxqk> util = new ExcelUtil<JfsyqkJdjfsyxxqk>(JfsyqkJdjfsyxxqk.class);
util.exportExcel(response, list, "经费使用情况_季度经费使用情况数据");
}
/**
* 获取经费使用情况_季度经费使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkJdjfsyxxqkService.selectJfsyqkJdjfsyxxqkById(id));
}
/**
* 新增经费使用情况_季度经费使用情况
*/
@Log(title = "经费使用情况_季度经费使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkJdjfsyxxqk jfsyqkJdjfsyxxqk)
{
return toAjax(jfsyqkJdjfsyxxqkService.insertJfsyqkJdjfsyxxqk(jfsyqkJdjfsyxxqk));
}
/**
* 修改经费使用情况_季度经费使用情况
*/
@Log(title = "经费使用情况_季度经费使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkJdjfsyxxqk jfsyqkJdjfsyxxqk)
{
return toAjax(jfsyqkJdjfsyxxqkService.updateJfsyqkJdjfsyxxqk(jfsyqkJdjfsyxxqk));
}
/**
* 删除经费使用情况_季度经费使用情况
*/
@Log(title = "经费使用情况_季度经费使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkJdjfsyxxqkService.deleteJfsyqkJdjfsyxxqkByIds(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.JfsyqkJtgsbndjfsy;
import com.ruoyi.system.service.IJfsyqkJtgsbndjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_集团公司半年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/jtgsbndjfsy")
public class JfsyqkJtgsbndjfsyController extends BaseController
{
@Autowired
private IJfsyqkJtgsbndjfsyService jfsyqkJtgsbndjfsyService;
/**
* 查询经费使用情况_集团公司半年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkJtgsbndjfsy jfsyqkJtgsbndjfsy)
{
startPage();
List<JfsyqkJtgsbndjfsy> list = jfsyqkJtgsbndjfsyService.selectJfsyqkJtgsbndjfsyList(jfsyqkJtgsbndjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_集团公司半年度使用情况列表
*/
@Log(title = "经费使用情况_集团公司半年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkJtgsbndjfsy jfsyqkJtgsbndjfsy)
{
List<JfsyqkJtgsbndjfsy> list = jfsyqkJtgsbndjfsyService.selectJfsyqkJtgsbndjfsyList(jfsyqkJtgsbndjfsy);
ExcelUtil<JfsyqkJtgsbndjfsy> util = new ExcelUtil<JfsyqkJtgsbndjfsy>(JfsyqkJtgsbndjfsy.class);
util.exportExcel(response, list, "经费使用情况_集团公司半年度使用情况数据");
}
/**
* 获取经费使用情况_集团公司半年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkJtgsbndjfsyService.selectJfsyqkJtgsbndjfsyById(id));
}
/**
* 新增经费使用情况_集团公司半年度使用情况
*/
@Log(title = "经费使用情况_集团公司半年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkJtgsbndjfsy jfsyqkJtgsbndjfsy)
{
return toAjax(jfsyqkJtgsbndjfsyService.insertJfsyqkJtgsbndjfsy(jfsyqkJtgsbndjfsy));
}
/**
* 修改经费使用情况_集团公司半年度使用情况
*/
@Log(title = "经费使用情况_集团公司半年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkJtgsbndjfsy jfsyqkJtgsbndjfsy)
{
return toAjax(jfsyqkJtgsbndjfsyService.updateJfsyqkJtgsbndjfsy(jfsyqkJtgsbndjfsy));
}
/**
* 删除经费使用情况_集团公司半年度使用情况
*/
@Log(title = "经费使用情况_集团公司半年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkJtgsbndjfsyService.deleteJfsyqkJtgsbndjfsyByIds(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.JfsyqkJtgsbndjfsyKmys;
import com.ruoyi.system.service.IJfsyqkJtgsbndjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_集团公司半年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkJtgsbndjfsy")
public class JfsyqkJtgsbndjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkJtgsbndjfsyKmysService jfsyqkJtgsbndjfsyKmysService;
/**
* 查询经费使用情况_集团公司半年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkJtgsbndjfsyKmys jfsyqkJtgsbndjfsyKmys)
{
startPage();
List<JfsyqkJtgsbndjfsyKmys> list = jfsyqkJtgsbndjfsyKmysService.selectJfsyqkJtgsbndjfsyKmysList(jfsyqkJtgsbndjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_集团公司半年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_集团公司半年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkJtgsbndjfsyKmys jfsyqkJtgsbndjfsyKmys)
{
List<JfsyqkJtgsbndjfsyKmys> list = jfsyqkJtgsbndjfsyKmysService.selectJfsyqkJtgsbndjfsyKmysList(jfsyqkJtgsbndjfsyKmys);
ExcelUtil<JfsyqkJtgsbndjfsyKmys> util = new ExcelUtil<JfsyqkJtgsbndjfsyKmys>(JfsyqkJtgsbndjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_集团公司半年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_集团公司半年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkJtgsbndjfsyKmysService.selectJfsyqkJtgsbndjfsyKmysById(id));
}
/**
* 新增经费使用情况_集团公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_集团公司半年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkJtgsbndjfsyKmys jfsyqkJtgsbndjfsyKmys)
{
return toAjax(jfsyqkJtgsbndjfsyKmysService.insertJfsyqkJtgsbndjfsyKmys(jfsyqkJtgsbndjfsyKmys));
}
/**
* 修改经费使用情况_集团公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_集团公司半年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkJtgsbndjfsyKmys jfsyqkJtgsbndjfsyKmys)
{
return toAjax(jfsyqkJtgsbndjfsyKmysService.updateJfsyqkJtgsbndjfsyKmys(jfsyqkJtgsbndjfsyKmys));
}
/**
* 删除经费使用情况_集团公司半年度使用情况预算科目
*/
@Log(title = "经费使用情况_集团公司半年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkJtgsbndjfsyKmysService.deleteJfsyqkJtgsbndjfsyKmysByIds(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.JfsyqkNddqwlgsjfsy;
import com.ruoyi.system.service.IJfsyqkNddqwlgsjfsyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_地球物理公司年度使用情况Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/nddqwlgsjfsy")
public class JfsyqkNddqwlgsjfsyController extends BaseController
{
@Autowired
private IJfsyqkNddqwlgsjfsyService jfsyqkNddqwlgsjfsyService;
/**
* 查询经费使用情况_地球物理公司年度使用情况列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNddqwlgsjfsy jfsyqkNddqwlgsjfsy)
{
startPage();
List<JfsyqkNddqwlgsjfsy> list = jfsyqkNddqwlgsjfsyService.selectJfsyqkNddqwlgsjfsyList(jfsyqkNddqwlgsjfsy);
return getDataTable(list);
}
/**
* 导出经费使用情况_地球物理公司年度使用情况列表
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNddqwlgsjfsy jfsyqkNddqwlgsjfsy)
{
List<JfsyqkNddqwlgsjfsy> list = jfsyqkNddqwlgsjfsyService.selectJfsyqkNddqwlgsjfsyList(jfsyqkNddqwlgsjfsy);
ExcelUtil<JfsyqkNddqwlgsjfsy> util = new ExcelUtil<JfsyqkNddqwlgsjfsy>(JfsyqkNddqwlgsjfsy.class);
util.exportExcel(response, list, "经费使用情况_地球物理公司年度使用情况数据");
}
/**
* 获取经费使用情况_地球物理公司年度使用情况详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNddqwlgsjfsyService.selectJfsyqkNddqwlgsjfsyById(id));
}
/**
* 新增经费使用情况_地球物理公司年度使用情况
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNddqwlgsjfsy jfsyqkNddqwlgsjfsy)
{
return toAjax(jfsyqkNddqwlgsjfsyService.insertJfsyqkNddqwlgsjfsy(jfsyqkNddqwlgsjfsy));
}
/**
* 修改经费使用情况_地球物理公司年度使用情况
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNddqwlgsjfsy jfsyqkNddqwlgsjfsy)
{
return toAjax(jfsyqkNddqwlgsjfsyService.updateJfsyqkNddqwlgsjfsy(jfsyqkNddqwlgsjfsy));
}
/**
* 删除经费使用情况_地球物理公司年度使用情况
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNddqwlgsjfsyService.deleteJfsyqkNddqwlgsjfsyByIds(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.JfsyqkNddqwlgsjfsyKmys;
import com.ruoyi.system.service.IJfsyqkNddqwlgsjfsyKmysService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 经费使用情况_地球物理公司年度使用情况预算科目Controller
*
* @author ruoyi
* @date 2025-02-20
*/
@RestController
@RequestMapping("/system/kmys/JfsyqkNddqwlgsjfsy")
public class JfsyqkNddqwlgsjfsyKmysController extends BaseController
{
@Autowired
private IJfsyqkNddqwlgsjfsyKmysService jfsyqkNddqwlgsjfsyKmysService;
/**
* 查询经费使用情况_地球物理公司年度使用情况预算科目列表
*/
@GetMapping("/list")
public TableDataInfo list(JfsyqkNddqwlgsjfsyKmys jfsyqkNddqwlgsjfsyKmys)
{
startPage();
List<JfsyqkNddqwlgsjfsyKmys> list = jfsyqkNddqwlgsjfsyKmysService.selectJfsyqkNddqwlgsjfsyKmysList(jfsyqkNddqwlgsjfsyKmys);
return getDataTable(list);
}
/**
* 导出经费使用情况_地球物理公司年度使用情况预算科目列表
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况预算科目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JfsyqkNddqwlgsjfsyKmys jfsyqkNddqwlgsjfsyKmys)
{
List<JfsyqkNddqwlgsjfsyKmys> list = jfsyqkNddqwlgsjfsyKmysService.selectJfsyqkNddqwlgsjfsyKmysList(jfsyqkNddqwlgsjfsyKmys);
ExcelUtil<JfsyqkNddqwlgsjfsyKmys> util = new ExcelUtil<JfsyqkNddqwlgsjfsyKmys>(JfsyqkNddqwlgsjfsyKmys.class);
util.exportExcel(response, list, "经费使用情况_地球物理公司年度使用情况预算科目数据");
}
/**
* 获取经费使用情况_地球物理公司年度使用情况预算科目详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jfsyqkNddqwlgsjfsyKmysService.selectJfsyqkNddqwlgsjfsyKmysById(id));
}
/**
* 新增经费使用情况_地球物理公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况预算科目", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JfsyqkNddqwlgsjfsyKmys jfsyqkNddqwlgsjfsyKmys)
{
return toAjax(jfsyqkNddqwlgsjfsyKmysService.insertJfsyqkNddqwlgsjfsyKmys(jfsyqkNddqwlgsjfsyKmys));
}
/**
* 修改经费使用情况_地球物理公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况预算科目", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JfsyqkNddqwlgsjfsyKmys jfsyqkNddqwlgsjfsyKmys)
{
return toAjax(jfsyqkNddqwlgsjfsyKmysService.updateJfsyqkNddqwlgsjfsyKmys(jfsyqkNddqwlgsjfsyKmys));
}
/**
* 删除经费使用情况_地球物理公司年度使用情况预算科目
*/
@Log(title = "经费使用情况_地球物理公司年度使用情况预算科目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jfsyqkNddqwlgsjfsyKmysService.deleteJfsyqkNddqwlgsjfsyKmysByIds(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.OutsourcingDept;
import com.ruoyi.system.service.IOutsourcingDeptService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 外协单位Controller
*
* @author ruoyi
* @date 2024-11-18
*/
@RestController
@RequestMapping("/api/scientific/Outsourcingdept")
public class OutsourcingDeptController extends BaseController
{
@Autowired
private IOutsourcingDeptService outsourcingDeptService;
/**
* 查询外协单位列表
*/
@GetMapping("/list")
public TableDataInfo list(OutsourcingDept outsourcingDept)
{
startPage();
List<OutsourcingDept> list = outsourcingDeptService.selectOutsourcingDeptList(outsourcingDept);
return getDataTable(list);
}
/**
* 导出外协单位列表
*/
@PreAuthorize("@ss.hasPermi('system:dept:export')")
@Log(title = "外协单位", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, OutsourcingDept outsourcingDept)
{
List<OutsourcingDept> list = outsourcingDeptService.selectOutsourcingDeptList(outsourcingDept);
ExcelUtil<OutsourcingDept> util = new ExcelUtil<OutsourcingDept>(OutsourcingDept.class);
util.exportExcel(response, list, "外协单位数据");
}
/**
* 获取外协单位详细信息
*/
@PreAuthorize("@ss.hasPermi('system:dept:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(outsourcingDeptService.selectOutsourcingDeptById(id));
}
/**
* 新增外协单位
*/
@PreAuthorize("@ss.hasPermi('system:dept:add')")
@Log(title = "外协单位", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody OutsourcingDept outsourcingDept)
{
return toAjax(outsourcingDeptService.insertOutsourcingDept(outsourcingDept));
}
/**
* 修改外协单位
*/
@PreAuthorize("@ss.hasPermi('system:dept:edit')")
@Log(title = "外协单位", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody OutsourcingDept outsourcingDept)
{
return toAjax(outsourcingDeptService.updateOutsourcingDept(outsourcingDept));
}
/**
* 删除外协单位
*/
@PreAuthorize("@ss.hasPermi('system:dept:remove')")
@Log(title = "外协单位", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(outsourcingDeptService.deleteOutsourcingDeptByIds(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.OutsourcingDeptPref;
import com.ruoyi.system.service.IOutsourcingDeptPrefService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 外协单位_业绩Controller
*
* @author ruoyi
* @date 2024-11-18
*/
@RestController
@RequestMapping("/api/scientific/OutsourcingDeptpref")
public class OutsourcingDeptPrefController extends BaseController
{
@Autowired
private IOutsourcingDeptPrefService outsourcingDeptPrefService;
/**
* 查询外协单位_业绩列表
*/
@GetMapping("/list")
public TableDataInfo list(OutsourcingDeptPref outsourcingDeptPref)
{
startPage();
List<OutsourcingDeptPref> list = outsourcingDeptPrefService.selectOutsourcingDeptPrefList(outsourcingDeptPref);
return getDataTable(list);
}
/**
* 导出外协单位_业绩列表
*/
@PreAuthorize("@ss.hasPermi('system:pref:export')")
@Log(title = "外协单位_业绩", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, OutsourcingDeptPref outsourcingDeptPref)
{
List<OutsourcingDeptPref> list = outsourcingDeptPrefService.selectOutsourcingDeptPrefList(outsourcingDeptPref);
ExcelUtil<OutsourcingDeptPref> util = new ExcelUtil<OutsourcingDeptPref>(OutsourcingDeptPref.class);
util.exportExcel(response, list, "外协单位_业绩数据");
}
/**
* 获取外协单位_业绩详细信息
*/
@PreAuthorize("@ss.hasPermi('system:pref:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(outsourcingDeptPrefService.selectOutsourcingDeptPrefById(id));
}
/**
* 新增外协单位_业绩
*/
@PreAuthorize("@ss.hasPermi('system:pref:add')")
@Log(title = "外协单位_业绩", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody OutsourcingDeptPref outsourcingDeptPref)
{
return toAjax(outsourcingDeptPrefService.insertOutsourcingDeptPref(outsourcingDeptPref));
}
/**
* 修改外协单位_业绩
*/
@PreAuthorize("@ss.hasPermi('system:pref:edit')")
@Log(title = "外协单位_业绩", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody OutsourcingDeptPref outsourcingDeptPref)
{
return toAjax(outsourcingDeptPrefService.updateOutsourcingDeptPref(outsourcingDeptPref));
}
/**
* 删除外协单位_业绩
*/
@PreAuthorize("@ss.hasPermi('system:pref:remove')")
@Log(title = "外协单位_业绩", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(outsourcingDeptPrefService.deleteOutsourcingDeptPrefByIds(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.OutsourcingWxxsps;
import com.ruoyi.system.service.IOutsourcingWxxspsService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* 外协选商评审Controller
*
* @author ruoyi
* @date 2025-02-26
*/
@RestController
@RequestMapping("/system/wxxsps/Outsourcing")
public class OutsourcingWxxspsController extends BaseController
{
@Autowired
private IOutsourcingWxxspsService outsourcingWxxspsService;
/**
* 查询外协选商评审列表
*/
@GetMapping("/list")
public TableDataInfo list(OutsourcingWxxsps outsourcingWxxsps)
{
startPage();
List<OutsourcingWxxsps> list = outsourcingWxxspsService.selectOutsourcingWxxspsList(outsourcingWxxsps);
return getDataTable(list);
}
/**
* 导出外协选商评审列表
*/
@Log(title = "外协选商评审", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, OutsourcingWxxsps outsourcingWxxsps)
{
List<OutsourcingWxxsps> list = outsourcingWxxspsService.selectOutsourcingWxxspsList(outsourcingWxxsps);
ExcelUtil<OutsourcingWxxsps> util = new ExcelUtil<OutsourcingWxxsps>(OutsourcingWxxsps.class);
util.exportExcel(response, list, "外协选商评审数据");
}
/**
* 获取外协选商评审详细信息
*/
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(outsourcingWxxspsService.selectOutsourcingWxxspsById(id));
}
/**
* 新增外协选商评审
*/
@Log(title = "外协选商评审", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody OutsourcingWxxsps outsourcingWxxsps)
{
return toAjax(outsourcingWxxspsService.insertOutsourcingWxxsps(outsourcingWxxsps));
}
/**
* 修改外协选商评审
*/
@Log(title = "外协选商评审", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody OutsourcingWxxsps outsourcingWxxsps)
{
return toAjax(outsourcingWxxspsService.updateOutsourcingWxxsps(outsourcingWxxsps));
}
/**
* 删除外协选商评审
*/
@Log(title = "外协选商评审", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(outsourcingWxxspsService.deleteOutsourcingWxxspsByIds(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