parent
f7c78a8598
commit
98d1893a2b
@ -1,12 +0,0 @@
|
||||
@echo off
|
||||
echo.
|
||||
echo [信息] 清理工程target生成路径。
|
||||
echo.
|
||||
|
||||
%~d0
|
||||
cd %~dp0
|
||||
|
||||
cd ..
|
||||
call mvn clean
|
||||
|
||||
pause
|
@ -1,14 +0,0 @@
|
||||
@echo off
|
||||
echo.
|
||||
echo [信息] 使用Jar命令运行Web工程。
|
||||
echo.
|
||||
|
||||
cd %~dp0
|
||||
cd ../ruoyi-admin/target
|
||||
|
||||
set JAVA_OPTS=-Xms256m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||
|
||||
java -jar %JAVA_OPTS% ruoyi-admin.jar
|
||||
|
||||
cd bin
|
||||
pause
|
@ -0,0 +1,52 @@
|
||||
package com.ruoyi.jjh.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Entity基类
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
@Data
|
||||
public class BaseInfoEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新者
|
||||
*/
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsApprovalInfo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsApprovalInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 审批记录信息Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-09
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/approvalInfo")
|
||||
public class BmsApprovalInfoController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsApprovalInfoService bmsApprovalInfoService;
|
||||
|
||||
/**
|
||||
* 查询审批记录信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:approvalInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsApprovalInfo bmsApprovalInfo) {
|
||||
startPage();
|
||||
List<BmsApprovalInfo> list = bmsApprovalInfoService.selectBmsApprovalInfoList(bmsApprovalInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出审批记录信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:approvalInfo:export")
|
||||
@Log(title = "审批记录信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsApprovalInfo bmsApprovalInfo) {
|
||||
List<BmsApprovalInfo> list = bmsApprovalInfoService.selectBmsApprovalInfoList(bmsApprovalInfo);
|
||||
ExcelUtil<BmsApprovalInfo> util = new ExcelUtil<BmsApprovalInfo>(BmsApprovalInfo.class);
|
||||
util.exportExcel(response, list, "审批记录信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取审批记录信息详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:approvalInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsApprovalInfoService.selectBmsApprovalInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增审批记录信息
|
||||
*/
|
||||
// @RequiresPermissions("system:approvalInfo:add")
|
||||
@Log(title = "审批记录信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsApprovalInfo bmsApprovalInfo) {
|
||||
return toAjax(bmsApprovalInfoService.insertBmsApprovalInfo(bmsApprovalInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改审批记录信息
|
||||
*/
|
||||
// @RequiresPermissions("system:approvalInfo:edit")
|
||||
@Log(title = "审批记录信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsApprovalInfo bmsApprovalInfo) {
|
||||
return toAjax(bmsApprovalInfoService.updateBmsApprovalInfo(bmsApprovalInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除审批记录信息
|
||||
*/
|
||||
// @RequiresPermissions("system:approvalInfo:remove")
|
||||
@Log(title = "审批记录信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsApprovalInfoService.deleteBmsApprovalInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsBigStrongAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsBigStrongAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsBigStrongAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsBigStrongAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 做大做强奖详情Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/bigStrongAward")
|
||||
public class BmsBigStrongAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsBigStrongAwardService bmsBigStrongAwardService;
|
||||
|
||||
/**
|
||||
* 查询做大做强奖详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:bigStrongAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsBigStrongAward bmsBigStrongAward) {
|
||||
startPage();
|
||||
List<BmsBigStrongAward> list = bmsBigStrongAwardService.selectBmsBigStrongAwardList(bmsBigStrongAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出做大做强奖详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:bigStrongAward:export")
|
||||
@Log(title = "做大做强奖详情", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsBigStrongAward bmsBigStrongAward) {
|
||||
List<BmsBigStrongAward> list = bmsBigStrongAwardService.selectBmsBigStrongAwardList(bmsBigStrongAward);
|
||||
ExcelUtil<BmsBigStrongAward> util = new ExcelUtil<BmsBigStrongAward>(BmsBigStrongAward.class);
|
||||
util.exportExcel(response, list, "做大做强奖详情数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取做大做强奖详情详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:bigStrongAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsBigStrongAwardService.selectBmsBigStrongAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增做大做强奖详情
|
||||
*/
|
||||
// @RequiresPermissions("system:bigStrongAward:add")
|
||||
@Log(title = "做大做强奖详情", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsBigStrongAwardAddDto bmsBigStrongAwardAddDto) {
|
||||
return toAjax(bmsBigStrongAwardService.insertBmsBigStrongAward(bmsBigStrongAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改做大做强奖详情
|
||||
*/
|
||||
// @RequiresPermissions("system:bigStrongAward:edit")
|
||||
@Log(title = "做大做强奖详情", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsBigStrongAwardUpdateDto bmsBigStrongAwardUpdateDto) {
|
||||
return toAjax(bmsBigStrongAwardService.updateBmsBigStrongAward(bmsBigStrongAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除做大做强奖详情
|
||||
*/
|
||||
// @RequiresPermissions("system:bigStrongAward:remove")
|
||||
@Log(title = "做大做强奖详情", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsBigStrongAwardService.deleteBmsBigStrongAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsBrandingAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsBrandingAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsBrandingAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsBrandingAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 品牌打造奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/brandingAward")
|
||||
public class BmsBrandingAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsBrandingAwardService bmsBrandingAwardService;
|
||||
|
||||
/**
|
||||
* 查询品牌打造奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:brandingAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsBrandingAward bmsBrandingAward) {
|
||||
startPage();
|
||||
List<BmsBrandingAward> list = bmsBrandingAwardService.selectBmsBrandingAwardList(bmsBrandingAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出品牌打造奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:brandingAward:export")
|
||||
@Log(title = "品牌打造奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsBrandingAward bmsBrandingAward) {
|
||||
List<BmsBrandingAward> list = bmsBrandingAwardService.selectBmsBrandingAwardList(bmsBrandingAward);
|
||||
ExcelUtil<BmsBrandingAward> util = new ExcelUtil<BmsBrandingAward>(BmsBrandingAward.class);
|
||||
util.exportExcel(response, list, "品牌打造奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取品牌打造奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:brandingAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsBrandingAwardService.selectBmsBrandingAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增品牌打造奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:brandingAward:add")
|
||||
@Log(title = "品牌打造奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsBrandingAwardAddDto bmsBrandingAwardAddDto) {
|
||||
return toAjax(bmsBrandingAwardService.insertBmsBrandingAward(bmsBrandingAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改品牌打造奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:brandingAward:edit")
|
||||
@Log(title = "品牌打造奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsBrandingAwardUpdateDto bmsBrandingAwardUpdateDto) {
|
||||
return toAjax(bmsBrandingAwardService.updateBmsBrandingAward(bmsBrandingAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除品牌打造奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:brandingAward:remove")
|
||||
@Log(title = "品牌打造奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsBrandingAwardService.deleteBmsBrandingAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsCarrierConstructionAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsCarrierConstructionAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsCarrierConstructionAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsCarrierConstructionAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 载体建设奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/carrierConstructionAward")
|
||||
public class BmsCarrierConstructionAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsCarrierConstructionAwardService bmsCarrierConstructionAwardService;
|
||||
|
||||
/**
|
||||
* 查询载体建设奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:carrierConstructionAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsCarrierConstructionAward bmsCarrierConstructionAward) {
|
||||
startPage();
|
||||
List<BmsCarrierConstructionAward> list = bmsCarrierConstructionAwardService.selectBmsCarrierConstructionAwardList(bmsCarrierConstructionAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出载体建设奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:carrierConstructionAward:export")
|
||||
@Log(title = "载体建设奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsCarrierConstructionAward bmsCarrierConstructionAward) {
|
||||
List<BmsCarrierConstructionAward> list = bmsCarrierConstructionAwardService.selectBmsCarrierConstructionAwardList(bmsCarrierConstructionAward);
|
||||
ExcelUtil<BmsCarrierConstructionAward> util = new ExcelUtil<BmsCarrierConstructionAward>(BmsCarrierConstructionAward.class);
|
||||
util.exportExcel(response, list, "载体建设奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取载体建设奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:carrierConstructionAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsCarrierConstructionAwardService.selectBmsCarrierConstructionAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增载体建设奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:carrierConstructionAward:add")
|
||||
@Log(title = "载体建设奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsCarrierConstructionAwardAddDto bmsCarrierConstructionAwardAddDto) {
|
||||
return toAjax(bmsCarrierConstructionAwardService.insertBmsCarrierConstructionAward(bmsCarrierConstructionAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改载体建设奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:carrierConstructionAward:edit")
|
||||
@Log(title = "载体建设奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsCarrierConstructionAwardUpdateDto bmsCarrierConstructionAwardUpdateDto) {
|
||||
return toAjax(bmsCarrierConstructionAwardService.updateBmsCarrierConstructionAward(bmsCarrierConstructionAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除载体建设奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:carrierConstructionAward:remove")
|
||||
@Log(title = "载体建设奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsCarrierConstructionAwardService.deleteBmsCarrierConstructionAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsCreditManagement;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsCreditManagementAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsCreditManagementUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsCreditManagementService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 信用管理奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/creditManagement")
|
||||
public class BmsCreditManagementController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsCreditManagementService bmsCreditManagementService;
|
||||
|
||||
/**
|
||||
* 查询信用管理奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:creditManagement:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsCreditManagement bmsCreditManagement) {
|
||||
startPage();
|
||||
List<BmsCreditManagement> list = bmsCreditManagementService.selectBmsCreditManagementList(bmsCreditManagement);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出信用管理奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:creditManagement:export")
|
||||
@Log(title = "信用管理奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsCreditManagement bmsCreditManagement) {
|
||||
List<BmsCreditManagement> list = bmsCreditManagementService.selectBmsCreditManagementList(bmsCreditManagement);
|
||||
ExcelUtil<BmsCreditManagement> util = new ExcelUtil<BmsCreditManagement>(BmsCreditManagement.class);
|
||||
util.exportExcel(response, list, "信用管理奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取信用管理奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:creditManagement:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsCreditManagementService.selectBmsCreditManagementById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增信用管理奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:creditManagement:add")
|
||||
@Log(title = "信用管理奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsCreditManagementAddDto bmsCreditManagementAddDto) {
|
||||
return toAjax(bmsCreditManagementService.insertBmsCreditManagement(bmsCreditManagementAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改信用管理奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:creditManagement:edit")
|
||||
@Log(title = "信用管理奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsCreditManagementUpdateDto bmsCreditManagementUpdateDto) {
|
||||
return toAjax(bmsCreditManagementService.updateBmsCreditManagement(bmsCreditManagementUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除信用管理奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:creditManagement:remove")
|
||||
@Log(title = "信用管理奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsCreditManagementService.deleteBmsCreditManagementByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,160 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.ApprovalDeclarationRecordsQueryDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsApprovalInfoUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsDeclarationRecordsAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsDeclarationRecordsDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.MunicipalReviewDto;
|
||||
import com.ruoyi.jjh.declaration.entity.vo.ApprovalDeclarationRecordsQueryVo;
|
||||
import com.ruoyi.jjh.declaration.entity.vo.BmsDeclarationRecordsQueryVo;
|
||||
import com.ruoyi.jjh.declaration.entity.vo.BmsMunicipalBureauReviewQueryVo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 在线申报记录Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-28
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/declarationRecords")
|
||||
public class BmsDeclarationRecordsController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsDeclarationRecordsService bmsDeclarationRecordsService;
|
||||
|
||||
|
||||
/**
|
||||
* 审核列表
|
||||
*
|
||||
* @param approvalDeclarationRecordsQueryDto
|
||||
* @return {@link TableDataInfo}
|
||||
* @author emiya.xie
|
||||
* @create 2023/9/9 14:41
|
||||
*/
|
||||
@GetMapping("/approvalList")
|
||||
public TableDataInfo approvalList(ApprovalDeclarationRecordsQueryDto approvalDeclarationRecordsQueryDto) {
|
||||
startPage();
|
||||
List<ApprovalDeclarationRecordsQueryVo> list = bmsDeclarationRecordsService.approvalList(approvalDeclarationRecordsQueryDto);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@Log(title = "审批记录信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/approvalEdit")
|
||||
public AjaxResult approvalEdit(@RequestBody BmsApprovalInfoUpdateDto bmsApprovalInfoUpdateDto) {
|
||||
return toAjax(bmsDeclarationRecordsService.updateApprovalInfo(bmsApprovalInfoUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询在线申报记录列表
|
||||
*/
|
||||
// @RequiresPermissions("system:declarationRecords:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsDeclarationRecordsDto bmsDeclarationRecordsDto) {
|
||||
startPage();
|
||||
List<BmsDeclarationRecordsQueryVo> list = bmsDeclarationRecordsService.selectBmsDeclarationRecordsList(bmsDeclarationRecordsDto);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询在线申报记录列表-政务
|
||||
*/
|
||||
@GetMapping("/listRecords")
|
||||
public TableDataInfo listRecords(BmsDeclarationRecordsDto bmsDeclarationRecordsDto) {
|
||||
startPage();
|
||||
List<BmsDeclarationRecordsQueryVo> list = bmsDeclarationRecordsService.selectBmsDeclarationRecordsZwList(bmsDeclarationRecordsDto);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@Log(title = "下载市局审核申报记录", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/exportMunicipalBureauReview")
|
||||
public void export(HttpServletResponse response) {
|
||||
List<BmsMunicipalBureauReviewQueryVo> list = bmsDeclarationRecordsService.selectMunicipalBureauReviewList();
|
||||
ExcelUtil<BmsMunicipalBureauReviewQueryVo> util = new ExcelUtil<BmsMunicipalBureauReviewQueryVo>(BmsMunicipalBureauReviewQueryVo.class);
|
||||
util.exportExcel(response, list, "在线申报记录数据");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 导出在线申报记录列表
|
||||
*/
|
||||
// @RequiresPermissions("system:declarationRecords:export")
|
||||
@Log(title = "在线申报记录", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsDeclarationRecordsDto bmsDeclarationRecordsDto) {
|
||||
List<BmsDeclarationRecordsQueryVo> list = bmsDeclarationRecordsService.selectBmsDeclarationRecordsList(bmsDeclarationRecordsDto);
|
||||
ExcelUtil<BmsDeclarationRecordsQueryVo> util = new ExcelUtil<BmsDeclarationRecordsQueryVo>(BmsDeclarationRecordsQueryVo.class);
|
||||
util.exportExcel(response, list, "在线申报记录数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取在线申报记录详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:declarationRecords:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsDeclarationRecordsService.selectBmsDeclarationRecordsById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增在线申报记录
|
||||
*/
|
||||
// @RequiresPermissions("system:declarationRecords:add")
|
||||
@Log(title = "在线申报记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsDeclarationRecordsAddDto bmsDeclarationRecordsAddDto) {
|
||||
return toAjax(bmsDeclarationRecordsService.insertBmsDeclarationRecords(bmsDeclarationRecordsAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改在线申报记录
|
||||
*/
|
||||
// @RequiresPermissions("system:declarationRecords:edit")
|
||||
@Log(title = "在线申报记录", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsDeclarationRecords bmsDeclarationRecords) {
|
||||
return toAjax(bmsDeclarationRecordsService.updateBmsDeclarationRecords(bmsDeclarationRecords));
|
||||
}
|
||||
|
||||
@Log(title = "市级评定结果确认-old", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/municipalReview")
|
||||
@Deprecated
|
||||
public AjaxResult municipalReview(@RequestBody MunicipalReviewDto municipalReviewDto) {
|
||||
return success("市级评定结果确认成功" + bmsDeclarationRecordsService.municipalReview(municipalReviewDto) + "条数据");
|
||||
}
|
||||
|
||||
@Log(title = "市级评定结果确认-new", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/municipalReviewNew")
|
||||
public AjaxResult municipalReviewNew(@RequestBody MunicipalReviewDto municipalReviewDto) {
|
||||
return success("市级评定结果确认成功" + bmsDeclarationRecordsService.municipalReviewNew(municipalReviewDto) + "条数据");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除在线申报记录
|
||||
*/
|
||||
// @RequiresPermissions("system:declarationRecords:remove")
|
||||
@Log(title = "在线申报记录", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsDeclarationRecordsService.deleteBmsDeclarationRecordsByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsEnterpriseBasicInfo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsEnterpriseBasicInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 企业基础信息Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/enterpriseBasicInfo")
|
||||
public class BmsEnterpriseBasicInfoController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
private IBmsEnterpriseBasicInfoService bmsEnterpriseBasicInfoService;
|
||||
|
||||
/**
|
||||
* 查询企业基础信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseBasicInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsEnterpriseBasicInfo bmsEnterpriseBasicInfo) {
|
||||
startPage();
|
||||
List<BmsEnterpriseBasicInfo> list = bmsEnterpriseBasicInfoService.selectBmsEnterpriseBasicInfoList(bmsEnterpriseBasicInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出企业基础信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseBasicInfo:export")
|
||||
@Log(title = "企业基础信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsEnterpriseBasicInfo bmsEnterpriseBasicInfo) {
|
||||
List<BmsEnterpriseBasicInfo> list = bmsEnterpriseBasicInfoService.selectBmsEnterpriseBasicInfoList(bmsEnterpriseBasicInfo);
|
||||
ExcelUtil<BmsEnterpriseBasicInfo> util = new ExcelUtil<BmsEnterpriseBasicInfo>(BmsEnterpriseBasicInfo.class);
|
||||
util.exportExcel(response, list, "企业基础信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取企业基础信息详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseBasicInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsEnterpriseBasicInfoService.selectBmsEnterpriseBasicInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增企业基础信息
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseBasicInfo:add")
|
||||
@Log(title = "企业基础信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsEnterpriseBasicInfo bmsEnterpriseBasicInfo) {
|
||||
return toAjax(bmsEnterpriseBasicInfoService.insertBmsEnterpriseBasicInfo(bmsEnterpriseBasicInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改企业基础信息
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseBasicInfo:edit")
|
||||
@Log(title = "企业基础信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsEnterpriseBasicInfo bmsEnterpriseBasicInfo) {
|
||||
return toAjax(bmsEnterpriseBasicInfoService.updateBmsEnterpriseBasicInfo(bmsEnterpriseBasicInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除企业基础信息
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseBasicInfo:remove")
|
||||
@Log(title = "企业基础信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsEnterpriseBasicInfoService.deleteBmsEnterpriseBasicInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsEnterpriseDirectory;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsEnterpriseDirectoryService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 企业名录Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-31
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/enterpriseDirectory")
|
||||
public class BmsEnterpriseDirectoryController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsEnterpriseDirectoryService bmsEnterpriseDirectoryService;
|
||||
|
||||
/**
|
||||
* 查询企业名录列表
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseDirectory:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsEnterpriseDirectory bmsEnterpriseDirectory) {
|
||||
startPage();
|
||||
List<BmsEnterpriseDirectory> list = bmsEnterpriseDirectoryService.selectBmsEnterpriseDirectoryList(bmsEnterpriseDirectory);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出企业名录列表
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseDirectory:export")
|
||||
@Log(title = "企业名录", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsEnterpriseDirectory bmsEnterpriseDirectory) {
|
||||
List<BmsEnterpriseDirectory> list = bmsEnterpriseDirectoryService.selectBmsEnterpriseDirectoryList(bmsEnterpriseDirectory);
|
||||
ExcelUtil<BmsEnterpriseDirectory> util = new ExcelUtil<BmsEnterpriseDirectory>(BmsEnterpriseDirectory.class);
|
||||
util.exportExcel(response, list, "企业名录数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取企业名录详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseDirectory:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsEnterpriseDirectoryService.selectBmsEnterpriseDirectoryById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增企业名录
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseDirectory:add")
|
||||
@Log(title = "企业名录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsEnterpriseDirectory bmsEnterpriseDirectory) {
|
||||
return toAjax(bmsEnterpriseDirectoryService.insertBmsEnterpriseDirectory(bmsEnterpriseDirectory));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改企业名录
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseDirectory:edit")
|
||||
@Log(title = "企业名录", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsEnterpriseDirectory bmsEnterpriseDirectory) {
|
||||
return toAjax(bmsEnterpriseDirectoryService.updateBmsEnterpriseDirectory(bmsEnterpriseDirectory));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除企业名录
|
||||
*/
|
||||
// @RequiresPermissions("system:enterpriseDirectory:remove")
|
||||
@Log(title = "企业名录", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsEnterpriseDirectoryService.deleteBmsEnterpriseDirectoryByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsFieldInfo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsFieldInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 模板字段填写详情Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/fieldInfo")
|
||||
public class BmsFieldInfoController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsFieldInfoService bmsFieldInfoService;
|
||||
|
||||
/**
|
||||
* 查询模板字段填写详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fieldInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsFieldInfo bmsFieldInfo) {
|
||||
startPage();
|
||||
List<BmsFieldInfo> list = bmsFieldInfoService.selectBmsFieldInfoList(bmsFieldInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出模板字段填写详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fieldInfo:export")
|
||||
@Log(title = "模板字段填写详情", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsFieldInfo bmsFieldInfo) {
|
||||
List<BmsFieldInfo> list = bmsFieldInfoService.selectBmsFieldInfoList(bmsFieldInfo);
|
||||
ExcelUtil<BmsFieldInfo> util = new ExcelUtil<BmsFieldInfo>(BmsFieldInfo.class);
|
||||
util.exportExcel(response, list, "模板字段填写详情数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取模板字段填写详情详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:fieldInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsFieldInfoService.selectBmsFieldInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增模板字段填写详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fieldInfo:add")
|
||||
@Log(title = "模板字段填写详情", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsFieldInfo bmsFieldInfo) {
|
||||
return toAjax(bmsFieldInfoService.insertBmsFieldInfo(bmsFieldInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改模板字段填写详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fieldInfo:edit")
|
||||
@Log(title = "模板字段填写详情", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsFieldInfo bmsFieldInfo) {
|
||||
return toAjax(bmsFieldInfoService.updateBmsFieldInfo(bmsFieldInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除模板字段填写详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fieldInfo:remove")
|
||||
@Log(title = "模板字段填写详情", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsFieldInfoService.deleteBmsFieldInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsFileInfo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsFileInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 文件存储说明详情Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/fileInfo")
|
||||
public class BmsFileInfoController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsFileInfoService bmsFileInfoService;
|
||||
|
||||
/**
|
||||
* 查询文件存储说明详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fileInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsFileInfo bmsFileInfo) {
|
||||
startPage();
|
||||
List<BmsFileInfo> list = bmsFileInfoService.selectBmsFileInfoList(bmsFileInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出文件存储说明详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fileInfo:export")
|
||||
@Log(title = "文件存储说明详情", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsFileInfo bmsFileInfo) {
|
||||
List<BmsFileInfo> list = bmsFileInfoService.selectBmsFileInfoList(bmsFileInfo);
|
||||
ExcelUtil<BmsFileInfo> util = new ExcelUtil<BmsFileInfo>(BmsFileInfo.class);
|
||||
util.exportExcel(response, list, "文件存储说明详情数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取文件存储说明详情详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:fileInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsFileInfoService.selectBmsFileInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增文件存储说明详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fileInfo:add")
|
||||
@Log(title = "文件存储说明详情", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsFileInfo bmsFileInfo) {
|
||||
return toAjax(bmsFileInfoService.insertBmsFileInfo(bmsFileInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改文件存储说明详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fileInfo:edit")
|
||||
@Log(title = "文件存储说明详情", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsFileInfo bmsFileInfo) {
|
||||
return toAjax(bmsFileInfoService.updateBmsFileInfo(bmsFileInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除文件存储说明详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fileInfo:remove")
|
||||
@Log(title = "文件存储说明详情", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsFileInfoService.deleteBmsFileInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsFundingDetail;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsFundingDetailService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 资金信息详情Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/fundingDetail")
|
||||
public class BmsFundingDetailController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsFundingDetailService bmsFundingDetailService;
|
||||
|
||||
/**
|
||||
* 查询资金信息详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingDetail:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsFundingDetail bmsFundingDetail) {
|
||||
startPage();
|
||||
List<BmsFundingDetail> list = bmsFundingDetailService.selectBmsFundingDetailList(bmsFundingDetail);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出资金信息详情列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingDetail:export")
|
||||
@Log(title = "资金信息详情", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsFundingDetail bmsFundingDetail) {
|
||||
List<BmsFundingDetail> list = bmsFundingDetailService.selectBmsFundingDetailList(bmsFundingDetail);
|
||||
ExcelUtil<BmsFundingDetail> util = new ExcelUtil<BmsFundingDetail>(BmsFundingDetail.class);
|
||||
util.exportExcel(response, list, "资金信息详情数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取资金信息详情详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingDetail:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsFundingDetailService.selectBmsFundingDetailById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增资金信息详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingDetail:add")
|
||||
@Log(title = "资金信息详情", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsFundingDetail bmsFundingDetail) {
|
||||
return toAjax(bmsFundingDetailService.insertBmsFundingDetail(bmsFundingDetail));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改资金信息详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingDetail:edit")
|
||||
@Log(title = "资金信息详情", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsFundingDetail bmsFundingDetail) {
|
||||
return toAjax(bmsFundingDetailService.updateBmsFundingDetail(bmsFundingDetail));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除资金信息详情
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingDetail:remove")
|
||||
@Log(title = "资金信息详情", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsFundingDetailService.deleteBmsFundingDetailByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsIndustrialInternetAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsIndustrialInternetAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsIndustrialInternetAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsIndustrialInternetAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 5G+工业互联网奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/industrialInternetAward")
|
||||
public class BmsIndustrialInternetAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsIndustrialInternetAwardService bmsIndustrialInternetAwardService;
|
||||
|
||||
/**
|
||||
* 查询5G+工业互联网奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:industrialInternetAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsIndustrialInternetAward bmsIndustrialInternetAward) {
|
||||
startPage();
|
||||
List<BmsIndustrialInternetAward> list = bmsIndustrialInternetAwardService.selectBmsIndustrialInternetAwardList(bmsIndustrialInternetAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出5G+工业互联网奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:industrialInternetAward:export")
|
||||
@Log(title = "5G+工业互联网奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsIndustrialInternetAward bmsIndustrialInternetAward) {
|
||||
List<BmsIndustrialInternetAward> list = bmsIndustrialInternetAwardService.selectBmsIndustrialInternetAwardList(bmsIndustrialInternetAward);
|
||||
ExcelUtil<BmsIndustrialInternetAward> util = new ExcelUtil<BmsIndustrialInternetAward>(BmsIndustrialInternetAward.class);
|
||||
util.exportExcel(response, list, "5G+工业互联网奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取5G+工业互联网奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:industrialInternetAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsIndustrialInternetAwardService.selectBmsIndustrialInternetAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增5G+工业互联网奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:industrialInternetAward:add")
|
||||
@Log(title = "5G+工业互联网奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsIndustrialInternetAwardAddDto bmsIndustrialInternetAwardAddDto) {
|
||||
return toAjax(bmsIndustrialInternetAwardService.insertBmsIndustrialInternetAward(bmsIndustrialInternetAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改5G+工业互联网奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:industrialInternetAward:edit")
|
||||
@Log(title = "5G+工业互联网奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsIndustrialInternetAwardUpdateDto bmsIndustrialInternetAwardUpdateDto) {
|
||||
return toAjax(bmsIndustrialInternetAwardService.updateBmsIndustrialInternetAward(bmsIndustrialInternetAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除5G+工业互联网奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:industrialInternetAward:remove")
|
||||
@Log(title = "5G+工业互联网奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsIndustrialInternetAwardService.deleteBmsIndustrialInternetAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsIntegrationIndustries;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsIntegrationIndustriesAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsIntegrationIndustriesUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsIntegrationIndustriesService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 两业融合奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/integrationIndustries")
|
||||
public class BmsIntegrationIndustriesController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsIntegrationIndustriesService bmsIntegrationIndustriesService;
|
||||
|
||||
/**
|
||||
* 查询两业融合奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:integrationIndustries:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsIntegrationIndustries bmsIntegrationIndustries) {
|
||||
startPage();
|
||||
List<BmsIntegrationIndustries> list = bmsIntegrationIndustriesService.selectBmsIntegrationIndustriesList(bmsIntegrationIndustries);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出两业融合奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:integrationIndustries:export")
|
||||
@Log(title = "两业融合奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsIntegrationIndustries bmsIntegrationIndustries) {
|
||||
List<BmsIntegrationIndustries> list = bmsIntegrationIndustriesService.selectBmsIntegrationIndustriesList(bmsIntegrationIndustries);
|
||||
ExcelUtil<BmsIntegrationIndustries> util = new ExcelUtil<BmsIntegrationIndustries>(BmsIntegrationIndustries.class);
|
||||
util.exportExcel(response, list, "两业融合奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取两业融合奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:integrationIndustries:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsIntegrationIndustriesService.selectBmsIntegrationIndustriesById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增两业融合奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:integrationIndustries:add")
|
||||
@Log(title = "两业融合奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsIntegrationIndustriesAddDto bmsIntegrationIndustriesAddDto) {
|
||||
return toAjax(bmsIntegrationIndustriesService.insertBmsIntegrationIndustries(bmsIntegrationIndustriesAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改两业融合奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:integrationIndustries:edit")
|
||||
@Log(title = "两业融合奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsIntegrationIndustriesUpdateDto bmsIntegrationIndustriesUpdateDto) {
|
||||
return toAjax(bmsIntegrationIndustriesService.updateBmsIntegrationIndustries(bmsIntegrationIndustriesUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除两业融合奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:integrationIndustries:remove")
|
||||
@Log(title = "两业融合奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsIntegrationIndustriesService.deleteBmsIntegrationIndustriesByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsLogisticsDevelopmentAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsLogisticsDevelopmentAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsLogisticsDevelopmentAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsLogisticsDevelopmentAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 物流发展奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/logisticsDevelopmentAward")
|
||||
public class BmsLogisticsDevelopmentAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsLogisticsDevelopmentAwardService bmsLogisticsDevelopmentAwardService;
|
||||
|
||||
/**
|
||||
* 查询物流发展奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:logisticsDevelopmentAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsLogisticsDevelopmentAward bmsLogisticsDevelopmentAward) {
|
||||
startPage();
|
||||
List<BmsLogisticsDevelopmentAward> list = bmsLogisticsDevelopmentAwardService.selectBmsLogisticsDevelopmentAwardList(bmsLogisticsDevelopmentAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出物流发展奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:logisticsDevelopmentAward:export")
|
||||
@Log(title = "物流发展奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsLogisticsDevelopmentAward bmsLogisticsDevelopmentAward) {
|
||||
List<BmsLogisticsDevelopmentAward> list = bmsLogisticsDevelopmentAwardService.selectBmsLogisticsDevelopmentAwardList(bmsLogisticsDevelopmentAward);
|
||||
ExcelUtil<BmsLogisticsDevelopmentAward> util = new ExcelUtil<BmsLogisticsDevelopmentAward>(BmsLogisticsDevelopmentAward.class);
|
||||
util.exportExcel(response, list, "物流发展奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取物流发展奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:logisticsDevelopmentAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsLogisticsDevelopmentAwardService.selectBmsLogisticsDevelopmentAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增物流发展奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:logisticsDevelopmentAward:add")
|
||||
@Log(title = "物流发展奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsLogisticsDevelopmentAwardAddDto bmsLogisticsDevelopmentAwardAddDto) {
|
||||
return toAjax(bmsLogisticsDevelopmentAwardService.insertBmsLogisticsDevelopmentAward(bmsLogisticsDevelopmentAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改物流发展奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:logisticsDevelopmentAward:edit")
|
||||
@Log(title = "物流发展奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsLogisticsDevelopmentAwardUpdateDto bmsLogisticsDevelopmentAwardUpdateDto) {
|
||||
return toAjax(bmsLogisticsDevelopmentAwardService.updateBmsLogisticsDevelopmentAward(bmsLogisticsDevelopmentAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除物流发展奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:logisticsDevelopmentAward:remove")
|
||||
@Log(title = "物流发展奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsLogisticsDevelopmentAwardService.deleteBmsLogisticsDevelopmentAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsManufacturingServicesAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsManufacturingServicesAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsManufacturingServicesAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsManufacturingServicesAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 制造服务业有效投入奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/manufacturingServicesAward")
|
||||
public class BmsManufacturingServicesAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsManufacturingServicesAwardService bmsManufacturingServicesAwardService;
|
||||
|
||||
/**
|
||||
* 查询制造服务业有效投入奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:manufacturingServicesAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsManufacturingServicesAward bmsManufacturingServicesAward) {
|
||||
startPage();
|
||||
List<BmsManufacturingServicesAward> list = bmsManufacturingServicesAwardService.selectBmsManufacturingServicesAwardList(bmsManufacturingServicesAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出制造服务业有效投入奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:manufacturingServicesAward:export")
|
||||
@Log(title = "制造服务业有效投入奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsManufacturingServicesAward bmsManufacturingServicesAward) {
|
||||
List<BmsManufacturingServicesAward> list = bmsManufacturingServicesAwardService.selectBmsManufacturingServicesAwardList(bmsManufacturingServicesAward);
|
||||
ExcelUtil<BmsManufacturingServicesAward> util = new ExcelUtil<BmsManufacturingServicesAward>(BmsManufacturingServicesAward.class);
|
||||
util.exportExcel(response, list, "制造服务业有效投入奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取制造服务业有效投入奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:manufacturingServicesAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsManufacturingServicesAwardService.selectBmsManufacturingServicesAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增制造服务业有效投入奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:manufacturingServicesAward:add")
|
||||
@Log(title = "制造服务业有效投入奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsManufacturingServicesAwardAddDto bmsManufacturingServicesAwardAddDto) {
|
||||
return toAjax(bmsManufacturingServicesAwardService.insertBmsManufacturingServicesAward(bmsManufacturingServicesAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改制造服务业有效投入奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:manufacturingServicesAward:edit")
|
||||
@Log(title = "制造服务业有效投入奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsManufacturingServicesAwardUpdateDto bmsManufacturingServicesAwardUpdateDto) {
|
||||
return toAjax(bmsManufacturingServicesAwardService.updateBmsManufacturingServicesAward(bmsManufacturingServicesAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除制造服务业有效投入奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:manufacturingServicesAward:remove")
|
||||
@Log(title = "制造服务业有效投入奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsManufacturingServicesAwardService.deleteBmsManufacturingServicesAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsProjectInfo;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.OpenInterfaceApplyAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.vo.EnterpriseInfoTemplateVo;
|
||||
import com.ruoyi.jjh.declaration.service.IOpenInterfaceService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* 审批记录信息Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-09
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/openInterface")
|
||||
public class BmsOpenInterfaceController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
private IOpenInterfaceService iOpenInterfaceService;
|
||||
|
||||
@GetMapping("/enterpriseInfo/{creditCode}")
|
||||
public AjaxResult enterpriseInfo(@PathVariable("creditCode") String creditCode) {
|
||||
EnterpriseInfoTemplateVo enterpriseInfoTemplateVo = iOpenInterfaceService.enterpriseList(creditCode);
|
||||
return success(enterpriseInfoTemplateVo);
|
||||
}
|
||||
|
||||
@Log(title = "新增申报记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody OpenInterfaceApplyAddDto openInterfaceApplyAddDto) {
|
||||
return toAjax(iOpenInterfaceService.insertOpenInterfaceApplyAddDto(openInterfaceApplyAddDto));
|
||||
}
|
||||
|
||||
@GetMapping("/{templateRecordId}")
|
||||
public AjaxResult getProjectInfo(@PathVariable("templateRecordId") Long templateRecordId) {
|
||||
BmsProjectInfo bmsProjectInfo = iOpenInterfaceService.getProjectInfo(templateRecordId);
|
||||
return success(bmsProjectInfo);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsPlatformConstructionAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsPlatformConstructionAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsPlatformConstructionAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsPlatformConstructionAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 平台建设奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/platformConstructionAward")
|
||||
public class BmsPlatformConstructionAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsPlatformConstructionAwardService bmsPlatformConstructionAwardService;
|
||||
|
||||
/**
|
||||
* 查询平台建设奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:platformConstructionAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsPlatformConstructionAward bmsPlatformConstructionAward) {
|
||||
startPage();
|
||||
List<BmsPlatformConstructionAward> list = bmsPlatformConstructionAwardService.selectBmsPlatformConstructionAwardList(bmsPlatformConstructionAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出平台建设奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:platformConstructionAward:export")
|
||||
@Log(title = "平台建设奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsPlatformConstructionAward bmsPlatformConstructionAward) {
|
||||
List<BmsPlatformConstructionAward> list = bmsPlatformConstructionAwardService.selectBmsPlatformConstructionAwardList(bmsPlatformConstructionAward);
|
||||
ExcelUtil<BmsPlatformConstructionAward> util = new ExcelUtil<BmsPlatformConstructionAward>(BmsPlatformConstructionAward.class);
|
||||
util.exportExcel(response, list, "平台建设奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取平台建设奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:platformConstructionAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsPlatformConstructionAwardService.selectBmsPlatformConstructionAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增平台建设奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:platformConstructionAward:add")
|
||||
@Log(title = "平台建设奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsPlatformConstructionAwardAddDto bmsPlatformConstructionAwardAddDto) {
|
||||
return toAjax(bmsPlatformConstructionAwardService.insertBmsPlatformConstructionAward(bmsPlatformConstructionAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改平台建设奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:platformConstructionAward:edit")
|
||||
@Log(title = "平台建设奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsPlatformConstructionAwardUpdateDto bmsPlatformConstructionAwardUpdateDto) {
|
||||
return toAjax(bmsPlatformConstructionAwardService.updateBmsPlatformConstructionAward(bmsPlatformConstructionAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除平台建设奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:platformConstructionAward:remove")
|
||||
@Log(title = "平台建设奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsPlatformConstructionAwardService.deleteBmsPlatformConstructionAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsProcessInfo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsProcessInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 审批流程Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-09
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/processInfo")
|
||||
public class BmsProcessInfoController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsProcessInfoService bmsProcessInfoService;
|
||||
|
||||
/**
|
||||
* 查询审批流程列表
|
||||
*/
|
||||
// @RequiresPermissions("system:processInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsProcessInfo bmsProcessInfo) {
|
||||
startPage();
|
||||
List<BmsProcessInfo> list = bmsProcessInfoService.selectBmsProcessInfoList(bmsProcessInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出审批流程列表
|
||||
*/
|
||||
// @RequiresPermissions("system:processInfo:export")
|
||||
@Log(title = "审批流程", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsProcessInfo bmsProcessInfo) {
|
||||
List<BmsProcessInfo> list = bmsProcessInfoService.selectBmsProcessInfoList(bmsProcessInfo);
|
||||
ExcelUtil<BmsProcessInfo> util = new ExcelUtil<BmsProcessInfo>(BmsProcessInfo.class);
|
||||
util.exportExcel(response, list, "审批流程数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取审批流程详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:processInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsProcessInfoService.selectBmsProcessInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增审批流程
|
||||
*/
|
||||
// @RequiresPermissions("system:processInfo:add")
|
||||
@Log(title = "审批流程", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsProcessInfo bmsProcessInfo) {
|
||||
return toAjax(bmsProcessInfoService.insertBmsProcessInfo(bmsProcessInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改审批流程
|
||||
*/
|
||||
// @RequiresPermissions("system:processInfo:edit")
|
||||
@Log(title = "审批流程", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsProcessInfo bmsProcessInfo) {
|
||||
return toAjax(bmsProcessInfoService.updateBmsProcessInfo(bmsProcessInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除审批流程
|
||||
*/
|
||||
// @RequiresPermissions("system:processInfo:remove")
|
||||
@Log(title = "审批流程", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsProcessInfoService.deleteBmsProcessInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsProjectInfo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsProjectInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 项目基本信息Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-09
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/projectInfo")
|
||||
public class BmsProjectInfoController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsProjectInfoService bmsProjectInfoService;
|
||||
|
||||
/**
|
||||
* 查询项目基本信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:projectInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsProjectInfo bmsProjectInfo) {
|
||||
startPage();
|
||||
List<BmsProjectInfo> list = bmsProjectInfoService.selectBmsProjectInfoList(bmsProjectInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出项目基本信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:projectInfo:export")
|
||||
@Log(title = "项目基本信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsProjectInfo bmsProjectInfo) {
|
||||
List<BmsProjectInfo> list = bmsProjectInfoService.selectBmsProjectInfoList(bmsProjectInfo);
|
||||
ExcelUtil<BmsProjectInfo> util = new ExcelUtil<BmsProjectInfo>(BmsProjectInfo.class);
|
||||
util.exportExcel(response, list, "项目基本信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取项目基本信息详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:projectInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsProjectInfoService.selectBmsProjectInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增项目基本信息
|
||||
*/
|
||||
// @RequiresPermissions("system:projectInfo:add")
|
||||
@Log(title = "项目基本信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsProjectInfo bmsProjectInfo) {
|
||||
return toAjax(bmsProjectInfoService.insertBmsProjectInfo(bmsProjectInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改项目基本信息
|
||||
*/
|
||||
// @RequiresPermissions("system:projectInfo:edit")
|
||||
@Log(title = "项目基本信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsProjectInfo bmsProjectInfo) {
|
||||
return toAjax(bmsProjectInfoService.updateBmsProjectInfo(bmsProjectInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除项目基本信息
|
||||
*/
|
||||
// @RequiresPermissions("system:projectInfo:remove")
|
||||
@Log(title = "项目基本信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsProjectInfoService.deleteBmsProjectInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsProjectSettlementAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsProjectSettlementAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsProjectSettlementAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsProjectSettlementAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 项目落户奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/projectSettlementAward")
|
||||
public class BmsProjectSettlementAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsProjectSettlementAwardService bmsProjectSettlementAwardService;
|
||||
|
||||
/**
|
||||
* 查询项目落户奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:projectSettlementAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsProjectSettlementAward bmsProjectSettlementAward) {
|
||||
startPage();
|
||||
List<BmsProjectSettlementAward> list = bmsProjectSettlementAwardService.selectBmsProjectSettlementAwardList(bmsProjectSettlementAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出项目落户奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:projectSettlementAward:export")
|
||||
@Log(title = "项目落户奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsProjectSettlementAward bmsProjectSettlementAward) {
|
||||
List<BmsProjectSettlementAward> list = bmsProjectSettlementAwardService.selectBmsProjectSettlementAwardList(bmsProjectSettlementAward);
|
||||
ExcelUtil<BmsProjectSettlementAward> util = new ExcelUtil<BmsProjectSettlementAward>(BmsProjectSettlementAward.class);
|
||||
util.exportExcel(response, list, "项目落户奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取项目落户奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:projectSettlementAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsProjectSettlementAwardService.selectBmsProjectSettlementAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增项目落户奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:projectSettlementAward:add")
|
||||
@Log(title = "项目落户奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsProjectSettlementAwardAddDto bmsProjectSettlementAwardAddDto) {
|
||||
return toAjax(bmsProjectSettlementAwardService.insertBmsProjectSettlementAward(bmsProjectSettlementAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改项目落户奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:projectSettlementAward:edit")
|
||||
@Log(title = "项目落户奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsProjectSettlementAwardUpdateDto bmsProjectSettlementAwardUpdateDto) {
|
||||
return toAjax(bmsProjectSettlementAwardService.updateBmsProjectSettlementAward(bmsProjectSettlementAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除项目落户奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:projectSettlementAward:remove")
|
||||
@Log(title = "项目落户奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsProjectSettlementAwardService.deleteBmsProjectSettlementAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsSceneOpeningAward;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsSceneOpeningAwardAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsSceneOpeningAwardUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsSceneOpeningAwardService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 场景开放奖补Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/sceneOpeningAward")
|
||||
public class BmsSceneOpeningAwardController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsSceneOpeningAwardService bmsSceneOpeningAwardService;
|
||||
|
||||
/**
|
||||
* 查询场景开放奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:sceneOpeningAward:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsSceneOpeningAward bmsSceneOpeningAward) {
|
||||
startPage();
|
||||
List<BmsSceneOpeningAward> list = bmsSceneOpeningAwardService.selectBmsSceneOpeningAwardList(bmsSceneOpeningAward);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出场景开放奖补列表
|
||||
*/
|
||||
// @RequiresPermissions("system:sceneOpeningAward:export")
|
||||
@Log(title = "场景开放奖补", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsSceneOpeningAward bmsSceneOpeningAward) {
|
||||
List<BmsSceneOpeningAward> list = bmsSceneOpeningAwardService.selectBmsSceneOpeningAwardList(bmsSceneOpeningAward);
|
||||
ExcelUtil<BmsSceneOpeningAward> util = new ExcelUtil<BmsSceneOpeningAward>(BmsSceneOpeningAward.class);
|
||||
util.exportExcel(response, list, "场景开放奖补数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取场景开放奖补详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:sceneOpeningAward:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsSceneOpeningAwardService.selectBmsSceneOpeningAwardById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增场景开放奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:sceneOpeningAward:add")
|
||||
@Log(title = "场景开放奖补", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsSceneOpeningAwardAddDto bmsSceneOpeningAwardAddDto) {
|
||||
return toAjax(bmsSceneOpeningAwardService.insertBmsSceneOpeningAward(bmsSceneOpeningAwardAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改场景开放奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:sceneOpeningAward:edit")
|
||||
@Log(title = "场景开放奖补", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsSceneOpeningAwardUpdateDto bmsSceneOpeningAwardUpdateDto) {
|
||||
return toAjax(bmsSceneOpeningAwardService.updateBmsSceneOpeningAward(bmsSceneOpeningAwardUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除场景开放奖补
|
||||
*/
|
||||
// @RequiresPermissions("system:sceneOpeningAward:remove")
|
||||
@Log(title = "场景开放奖补", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsSceneOpeningAwardService.deleteBmsSceneOpeningAwardByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsTemplateInfo;
|
||||
import com.ruoyi.jjh.declaration.entity.vo.BmsTemplateInfoQueryVo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 申报模板信息Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/templateInfo")
|
||||
public class BmsTemplateInfoController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsTemplateInfoService bmsTemplateInfoService;
|
||||
|
||||
/**
|
||||
* 查询申报模板信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:templateInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsTemplateInfo bmsTemplateInfo) {
|
||||
startPage();
|
||||
List<BmsTemplateInfoQueryVo> list = bmsTemplateInfoService.selectBmsTemplateInfoList(bmsTemplateInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出申报模板信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:templateInfo:export")
|
||||
@Log(title = "申报模板信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsTemplateInfo bmsTemplateInfo) {
|
||||
List<BmsTemplateInfoQueryVo> list = bmsTemplateInfoService.selectBmsTemplateInfoList(bmsTemplateInfo);
|
||||
ExcelUtil<BmsTemplateInfoQueryVo> util = new ExcelUtil<BmsTemplateInfoQueryVo>(BmsTemplateInfoQueryVo.class);
|
||||
util.exportExcel(response, list, "申报模板信息数据");
|
||||
}
|
||||
|
||||
// @RequiresPermissions("system:templateInfo:exportTemplate")
|
||||
@Log(title = "导出模板表单", businessType = BusinessType.EXPORT)
|
||||
@GetMapping(value = "/exportTemplate/{id}")
|
||||
public void exportTemplate(HttpServletRequest request, HttpServletResponse response,@PathVariable("id")Long id){
|
||||
bmsTemplateInfoService.exportTemplate(request,response,id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取申报模板信息详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:templateInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsTemplateInfoService.selectBmsTemplateInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增申报模板信息
|
||||
*/
|
||||
// @RequiresPermissions("system:templateInfo:add")
|
||||
@Log(title = "申报模板信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsTemplateInfo bmsTemplateInfo) {
|
||||
return toAjax(bmsTemplateInfoService.insertBmsTemplateInfo(bmsTemplateInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改申报模板信息
|
||||
*/
|
||||
// @RequiresPermissions("system:templateInfo:edit")
|
||||
@Log(title = "申报模板信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsTemplateInfo bmsTemplateInfo) {
|
||||
return toAjax(bmsTemplateInfoService.updateBmsTemplateInfo(bmsTemplateInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除申报模板信息
|
||||
*/
|
||||
// @RequiresPermissions("system:templateInfo:remove")
|
||||
@Log(title = "申报模板信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsTemplateInfoService.deleteBmsTemplateInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,107 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsTemplateQueryDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsTemplateRecordAddDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsTemplateRecordQueryDto;
|
||||
import com.ruoyi.jjh.declaration.entity.dto.BmsTemplateRecordUpdateDto;
|
||||
import com.ruoyi.jjh.declaration.entity.vo.BmsTemplateRecordQueryVo;
|
||||
import com.ruoyi.jjh.declaration.service.IBmsTemplateRecordService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 在线模板Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-07
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/templateRecord")
|
||||
public class BmsTemplateRecordController extends BaseController {
|
||||
@Autowired
|
||||
private IBmsTemplateRecordService bmsTemplateRecordService;
|
||||
|
||||
/**
|
||||
* 查询在线模板列表
|
||||
*/
|
||||
// @RequiresPermissions("system:templateRecord:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmsTemplateRecordQueryDto bmsTemplateRecordQueryDto) {
|
||||
startPage();
|
||||
List<BmsTemplateRecordQueryVo> list = bmsTemplateRecordService.selectBmsTemplateRecordList(bmsTemplateRecordQueryDto);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@GetMapping("/templateNameList")
|
||||
public TableDataInfo templateNameList(BmsTemplateQueryDto bmsTemplateQueryDto){
|
||||
List<BmsTemplateRecordQueryVo> list = bmsTemplateRecordService.selectBmsTemplateNameList(bmsTemplateQueryDto);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出在线模板列表
|
||||
*/
|
||||
// @RequiresPermissions("system:templateRecord:export")
|
||||
@Log(title = "在线模板", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BmsTemplateRecordQueryDto bmsTemplateRecordQueryDto) {
|
||||
List<BmsTemplateRecordQueryVo> list = bmsTemplateRecordService.selectBmsTemplateRecordList(bmsTemplateRecordQueryDto);
|
||||
ExcelUtil<BmsTemplateRecordQueryVo> util = new ExcelUtil<BmsTemplateRecordQueryVo>(BmsTemplateRecordQueryVo.class);
|
||||
util.exportExcel(response, list, "在线模板数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取在线模板详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:templateRecord:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bmsTemplateRecordService.selectBmsTemplateRecordById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增在线模板
|
||||
*/
|
||||
// @RequiresPermissions("system:templateRecord:add")
|
||||
@Log(title = "在线模板", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BmsTemplateRecordAddDto bmsTemplateRecordAddDto) {
|
||||
return toAjax(bmsTemplateRecordService.insertBmsTemplateRecord(bmsTemplateRecordAddDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改在线模板
|
||||
*/
|
||||
// @RequiresPermissions("system:templateRecord:edit")
|
||||
@Log(title = "在线模板", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BmsTemplateRecordUpdateDto bmsTemplateRecordUpdateDto) {
|
||||
return toAjax(bmsTemplateRecordService.updateBmsTemplateRecord(bmsTemplateRecordUpdateDto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除在线模板
|
||||
*/
|
||||
// @RequiresPermissions("system:templateRecord:remove")
|
||||
@Log(title = "在线模板", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bmsTemplateRecordService.deleteBmsTemplateRecordByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jjh.declaration.controller;
|
||||
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jjh.declaration.entity.BsmFundingInfo;
|
||||
import com.ruoyi.jjh.declaration.service.IBsmFundingInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 资金信息Controller
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/fundingInfo")
|
||||
public class BsmFundingInfoController extends BaseController {
|
||||
@Autowired
|
||||
private IBsmFundingInfoService bsmFundingInfoService;
|
||||
|
||||
/**
|
||||
* 查询资金信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingInfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BsmFundingInfo bsmFundingInfo) {
|
||||
startPage();
|
||||
List<BsmFundingInfo> list = bsmFundingInfoService.selectBsmFundingInfoList(bsmFundingInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出资金信息列表
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingInfo:export")
|
||||
@Log(title = "资金信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BsmFundingInfo bsmFundingInfo) {
|
||||
List<BsmFundingInfo> list = bsmFundingInfoService.selectBsmFundingInfoList(bsmFundingInfo);
|
||||
ExcelUtil<BsmFundingInfo> util = new ExcelUtil<BsmFundingInfo>(BsmFundingInfo.class);
|
||||
util.exportExcel(response, list, "资金信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取资金信息详细信息
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingInfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return success(bsmFundingInfoService.selectBsmFundingInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增资金信息
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingInfo:add")
|
||||
@Log(title = "资金信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BsmFundingInfo bsmFundingInfo) {
|
||||
return toAjax(bsmFundingInfoService.insertBsmFundingInfo(bsmFundingInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改资金信息
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingInfo:edit")
|
||||
@Log(title = "资金信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BsmFundingInfo bsmFundingInfo) {
|
||||
return toAjax(bsmFundingInfoService.updateBsmFundingInfo(bsmFundingInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除资金信息
|
||||
*/
|
||||
// @RequiresPermissions("system:fundingInfo:remove")
|
||||
@Log(title = "资金信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(bsmFundingInfoService.deleteBsmFundingInfoByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package com.ruoyi.jjh.declaration.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.jjh.common.entity.BaseInfoEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 企业名录对象 bms_enterprise_directory
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-31
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsEnterpriseDirectory extends BaseInfoEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "在线模板记录id")
|
||||
private Long templateRecordId;
|
||||
|
||||
/**
|
||||
* 企业名字
|
||||
*/
|
||||
@Excel(name = "企业名字")
|
||||
private String enterpriseName;
|
||||
|
||||
/**
|
||||
* 企业统一信用代码
|
||||
*/
|
||||
@Excel(name = "企业统一信用代码")
|
||||
private String creditCode;
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("templateRecordId", getTemplateRecordId()).append("enterpriseName", getEnterpriseName()).append("creditCode", getCreditCode()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark()).toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 附件参数dto
|
||||
* <p>
|
||||
*
|
||||
* @className: AppendixParamDto
|
||||
* @author: emiya.xie
|
||||
* @create: 2023-03-03 10:46
|
||||
*/
|
||||
@Data
|
||||
public class AppendixParamDto {
|
||||
|
||||
/**
|
||||
* 附件id
|
||||
*/
|
||||
private Long id;
|
||||
/**
|
||||
* 其他
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 文件名称
|
||||
*/
|
||||
private String deliverablesName;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 审核申报记录查询
|
||||
* <p>
|
||||
*
|
||||
* @className: ApprovalDeclarationRecordsQueryDto
|
||||
* @author: emiya.xie
|
||||
* @create: 2023-09-09 15:07
|
||||
*/
|
||||
@Data
|
||||
public class ApprovalDeclarationRecordsQueryDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "事项")
|
||||
private String matter;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目类型:也就是产品领域")
|
||||
private Integer productArea;
|
||||
|
||||
@ApiModelProperty(value = "申报单位")
|
||||
private String enterpriseName;
|
||||
|
||||
@ApiModelProperty(value = "扶持方式")
|
||||
private Integer supportMethods;
|
||||
|
||||
@ApiModelProperty(value = "项目开始时间")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "项目结束时间")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty(value = "审核状态")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private List<Long> userIds;
|
||||
|
||||
@ApiModelProperty(value = "审批人id")
|
||||
private Long approvalById;
|
||||
|
||||
@ApiModelProperty(value = "审批状态集合")
|
||||
private List<Integer> approvalStatusStr;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 审批记录信息对象 bms_approval_info
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-09
|
||||
*/
|
||||
@Data
|
||||
public class BmsApprovalInfoUpdateDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键id */
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/** 申报记录id */
|
||||
@Excel(name = "申报记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
/** 审批状态(0=待审核.1=审批通过,2=审批驳回) */
|
||||
@Excel(name = "审批状态(0=待审核.1=审批通过,2=审批驳回)")
|
||||
private Integer approvalStatus;
|
||||
|
||||
/** 审批意见 */
|
||||
@Excel(name = "审批意见")
|
||||
private String approvalOpinions;
|
||||
|
||||
/** 审批附件 */
|
||||
@Excel(name = "审批附件")
|
||||
private String approvalAttachment;
|
||||
|
||||
@Excel(name = "排序")
|
||||
private Integer sort;
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsBigStrongAward;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsFundingDetail;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 做大做强奖详情对象 bms_big_strong_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsBigStrongAwardUpdateDto extends BmsBigStrongAward implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "应收列表")
|
||||
private List<BmsFundingDetail> fundingDetailList;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 品牌打造奖补对象 bms_branding_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsBrandingAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/** 所获荣誉/所举办活动 */
|
||||
@Excel(name = "所获荣誉/所举办活动")
|
||||
private String honorsReceived;
|
||||
|
||||
/** 所属等级 */
|
||||
@Excel(name = "所属等级")
|
||||
private Long level;
|
||||
|
||||
/** 证明材料 */
|
||||
@Excel(name = "证明材料")
|
||||
private String evidence;
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsBrandingAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 品牌打造奖补对象 bms_branding_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsBrandingAwardUpdateDto extends BmsBrandingAward {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 载体建设奖补对象 bms_carrier_construction_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsCarrierConstructionAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 文体企业数量占比 */
|
||||
@Excel(name = "文体企业数量占比")
|
||||
private String quantityProportion;
|
||||
|
||||
/** 文体企业营收占比 */
|
||||
@Excel(name = "文体企业营收占比")
|
||||
private String revenueProportion;
|
||||
|
||||
/** 文体企业从业人员占比 */
|
||||
@Excel(name = "文体企业从业人员占比")
|
||||
private String personnelProportion;
|
||||
|
||||
/** 相关佐证材料 */
|
||||
@Excel(name = "相关佐证材料")
|
||||
private String supportingMaterials;
|
||||
|
||||
/** 项目工商登记许可 */
|
||||
@Excel(name = "项目工商登记许可")
|
||||
private String businessLicense;
|
||||
|
||||
/** 消防验收报告 */
|
||||
@Excel(name = "消防验收报告")
|
||||
private String fireReport;
|
||||
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsCarrierConstructionAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 载体建设奖补对象 bms_carrier_construction_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsCarrierConstructionAwardUpdateDto extends BmsCarrierConstructionAward {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@Excel(name = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 信用管理奖补对象 bms_credit_management
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsCreditManagementAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 项目方案(包括项目基本情况介绍、项目投资情况以及实施进展、项目目标及取得的主要成效) */
|
||||
@Excel(name = "项目方案")
|
||||
private String projectPlan;
|
||||
|
||||
/** 资金使用说明(项目未完成的需提供,内容主要包括项目计划投资额,投资明细,目前已完成投资情况和后续投入计划等) */
|
||||
@Excel(name = "资金使用说明")
|
||||
private String usesFunds;
|
||||
|
||||
/** 项目专项审计报告(项目已完成的需提供) */
|
||||
@Excel(name = "项目专项审计报告")
|
||||
private String auditReport;
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsCreditManagement;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 信用管理奖补对象 bms_credit_management
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsCreditManagementUpdateDto extends BmsCreditManagement {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@Excel(name = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 模板字段填写详情对象 bms_field_info
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
public class BmsFieldInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 详情id */
|
||||
@Excel(name = "详情id")
|
||||
private Long detailId;
|
||||
|
||||
/** 字段名称 */
|
||||
@Excel(name = "字段名称")
|
||||
private String fieldName;
|
||||
|
||||
/** 字段说明 */
|
||||
@Excel(name = "字段说明")
|
||||
private String fieldResult;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 文件存储说明详情对象 bms_file_info
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
public class BmsFileInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 详情id */
|
||||
@Excel(name = "详情id")
|
||||
private Long detailId;
|
||||
|
||||
/** 文件名称 */
|
||||
@Excel(name = "文件名称")
|
||||
private String fileName;
|
||||
|
||||
/** 文件说明 */
|
||||
@Excel(name = "文件说明")
|
||||
private String fileDescription;
|
||||
|
||||
/** 文件地址 */
|
||||
@Excel(name = "文件地址")
|
||||
private String fileUrl;
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 5G+工业互联网奖补对象 bms_industrial_internet_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsIndustrialInternetAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/** 荣誉名称 */
|
||||
@Excel(name = "荣誉名称")
|
||||
private String honoraryName;
|
||||
|
||||
/** 证明材料 */
|
||||
@Excel(name = "证明材料")
|
||||
private String material;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsIndustrialInternetAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 5G+工业互联网奖补对象 bms_industrial_internet_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsIndustrialInternetAwardUpdateDto extends BmsIndustrialInternetAward {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@Excel(name = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 两业融合奖补对象 bms_integration_industries
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsIntegrationIndustriesAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Excel(name = "申报类型",readConverterExp = "1=两业融合示范企业,2=制造业企业设立财务独立核算的制造服务业职能部门,3=制造业企业剥离服务业务成立独立的法人")
|
||||
private Integer declarationType;
|
||||
|
||||
/** 证明材料 */
|
||||
@Excel(name = "证明材料")
|
||||
private String evidence;
|
||||
|
||||
/** 营业执照 */
|
||||
@Excel(name = "营业执照")
|
||||
private String businessLicense;
|
||||
|
||||
/** 完税证明 */
|
||||
@Excel(name = "完税证明")
|
||||
private String taxPaymentCertificate;
|
||||
|
||||
/** 审计报告 */
|
||||
@Excel(name = "审计报告")
|
||||
private String auditReport;
|
||||
|
||||
/** 股权架构图 */
|
||||
@Excel(name = "股权架构图")
|
||||
private String equityStructureChart;
|
||||
|
||||
/** 项目申报报告(含企业基本情况和项目基本情况) */
|
||||
@Excel(name = "项目申报报告")
|
||||
private String declarationReport;
|
||||
|
||||
/** 独立核算相关证明 */
|
||||
@Excel(name = "独立核算相关证明")
|
||||
private String independentAccounting;
|
||||
|
||||
/** 验资报告 */
|
||||
@Excel(name = "验资报告")
|
||||
private String capitalVerificationReport;
|
||||
|
||||
/** 证明材料 */
|
||||
@Excel(name = "证明材料")
|
||||
private String otherEvidence;
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsIntegrationIndustries;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 两业融合奖补对象 bms_integration_industries
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsIntegrationIndustriesUpdateDto extends BmsIntegrationIndustries {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 物流发展奖补对象 bms_logistics_development_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsLogisticsDevelopmentAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 荣誉证明文件 */
|
||||
@Excel(name = "荣誉证明文件")
|
||||
private String honorCertificate;
|
||||
|
||||
/** 平台名称 */
|
||||
@Excel(name = "平台名称")
|
||||
private String platformName;
|
||||
|
||||
/** 企业投资项目备案通知书或核准批复文件 */
|
||||
@Excel(name = "企业投资项目备案通知书或核准批复文件")
|
||||
private String filingNotice;
|
||||
|
||||
/** 会计师事务所出具的企业财务报表审计报告 */
|
||||
@Excel(name = "会计师事务所出具的企业财务报表审计报告")
|
||||
private String auditReport;
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsLogisticsDevelopmentAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 物流发展奖补对象 bms_logistics_development_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsLogisticsDevelopmentAwardUpdateDto extends BmsLogisticsDevelopmentAward {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 制造服务业有效投入奖补对象 bms_manufacturing_services_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsManufacturingServicesAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 企业投资项目备案通知书或核准批复文件 */
|
||||
@Excel(name = "企业投资项目备案通知书或核准批复文件")
|
||||
private String filingNotice;
|
||||
|
||||
/** 购置设备发票清单及发票扫描件 */
|
||||
@Excel(name = "购置设备发票清单及发票扫描件")
|
||||
private String invoice;
|
||||
|
||||
/** 会计师事务所出具的企业申报项目购置设备情况的专项审计报告 */
|
||||
@Excel(name = "会计师事务所出具的企业申报项目购置设备情况的专项审计报告")
|
||||
private String auditReport;
|
||||
|
||||
/** 会计师事务所出具的企业财务报表审计报告 */
|
||||
@Excel(name = "会计师事务所出具的企业财务报表审计报告")
|
||||
private String financialStatements;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsManufacturingServicesAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 制造服务业有效投入奖补对象 bms_manufacturing_services_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsManufacturingServicesAwardUpdateDto extends BmsManufacturingServicesAward {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@Excel(name = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 平台建设奖补对象 bms_platform_construction_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsPlatformConstructionAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 平台(项目)名称 */
|
||||
@Excel(name = "平台(项目)名称")
|
||||
private String platformName;
|
||||
|
||||
/** 合作协议 */
|
||||
@Excel(name = "合作协议")
|
||||
private String agreement;
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsPlatformConstructionAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 平台建设奖补对象 bms_platform_construction_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsPlatformConstructionAwardUpdateDto extends BmsPlatformConstructionAward {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 项目落户奖补对象 bms_project_settlement_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsProjectSettlementAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "申报单位成立时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "申报单位成立时间")
|
||||
private Date establishTime;
|
||||
|
||||
@Excel(name = "截至目前员工人数")
|
||||
@ApiModelProperty(value = "截至目前员工人数")
|
||||
private Long employeeNum;
|
||||
|
||||
@ApiModelProperty(value = "应收列表")
|
||||
private List<BmsFundingDetailAddDto> fundingDetailList;
|
||||
|
||||
@Excel(name = "招商协议")
|
||||
@ApiModelProperty(value = "招商协议")
|
||||
private String agreement;
|
||||
|
||||
@Excel(name = "验资报告")
|
||||
@ApiModelProperty(value = "验资报告")
|
||||
private String report;
|
||||
|
||||
@Excel(name = "其他材料")
|
||||
@ApiModelProperty(value = "其他材料")
|
||||
private String otherMaterials;
|
||||
|
||||
@Excel(name = "营业执照")
|
||||
@ApiModelProperty(value = "营业执照")
|
||||
private String businessLicense;
|
||||
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsFundingDetail;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsProjectSettlementAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 项目落户奖补对象 bms_project_settlement_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsProjectSettlementAwardUpdateDto extends BmsProjectSettlementAward implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "应收列表")
|
||||
private List<BmsFundingDetail> fundingDetailList;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 场景开放奖补对象 bms_scene_opening_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsSceneOpeningAwardAddDto extends BmsEnterpriseBasicInfoAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 项目名称 */
|
||||
@Excel(name = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
/** 所属类型 */
|
||||
@Excel(name = "所属类型")
|
||||
private Long type;
|
||||
|
||||
/** 公示、发文证明、专家评分表 */
|
||||
@Excel(name = "公示、发文证明、专家评分表")
|
||||
private String material;
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsSceneOpeningAward;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 场景开放奖补对象 bms_scene_opening_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsSceneOpeningAwardUpdateDto extends BmsSceneOpeningAward {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "审批状态:0=草稿,1=初审中,2=复审中,3=专家评审中,4=市级评定中,5=评定通过,6=专家评审-拒绝,7=复审-拒绝,8=初审-拒绝,9=评定驳回")
|
||||
private Long status;
|
||||
|
||||
@ApiModelProperty(value = "项目id")
|
||||
private Long projectId;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsEnterpriseDirectory;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsTemplateInfo;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 申报模板信息对象 bms_template_info
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsTemplateInfoAddDto extends BmsTemplateInfo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "企业名录")
|
||||
private List<BmsEnterpriseDirectory> enterpriseDirectoryList;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsEnterpriseDirectory;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 在线模板对象 bms_template_record
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-07
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsTemplateRecordAddDto extends BmsTemplateRecord {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "企业名录")
|
||||
private List<BmsEnterpriseDirectory> enterpriseDirectoryList;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsEnterpriseDirectory;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 在线模板对象 bms_template_record
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-09-07
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsTemplateRecordUpdateDto extends BmsTemplateRecord {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "企业名录")
|
||||
private List<BmsEnterpriseDirectory> enterpriseDirectoryList;
|
||||
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 市级评定Dto
|
||||
* <p>
|
||||
*
|
||||
* @className: MunicipalReviewInfoDto
|
||||
* @author: emiya.xie
|
||||
* @create: 2023-09-13 16:30
|
||||
*/
|
||||
@Data
|
||||
public class MunicipalReviewDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "市级评定信息-old")
|
||||
private List<MunicipalReviewInfoDto> list;
|
||||
|
||||
@ApiModelProperty(value = "市级评定信息-new")
|
||||
private List<BmsMunicipalBureauReviewQueryDto> reviewList;
|
||||
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 市级评定
|
||||
* <p>
|
||||
*
|
||||
* @className: MunicipalReviewInfoDto
|
||||
* @author: emiya.xie
|
||||
* @create: 2023-09-13 16:30
|
||||
*/
|
||||
@Data
|
||||
public class MunicipalReviewInfoDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationId;
|
||||
|
||||
@ApiModelProperty(value = "企业id")
|
||||
private Long enterpriseId;
|
||||
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String enterpriseName;
|
||||
|
||||
@ApiModelProperty(value = "企业统一信用代码")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "申报类型说明")
|
||||
private String declarationTypeStr;
|
||||
|
||||
@ApiModelProperty(value = "年份")
|
||||
private String year;
|
||||
|
||||
@ApiModelProperty(value = "市级评定结果")
|
||||
private String result;
|
||||
|
||||
@ApiModelProperty(value = "结果")
|
||||
private Long status;
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 申请记录信息新增-开放
|
||||
* <p>
|
||||
*
|
||||
* @className: OpenInterfaceApplyAddDto
|
||||
* @author: emiya.xie
|
||||
* @create: 2023-09-12 14:42
|
||||
*/
|
||||
@Data
|
||||
public class OpenInterfaceApplyAddDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "申报模版类型")
|
||||
private Integer declarationTemplateType;
|
||||
|
||||
@ApiModelProperty(value = "项目落户奖补新增Dto")
|
||||
private BmsProjectSettlementAwardAddDto bmsProjectSettlementAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "做大做强奖补新增Dto")
|
||||
private BmsBigStrongAwardAddDto bmsBigStrongAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "载体建设奖补新增Dto")
|
||||
private BmsCarrierConstructionAwardAddDto bmsCarrierConstructionAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "台建设奖补新增Dto")
|
||||
private BmsPlatformConstructionAwardAddDto bmsPlatformConstructionAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "品牌打造奖补新增Dto")
|
||||
private BmsBrandingAwardAddDto bmsBrandingAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "场景开放奖补新增Dto")
|
||||
private BmsSceneOpeningAwardAddDto bmsSceneOpeningAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "信用管理奖补新增Dto")
|
||||
private BmsCreditManagementAddDto bmsCreditManagementAddDto;
|
||||
|
||||
@ApiModelProperty(value = "5G+工业互联网奖补新增Dto")
|
||||
private BmsIndustrialInternetAwardAddDto bmsIndustrialInternetAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "制造服务业有效投入奖补新增Dto")
|
||||
private BmsManufacturingServicesAwardAddDto bmsManufacturingServicesAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "物流发展奖补新增Dto")
|
||||
private BmsLogisticsDevelopmentAwardAddDto bmsLogisticsDevelopmentAwardAddDto;
|
||||
|
||||
@ApiModelProperty(value = "两业融合奖补新增Dto")
|
||||
private BmsIntegrationIndustriesAddDto bmsIntegrationIndustriesAddDto;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.ruoyi.jjh.declaration.entity.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 上传内容
|
||||
* <p>
|
||||
*
|
||||
* @className: UploadDto
|
||||
* @author: emiya.xie
|
||||
* @create: 2023-03-01 09:53
|
||||
*/
|
||||
@Data
|
||||
public class UploadDto {
|
||||
|
||||
private String name;
|
||||
|
||||
private String url;
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
package com.ruoyi.jjh.declaration.entity.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 审核申报记录查询
|
||||
* <p>
|
||||
*
|
||||
* @className: ApprovalDeclarationRecordsQueryDto
|
||||
* @author: emiya.xie
|
||||
* @create: 2023-09-09 15:07
|
||||
*/
|
||||
@Data
|
||||
public class ApprovalDeclarationRecordsQueryVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "审批状态(0=待审核.1=审批通过,2=审批驳回)")
|
||||
private Integer approvalStatus;
|
||||
|
||||
@ApiModelProperty(value = "事项")
|
||||
private String matter;
|
||||
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目类型:也就是产品领域")
|
||||
private Integer productArea;
|
||||
|
||||
@ApiModelProperty(value = "申报单位")
|
||||
private String enterpriseName;
|
||||
|
||||
@ApiModelProperty(value = "扶持方式")
|
||||
private Integer supportMethods;
|
||||
|
||||
@ApiModelProperty(value = "申请时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "项目开始时间")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "项目结束时间")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty(value = "审核状态")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "申报记录模板id")
|
||||
private Long templateRecordId;
|
||||
|
||||
@ApiModelProperty(value = "申报记录模板id")
|
||||
private Long templateId;
|
||||
|
||||
@ApiModelProperty(value = "记录id")
|
||||
private Long declarationRecordsId;
|
||||
|
||||
@ApiModelProperty(value = "详情id")
|
||||
private Long detailId;
|
||||
|
||||
@ApiModelProperty(value = "审批时间")
|
||||
private Date approvalTime;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.ruoyi.jjh.declaration.entity.vo;
|
||||
|
||||
import com.ruoyi.jjh.declaration.entity.BmsBigStrongAward;
|
||||
import com.ruoyi.jjh.declaration.entity.BmsFundingDetail;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 做大做强奖详情对象 bms_big_strong_award
|
||||
*
|
||||
* @author farben
|
||||
* @date 2023-08-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class BmsBigStrongAwardQueryVo extends BmsBigStrongAward {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "应收列表")
|
||||
private List<BmsFundingDetail> fundingDetailList;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue