管理端可在资产管理模块编辑资产所属单位信息,并同步至任务中

main
dongdingding 5 months ago
parent 203c1b1bc4
commit 308e40aaec

@ -2,7 +2,6 @@ package com.ruoyi.tc.controller;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.annotation.Log; import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.controller.BaseController;
@ -11,15 +10,17 @@ import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.exception.ServiceException; import com.ruoyi.common.exception.ServiceException;
import com.ruoyi.common.utils.SecurityUtils; import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.*; import com.ruoyi.tc.entity.AssetApp;
import com.ruoyi.tc.entity.po.*; import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.request.Acomma; import com.ruoyi.tc.entity.po.AssetAppCpPo;
import com.ruoyi.tc.entity.po.AssetAppJyPo;
import com.ruoyi.tc.entity.request.AssetAppPageRequest; import com.ruoyi.tc.entity.request.AssetAppPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest; import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest; import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.service.AssetAppCpService; import com.ruoyi.tc.service.AssetAppCpService;
import com.ruoyi.tc.service.AssetAppJyService; import com.ruoyi.tc.service.AssetAppJyService;
import com.ruoyi.tc.service.AssetAppService; import com.ruoyi.tc.service.AssetAppService;
import com.ruoyi.tc.service.AssetTaskService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
@ -30,12 +31,8 @@ import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid; import javax.validation.Valid;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import static com.ruoyi.common.core.domain.AjaxResult.success;
/** /**
* (asset_app) * (asset_app)
* *
@ -55,6 +52,11 @@ public class AssetAppController extends BaseController {
@Resource @Resource
private AssetAppJyService assetAppJyService; private AssetAppJyService assetAppJyService;
@Resource
private AssetTaskService assetTaskService;
@Resource
private AssetAppCpService assetAppCpService;
/** /**
* *
* *
@ -77,6 +79,7 @@ public class AssetAppController extends BaseController {
return success(assetAppService.page(page, req)); return success(assetAppService.page(page, req));
} }
//================================================= //=================================================
/** /**
* *
*/ */
@ -84,8 +87,8 @@ public class AssetAppController extends BaseController {
@PreAuthorize("@ss.hasAnyRoles('unit')") @PreAuthorize("@ss.hasAnyRoles('unit')")
@PostMapping("/unitEdit") @PostMapping("/unitEdit")
public AjaxResult unitEdit(@RequestBody @Valid AssetAppJyPo assetAppJyPo) { public AjaxResult unitEdit(@RequestBody @Valid AssetAppJyPo assetAppJyPo) {
AssetAppJyPo one = assetAppJyService.lambdaQuery().eq(AssetAppJyPo::getAppName,assetAppJyPo.getAppName()) AssetAppJyPo one = assetAppJyService.lambdaQuery().eq(AssetAppJyPo::getAppName, assetAppJyPo.getAppName())
.eq(AssetAppJyPo::getSsdw,assetAppJyPo.getSsdw()).isNull(AssetAppJyPo::getTaskId).one(); .eq(AssetAppJyPo::getSsdw, assetAppJyPo.getSsdw()).isNull(AssetAppJyPo::getTaskId).one();
assetAppJyPo.setAuditState("1"); assetAppJyPo.setAuditState("1");
assetAppJyPo.setAuditYy(null); assetAppJyPo.setAuditYy(null);
if (one != null) { if (one != null) {
@ -93,8 +96,8 @@ public class AssetAppController extends BaseController {
assetAppJyPo.setAssetId(one.getAssetId()); assetAppJyPo.setAssetId(one.getAssetId());
assetAppJyService.updateById(assetAppJyPo); assetAppJyService.updateById(assetAppJyPo);
} else { } else {
assetAppJyPo.setAssetId(assetAppService.lambdaQuery().eq(AssetApp::getAppName,assetAppJyPo.getAppName()) assetAppJyPo.setAssetId(assetAppService.lambdaQuery().eq(AssetApp::getAppName, assetAppJyPo.getAppName())
.eq(AssetApp::getSsdw,assetAppJyPo.getSsdw()).one().getId()); .eq(AssetApp::getSsdw, assetAppJyPo.getSsdw()).one().getId());
assetAppJyService.save(assetAppJyPo); assetAppJyService.save(assetAppJyPo);
} }
return success(); return success();
@ -158,7 +161,7 @@ public class AssetAppController extends BaseController {
.isNotNull(AssetAppJyPo::getTaskId) .isNotNull(AssetAppJyPo::getTaskId)
.ne(AssetAppJyPo::getStatus, 5) .ne(AssetAppJyPo::getStatus, 5)
.eq(AssetAppJyPo::getAssetId, byId.getAssetId()).one(); .eq(AssetAppJyPo::getAssetId, byId.getAssetId()).one();
if(one!=null){ if (one != null) {
Integer status = one.getStatus(); Integer status = one.getStatus();
Integer taskId = one.getTaskId(); Integer taskId = one.getTaskId();
Long appId = one.getAppId(); Long appId = one.getAppId();
@ -211,6 +214,19 @@ public class AssetAppController extends BaseController {
@Log(title = "编辑app数据", businessType = BusinessType.UPDATE) @Log(title = "编辑app数据", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody AssetApp assetApp) { public AjaxResult edit(@RequestBody AssetApp assetApp) {
//根据资产id查询资产子表,判断是否有此资产进行中的任务,如果资产状态是已关停与修改的数据不符,则修改任务中的资产状态
AssetAppCpPo assetAppCpPo = assetAppCpService.findDwmc(assetApp.getId());
if (assetAppCpPo != null) {
//查询任务是否为进行中
AssetTask assetTask = assetTaskService.findByTaskId(assetAppCpPo.getTaskId());
if (assetTask.getTaskStatus().equals(1)) {
if (assetAppCpPo.getAppState().equals("7") || assetAppCpPo.getAppState() != assetApp.getAppState()) {
//修改任务中资产状态
assetAppCpPo.setAppState(assetApp.getAppState());
assetAppCpService.updateById(assetAppCpPo);
}
}
}
return success(assetAppService.edit(assetApp)); return success(assetAppService.edit(assetApp));
} }
@ -262,13 +278,13 @@ public class AssetAppController extends BaseController {
ExcelUtil<AssetApp> util = new ExcelUtil<>(AssetApp.class); ExcelUtil<AssetApp> util = new ExcelUtil<>(AssetApp.class);
List<AssetApp> list = util.importExcel(file.getInputStream()); List<AssetApp> list = util.importExcel(file.getInputStream());
if (list != null) { if (list != null) {
list.forEach(x->{ list.forEach(x -> {
AssetApp one = assetAppService.lambdaQuery().eq(AssetApp::getSsdw, x.getSsdw()) AssetApp one = assetAppService.lambdaQuery().eq(AssetApp::getSsdw, x.getSsdw())
.eq(AssetApp::getAppName, x.getAppName()).one(); .eq(AssetApp::getAppName, x.getAppName()).one();
if(one!=null){ if (one != null) {
x.setId(one.getId()); x.setId(one.getId());
assetAppService.edit(x); assetAppService.edit(x);
}else { } else {
assetAppService.add(x); assetAppService.add(x);
} }
}); });

@ -506,6 +506,19 @@ public class AssetCurrentController extends BaseController {
@PreAuthorize("@ss.hasAnyRoles('admin,common')") @PreAuthorize("@ss.hasAnyRoles('admin,common')")
@PutMapping @PutMapping
public AjaxResult update(@RequestBody @Valid AssetCurrent assetCurrent) { public AjaxResult update(@RequestBody @Valid AssetCurrent assetCurrent) {
//根据资产id查询资产子表,判断是否有此资产进行中的任务,如果资产状态是已关停与修改的数据不符,则修改任务中的资产状态
AssetCurrentCpPo currentCpPo = assetCurrentCpService.findDwmc(assetCurrent.getId());
if (currentCpPo != null) {
//查询任务是否为进行中
AssetTask assetTask = assetTaskService.findByTaskId(currentCpPo.getTaskId());
if (assetTask.getTaskStatus().equals(1)){
if (currentCpPo.getXtzt().equals("5") ||assetCurrent.getXtzt()!=currentCpPo.getXtzt()){
//修改任务中资产状态
currentCpPo.setXtzt(assetCurrent.getXtzt());
assetCurrentCpService.updateById(currentCpPo);
}
}
}
//保存未修改之前的单位名称 //保存未修改之前的单位名称
AssetCurrent byId = assetCurrentService.getById(assetCurrent.getId()); AssetCurrent byId = assetCurrentService.getById(assetCurrent.getId());
StringBuilder a = new StringBuilder(); StringBuilder a = new StringBuilder();
@ -652,14 +665,16 @@ public class AssetCurrentController extends BaseController {
} }
}); });
//根据修改的单位名称查询任务表中是否有此单位的任务如果有修改资产中的任务id如果没有删除 //根据修改的单位名称查询任务表中是否有此单位的任务如果有修改资产中的任务id如果没有删除
List<AssetTask> dwmcList = assetTaskService.findByDwmc(assetCurrent.getDwmc()); AssetTask assetTask = assetTaskService.findByDwmc(assetCurrent.getDwmc());
if (dwmcList.isEmpty()) { if (assetTask != null) {
delete(assetCurrent);
}else{
delete(assetCurrent); delete(assetCurrent);
for (AssetTask s:dwmcList){ } else {
//根据资产id查询旧资产
} AssetCurrentCpPo assetCurrentCpPo = assetCurrentCpService.findDwmc(assetCurrent.getId());
assetCurrentCpPo.setDwmc(assetCurrent.getDwmc());
assetCurrentCpPo.setTaskId(assetTask.getId());
//修改
assetCurrentCpService.updateById(assetCurrentCpPo);
} }
return success(); return success();

@ -12,12 +12,12 @@ import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.AssetApp; import com.ruoyi.tc.entity.AssetApp;
import com.ruoyi.tc.entity.AssetEmail; import com.ruoyi.tc.entity.AssetEmail;
import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.po.*; import com.ruoyi.tc.entity.po.*;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest; import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest; import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.entity.request.AssetEmailPageRequest; import com.ruoyi.tc.entity.request.AssetEmailPageRequest;
import com.ruoyi.tc.service.AssetEmailJyService; import com.ruoyi.tc.service.*;
import com.ruoyi.tc.service.AssetEmailService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
@ -48,6 +48,11 @@ public class AssetEmailController extends BaseController {
@Resource @Resource
private AssetEmailJyService assetEmailJyService; private AssetEmailJyService assetEmailJyService;
@Resource
private AssetTaskService assetTaskService;
@Resource
private AssetEmailCpService assetEmailCpService;
/** /**
* *
* *
@ -204,6 +209,19 @@ public class AssetEmailController extends BaseController {
@Log(title = "编辑email数据", businessType = BusinessType.UPDATE) @Log(title = "编辑email数据", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody AssetEmail assetEmail) { public AjaxResult edit(@RequestBody AssetEmail assetEmail) {
//根据资产id查询资产子表,判断是否有此资产进行中的任务,如果资产状态是已关停与修改的数据不符,则修改任务中的资产状态
AssetEmailCpPo assetEmailCpPo = assetEmailCpService.findDwmc(assetEmail.getId());
if (assetEmailCpPo != null) {
//查询任务是否为进行中
AssetTask assetTask = assetTaskService.findByTaskId(assetEmailCpPo.getTaskId());
if (assetTask.getTaskStatus().equals(1)) {
if (assetEmailCpPo.getYjxtzc().equals("2") || assetEmailCpPo.getYjxtzc() != assetEmail.getYjxtzc()) {
//修改任务中资产状态
assetEmailCpPo.setYjxtzc(assetEmail.getYjxtzc());
assetEmailCpService.updateById(assetEmailCpPo);
}
}
}
return success(assetEmailService.edit(assetEmail)); return success(assetEmailService.edit(assetEmail));
} }

@ -12,15 +12,12 @@ import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.AssetEmail; import com.ruoyi.tc.entity.AssetEmail;
import com.ruoyi.tc.entity.AssetMiniPrograms; import com.ruoyi.tc.entity.AssetMiniPrograms;
import com.ruoyi.tc.entity.po.AssetAppCpPo; import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.po.AssetAppJyPo; import com.ruoyi.tc.entity.po.*;
import com.ruoyi.tc.entity.po.AssetEmailJyPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsJyPo;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest; import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest; import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.entity.request.AssetMiniProgramsPageRequest; import com.ruoyi.tc.entity.request.AssetMiniProgramsPageRequest;
import com.ruoyi.tc.service.AssetMiniProgramsJyService; import com.ruoyi.tc.service.*;
import com.ruoyi.tc.service.AssetMiniProgramsService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
@ -51,6 +48,12 @@ public class AssetMiniProgramsController extends BaseController {
@Resource @Resource
private AssetMiniProgramsJyService assetMiniProgramsJyService; private AssetMiniProgramsJyService assetMiniProgramsJyService;
@Resource
private AssetTaskService assetTaskService;
@Resource
private AssetMiniProgramsCpService assetMiniProgramsCpService;
/** /**
* *
* *
@ -208,6 +211,20 @@ public class AssetMiniProgramsController extends BaseController {
@Log(title = "编辑小程序数据", businessType = BusinessType.UPDATE) @Log(title = "编辑小程序数据", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody AssetMiniPrograms assetMiniPrograms) { public AjaxResult edit(@RequestBody AssetMiniPrograms assetMiniPrograms) {
//根据资产id查询资产子表,判断是否有此资产进行中的任务,如果资产状态是已关停与修改的数据不符,则修改任务中的资产状态
AssetMiniProgramsCpPo assetMiniProgramsCpPo = assetMiniProgramsCpService.findDwmc(assetMiniPrograms.getId());
if (assetMiniProgramsCpPo != null) {
//查询任务是否为进行中
AssetTask assetTask = assetTaskService.findByTaskId(assetMiniProgramsCpPo.getTaskId());
if (assetTask.getTaskStatus().equals(1)) {
if (assetMiniProgramsCpPo.getState().equals("7") || assetMiniProgramsCpPo.getState() != assetMiniProgramsCpPo.getState()) {
//修改任务中资产状态
assetMiniProgramsCpPo.setState(assetMiniProgramsCpPo.getState());
assetMiniProgramsCpService.updateById(assetMiniProgramsCpPo);
}
}
}
return success(assetMiniProgramsService.edit(assetMiniPrograms)); return success(assetMiniProgramsService.edit(assetMiniPrograms));
} }

@ -11,15 +11,13 @@ import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.AssetMiniPrograms; import com.ruoyi.tc.entity.AssetMiniPrograms;
import com.ruoyi.tc.entity.AssetOfficialAccount; import com.ruoyi.tc.entity.AssetOfficialAccount;
import com.ruoyi.tc.entity.po.AssetAppJyPo; import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.po.AssetMiniProgramsJyPo; import com.ruoyi.tc.entity.po.*;
import com.ruoyi.tc.entity.po.AssetOfficialAccountJyPo;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest; import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest; import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.entity.request.AssetOfficialAccountMenu; import com.ruoyi.tc.entity.request.AssetOfficialAccountMenu;
import com.ruoyi.tc.entity.request.AssetOfficialAccountPageRequest; import com.ruoyi.tc.entity.request.AssetOfficialAccountPageRequest;
import com.ruoyi.tc.service.AssetOfficialAccountJyService; import com.ruoyi.tc.service.*;
import com.ruoyi.tc.service.AssetOfficialAccountService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
@ -54,6 +52,11 @@ public class AssetOfficialAccountController {
@Resource @Resource
private AssetOfficialAccountJyService assetOfficialAccountJyService; private AssetOfficialAccountJyService assetOfficialAccountJyService;
@Resource
private AssetTaskService assetTaskService;
@Resource
private AssetOfficialAccountCpService assetOfficialAccountCpService;
/** /**
* *
* *
@ -252,6 +255,19 @@ public class AssetOfficialAccountController {
@Log(title = "编辑公众号数据", businessType = BusinessType.UPDATE) @Log(title = "编辑公众号数据", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody AssetOfficialAccount assetOfficialAccount) { public AjaxResult edit(@RequestBody AssetOfficialAccount assetOfficialAccount) {
//根据资产id查询资产子表,判断是否有此资产进行中的任务,如果资产状态是已关停与修改的数据不符,则修改任务中的资产状态
AssetOfficialAccountCpPo assetOfficialAccountCpPo = assetOfficialAccountCpService.findDwmc(assetOfficialAccount.getId());
if (assetOfficialAccountCpPo != null) {
//查询任务是否为进行中
AssetTask assetTask = assetTaskService.findByTaskId(assetOfficialAccountCpPo.getTaskId());
if (assetTask.getTaskStatus().equals(1)) {
if (assetOfficialAccountCpPo.getGzhzt().equals("7") || assetOfficialAccountCpPo.getGzhzt() != assetOfficialAccountCpPo.getGzhzt()) {
//修改任务中资产状态
assetOfficialAccountCpPo.setGzhzt(assetOfficialAccountCpPo.getGzhzt());
assetOfficialAccountCpService.updateById(assetOfficialAccountCpPo);
}
}
}
return success(assetOfficialAccountService.edit(assetOfficialAccount)); return success(assetOfficialAccountService.edit(assetOfficialAccount));
} }

@ -21,6 +21,7 @@ import com.ruoyi.tc.service.*;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource; import javax.annotation.Resource;
@ -375,7 +376,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "单位端校验提交") @ApiOperation(value = "单位端校验提交")
@PostMapping("/jyTj") @PostMapping("/jyTj")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public AjaxResult tj(@RequestBody AssetCurrentJyPo assetCurrent) { public AjaxResult tj(@RequestBody @Validated AssetCurrentJyPo assetCurrent) {
//根据资产id和任务id删除五张表数据 //根据资产id和任务id删除五张表数据
assetCurrentCpService.deletByAssetIdandTaskId(assetCurrent.getId(), assetCurrent.getTaskId()); assetCurrentCpService.deletByAssetIdandTaskId(assetCurrent.getId(), assetCurrent.getTaskId());
assetBusinessFormCpService.deletByAssetIdandTaskId(assetCurrent.getId(), assetCurrent.getTaskId()); assetBusinessFormCpService.deletByAssetIdandTaskId(assetCurrent.getId(), assetCurrent.getTaskId());
@ -462,7 +463,7 @@ public class AssetTaskController extends BaseController {
*/ */
@ApiOperation(value = "管理端审核") @ApiOperation(value = "管理端审核")
@PostMapping("/sh") @PostMapping("/sh")
public AjaxResult sh(@RequestBody AssetCurrentShRequest req) { public AjaxResult sh(@RequestBody @Validated AssetCurrentShRequest req) {
return AjaxResult.success(assetTaskService.sh(req)); return AjaxResult.success(assetTaskService.sh(req));
} }
@ -546,6 +547,19 @@ public class AssetTaskController extends BaseController {
public AjaxResult gzhzc(@RequestBody AssetOfficialAccountCpPo assetOfficialAccountCpPo) { public AjaxResult gzhzc(@RequestBody AssetOfficialAccountCpPo assetOfficialAccountCpPo) {
//根据资产id和任务id删除数据 //根据资产id和任务id删除数据
assetOfficialAccountCpService.deletByAssetIdandTaskId(assetOfficialAccountCpPo.getAssetId(), assetOfficialAccountCpPo.getTaskId()); assetOfficialAccountCpService.deletByAssetIdandTaskId(assetOfficialAccountCpPo.getAssetId(), assetOfficialAccountCpPo.getTaskId());
if (assetOfficialAccountCpPo.getCdList() != null && !assetOfficialAccountCpPo.getCdList().isEmpty()) {
StringBuilder a = new StringBuilder();
StringBuilder b = new StringBuilder();
StringBuilder c = new StringBuilder();
assetOfficialAccountCpPo.getCdList().forEach(x -> {
a.append(x.getCdmc()).append("|");
b.append(x.getCdlj()).append("|");
c.append(x.getCdlx()).append("|");
});
assetOfficialAccountCpPo.setCdmc(a.toString());
assetOfficialAccountCpPo.setCdlj(b.toString());
assetOfficialAccountCpPo.setCdlx(c.toString());
}
//根据taskid获取当前任务的count数量 //根据taskid获取当前任务的count数量
AssetTask assetTask = assetTaskDao.getByTaskId(assetOfficialAccountCpPo.getTaskId()); AssetTask assetTask = assetTaskDao.getByTaskId(assetOfficialAccountCpPo.getTaskId());
int ygt = Optional.ofNullable(assetTask.getYgt()).orElse(0); int ygt = Optional.ofNullable(assetTask.getYgt()).orElse(0);
@ -652,7 +666,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "小程序单位端校验提交") @ApiOperation(value = "小程序单位端校验提交")
@PostMapping("/xcxjyTj") @PostMapping("/xcxjyTj")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public AjaxResult xcxJyTj(@RequestBody AssetMiniProgramsJyPo assetMiniProgramsJyPo) { public AjaxResult xcxJyTj(@RequestBody @Validated AssetMiniProgramsJyPo assetMiniProgramsJyPo) {
assetMiniProgramsCpService.deletByAssetIdandTaskId(assetMiniProgramsJyPo.getAssetId(), assetMiniProgramsJyPo.getTaskId()); assetMiniProgramsCpService.deletByAssetIdandTaskId(assetMiniProgramsJyPo.getAssetId(), assetMiniProgramsJyPo.getTaskId());
//新增流程节点时间 //新增流程节点时间
AssetLc assetLc = new AssetLc(); AssetLc assetLc = new AssetLc();
@ -680,8 +694,21 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "公众号单位端校验提交") @ApiOperation(value = "公众号单位端校验提交")
@PostMapping("/gzhjyTj") @PostMapping("/gzhjyTj")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public AjaxResult gzhjyTj(@RequestBody AssetOfficialAccountJyPo assetOfficialAccountJyPo) { public AjaxResult gzhjyTj(@RequestBody @Validated AssetOfficialAccountJyPo assetOfficialAccountJyPo) {
assetOfficialAccountCpService.deletByAssetIdandTaskId(assetOfficialAccountJyPo.getAssetId(), assetOfficialAccountJyPo.getTaskId()); assetOfficialAccountCpService.deletByAssetIdandTaskId(assetOfficialAccountJyPo.getAssetId(), assetOfficialAccountJyPo.getTaskId());
if (assetOfficialAccountJyPo.getCdList() != null && !assetOfficialAccountJyPo.getCdList().isEmpty()) {
StringBuilder a = new StringBuilder();
StringBuilder b = new StringBuilder();
StringBuilder c = new StringBuilder();
assetOfficialAccountJyPo.getCdList().forEach(x -> {
a.append(x.getCdmc()).append("|");
b.append(x.getCdlj()).append("|");
c.append(x.getCdlx()).append("|");
});
assetOfficialAccountJyPo.setCdmc(a.toString());
assetOfficialAccountJyPo.setCdlj(b.toString());
assetOfficialAccountJyPo.setCdlx(c.toString());
}
//新增流程节点时间 //新增流程节点时间
AssetLc assetLc = new AssetLc(); AssetLc assetLc = new AssetLc();
assetLc.setTaskId(assetOfficialAccountJyPo.getTaskId()); assetLc.setTaskId(assetOfficialAccountJyPo.getTaskId());
@ -708,7 +735,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "资产移动应用程序单位端校验提交") @ApiOperation(value = "资产移动应用程序单位端校验提交")
@PostMapping("/appjyTj") @PostMapping("/appjyTj")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public AjaxResult appjyTj(@RequestBody AssetAppJyPo assetAppJyPo) { public AjaxResult appjyTj(@RequestBody @Validated AssetAppJyPo assetAppJyPo) {
//根据资产id和任务id删除数据 //根据资产id和任务id删除数据
assetAppCpService.deletByAssetIdandTaskId(assetAppJyPo.getAssetId(), assetAppJyPo.getTaskId()); assetAppCpService.deletByAssetIdandTaskId(assetAppJyPo.getAssetId(), assetAppJyPo.getTaskId());
//新增流程节点时间 //新增流程节点时间
@ -737,7 +764,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "电子邮件单位端校验提交") @ApiOperation(value = "电子邮件单位端校验提交")
@PostMapping("/emailjyTj") @PostMapping("/emailjyTj")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public AjaxResult emailjyTj(@RequestBody AssetEmailJyPo assetEmailJyPo) { public AjaxResult emailjyTj(@RequestBody @Validated AssetEmailJyPo assetEmailJyPo) {
//根据资产id和任务id删除数据 //根据资产id和任务id删除数据
assetEmailCpService.deletByAssetIdandTaskId(assetEmailJyPo.getAssetId(), assetEmailJyPo.getTaskId()); assetEmailCpService.deletByAssetIdandTaskId(assetEmailJyPo.getAssetId(), assetEmailJyPo.getTaskId());
//新增流程节点时间 //新增流程节点时间

@ -3,7 +3,6 @@ package com.ruoyi.tc.entity.po;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.tc.baseClass.BaseClass; import com.ruoyi.tc.baseClass.BaseClass;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
@ -144,9 +143,8 @@ public class AssetAppCpPo extends BaseClass implements Serializable {
private String bfyy; private String bfyy;
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -35,102 +35,119 @@ public class AssetAppJyPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("所属单位") @ApiModelProperty("所属单位")
@Excel(name = "所属单位", sort = 1, width = 24) @Excel(name = "所属单位", sort = 1, width = 24)
private String ssdw; private String ssdw;
/** /**
* *
*/ */
@ApiModelProperty("移动应用名称") @ApiModelProperty("移动应用名称")
@Excel(name = "移动应用名称", sort = 2, width = 22) @Excel(name = "移动应用名称", sort = 2, width = 22)
private String appName; private String appName;
/** /**
* *
*/ */
@Excel(name = "包名", sort = 3, width = 28) @Excel(name = "包名", sort = 3, width = 28)
@ApiModelProperty("包名") @ApiModelProperty("包名")
private String pack; private String pack;
/** /**
* icp * icp
*/ */
@Excel(name = "icp备案状态", dictType = "app_icp_state", comboReadDict = true, sort = 4, width = 22) @Excel(name = "icp备案状态", dictType = "app_icp_state", comboReadDict = true, sort = 4, width = 22)
@ApiModelProperty("icp备案状态字典") @ApiModelProperty("icp备案状态字典")
private String icpState; private String icpState;
/** /**
* icp * icp
*/ */
@Excel(name = "icp备案号", sort = 5) @Excel(name = "icp备案号", sort = 5)
@ApiModelProperty("icp备案号") @ApiModelProperty("icp备案号")
private String icpbah; private String icpbah;
/** /**
* *
*/ */
@Excel(name = "统一社会信用代码", sort = 6, width = 22) @Excel(name = "统一社会信用代码", sort = 6, width = 22)
@ApiModelProperty("统一社会信用代码") @ApiModelProperty("统一社会信用代码")
private String tyshxydm; private String tyshxydm;
/** /**
* *
*/ */
@Excel(name = "文件名", sort = 7, width = 22) @Excel(name = "文件名", sort = 7, width = 22)
@ApiModelProperty("文件名") @ApiModelProperty("文件名")
private String wjm; private String wjm;
/** /**
* *
*/ */
@ApiModelProperty("所属行业(字典)") @ApiModelProperty("所属行业(字典)")
@Excel(name = "所属行业", dictType = "app_sshy", comboReadDict = true, sort = 8, width = 18) @Excel(name = "所属行业", dictType = "app_sshy", comboReadDict = true, sort = 8, width = 18)
private String sshy; private String sshy;
/** /**
* *
*/ */
@Excel(name = "重点行业", dictType = "app_zdhy", comboReadDict = true, sort = 9, width = 18) @Excel(name = "重点行业", dictType = "app_zdhy", comboReadDict = true, sort = 9, width = 18)
@ApiModelProperty("重点行业(字典)") @ApiModelProperty("重点行业(字典)")
private String zdhy; private String zdhy;
/** /**
* *
*/ */
@Excel(name = "行政区划", dictType = "app_xzqh", comboReadDict = true, sort = 10, width = 18) @Excel(name = "行政区划", dictType = "app_xzqh", comboReadDict = true, sort = 10, width = 18)
@ApiModelProperty("行政区划(字典)") @ApiModelProperty("行政区划(字典)")
private String xzqh; private String xzqh;
/** /**
* *
*/ */
@Excel(name = "简介", sort = 11, width = 28) @Excel(name = "简介", sort = 11, width = 28)
@ApiModelProperty("简介") @ApiModelProperty("简介")
private String jj; private String jj;
/** /**
* *
*/ */
@Excel(name = "安全加固情况", dictType = "app_aqjgqk", comboReadDict = true, sort = 12, width = 18) @Excel(name = "安全加固情况", dictType = "app_aqjgqk", comboReadDict = true, sort = 12, width = 18)
@ApiModelProperty("安全加固情况(字典)") @ApiModelProperty("安全加固情况(字典)")
private String aqjgqk; private String aqjgqk;
/** /**
* *
*/ */
@Excel(name = "版本信息", sort = 13, width = 20) @Excel(name = "版本信息", sort = 13, width = 20)
@ApiModelProperty("版本信息") @ApiModelProperty("版本信息")
private String bbxx; private String bbxx;
/** /**
* *
*/ */
@Excel(name = "版本信息(版本号)", sort = 14, width = 24) @Excel(name = "版本信息(版本号)", sort = 14, width = 24)
@ApiModelProperty("版本号") @ApiModelProperty("版本号")
private String bbh; private String bbh;
/** /**
* MD5 * MD5
*/ */
@Excel(name = "版本信息MD5", sort = 15, width = 28) @Excel(name = "版本信息MD5", sort = 15, width = 28)
@ApiModelProperty("版本信息MD5") @ApiModelProperty("版本信息MD5")
private String bbxxMd5; private String bbxxMd5;
/** /**
* *
*/ */
@Excel(name = "版本信息(上架平台)", sort = 16, width = 24) @Excel(name = "版本信息(上架平台)", sort = 16, width = 24)
@ApiModelProperty("版本信息(上架平台)") @ApiModelProperty("版本信息(上架平台)")
private String bbxxSjpt; private String bbxxSjpt;
/** /**
* *
*/ */
@Excel(name = "文件大小", sort = 17, width = 20) @Excel(name = "文件大小", sort = 17, width = 20)
@ApiModelProperty("文件大小") @ApiModelProperty("文件大小")
private String wjdx; private String wjdx;
@ -145,9 +162,8 @@ public class AssetAppJyPo extends BaseClass implements Serializable {
private String bfyy; private String bfyy;
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -8,6 +8,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -23,11 +24,10 @@ public class AssetBasicNetworkCpPo extends BaseClass implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.AUTO,value = "network_id") @TableId(type = IdType.AUTO, value = "network_id")
private Long networkId; private Long networkId;
/** /**
* id * id
*/ */
@ -36,56 +36,67 @@ public class AssetBasicNetworkCpPo extends BaseClass implements Serializable {
/** /**
* 1.23 * 1.23
*/ */
@NotNull
@ApiModelProperty("1.服务器信息2网络设备3安全设备") @ApiModelProperty("1.服务器信息2网络设备3安全设备")
private Integer type; private Integer type;
/** /**
* *
*/ */
@ApiModelProperty("设备类型") @ApiModelProperty("设备类型")
private String sblx; private String sblx;
/** /**
* *
*/ */
@ApiModelProperty("品牌") @ApiModelProperty("品牌")
private String pp; private String pp;
/** /**
* IP * IP
*/ */
@ApiModelProperty("设备IP") @ApiModelProperty("设备IP")
private String sbIp; private String sbIp;
/** /**
* *
*/ */
@ApiModelProperty("操作系统") @ApiModelProperty("操作系统")
private String czxt; private String czxt;
/** /**
* *
*/ */
@ApiModelProperty("操作系统版本") @ApiModelProperty("操作系统版本")
private String czxtbb; private String czxtbb;
/** /**
* *
*/ */
@ApiModelProperty("硬件型号") @ApiModelProperty("硬件型号")
private String yjxh; private String yjxh;
/** /**
* *
*/ */
@ApiModelProperty("硬件序列号") @ApiModelProperty("硬件序列号")
private String yjxlh; private String yjxlh;
/** /**
* *
*/ */
@ApiModelProperty("硬件版本信息") @ApiModelProperty("硬件版本信息")
private String yjbbxx; private String yjbbxx;
/** /**
* *
*/ */
@ApiModelProperty("硬件用途") @ApiModelProperty("硬件用途")
private String yjyt; private String yjyt;
/** /**
* *
*/ */
@ApiModelProperty("硬件部署位置") @ApiModelProperty("硬件部署位置")
private String yjbsxx; private String yjbsxx;

@ -8,13 +8,15 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
/** /**
* (asset_basic_network) * (asset_basic_network)
*
* @author du * @author du
* @since 2024/11/13 14:44 * @since 2024/11/13 14:44
*/ */
@Data @Data
@ApiModel("资产基础网络") @ApiModel("资产基础网络")
@TableName(value = "asset_basic_network_cp") @TableName(value = "asset_basic_network_cp")
@ -23,75 +25,86 @@ public class AssetBasicNetworkJyPo extends BaseClass implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.AUTO,value = "network_id") @TableId(type = IdType.AUTO, value = "network_id")
private Long networkId; private Long networkId;
/** /**
* id * id
*/ */
@ApiModelProperty("资源id") @ApiModelProperty("资源id")
private Long assetId; private Long assetId;
/** /**
* 1.23 * 1.23
*/ */
@NotNull
@ApiModelProperty("1.服务器信息2网络设备3安全设备") @ApiModelProperty("1.服务器信息2网络设备3安全设备")
private Integer type; private Integer type;
/** /**
* *
*/ */
@ApiModelProperty("设备类型") @ApiModelProperty("设备类型")
private String sblx; private String sblx;
/** /**
* *
*/ */
@ApiModelProperty("品牌") @ApiModelProperty("品牌")
private String pp; private String pp;
/** /**
* IP * IP
*/ */
@ApiModelProperty("设备IP") @ApiModelProperty("设备IP")
private String sbIp; private String sbIp;
/** /**
* IP * IP
*/ */
@ApiModelProperty("设备IP类型") @ApiModelProperty("设备IP类型")
private String ipType; private String ipType;
/** /**
* *
*/ */
@ApiModelProperty("操作系统") @ApiModelProperty("操作系统")
private String czxt; private String czxt;
/** /**
* *
*/ */
@ApiModelProperty("操作系统版本") @ApiModelProperty("操作系统版本")
private String czxtbb; private String czxtbb;
/** /**
* *
*/ */
@ApiModelProperty("硬件型号") @ApiModelProperty("硬件型号")
private String yjxh; private String yjxh;
/** /**
* *
*/ */
@ApiModelProperty("硬件序列号") @ApiModelProperty("硬件序列号")
private String yjxlh; private String yjxlh;
/** /**
* *
*/ */
@ApiModelProperty("硬件版本信息") @ApiModelProperty("硬件版本信息")
private String yjbbxx; private String yjbbxx;
/** /**
* *
*/ */
@ApiModelProperty("硬件用途") @ApiModelProperty("硬件用途")
private String yjyt; private String yjyt;
/** /**
* *
*/ */
@ApiModelProperty("硬件部署位置") @ApiModelProperty("硬件部署位置")
private String yjbsxx; private String yjbsxx;

@ -14,6 +14,7 @@ import java.io.Serializable;
/** /**
* (asset_business_form_cp) * (asset_business_form_cp)
*
* @author du * @author du
* @since 2024/11/13 14:44 * @since 2024/11/13 14:44
*/ */
@ -24,8 +25,8 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.AUTO,value = "business_id") @TableId(type = IdType.AUTO, value = "business_id")
private Long businessId; private Long businessId;
/** /**
@ -42,12 +43,14 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("云平台-是否租户级安全") @ApiModelProperty("云平台-是否租户级安全")
private String yptSfzh; private String yptSfzh;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-云平台类型长度不能超过50")
@Size(max = 50, message = "云平台-云平台类型长度不能超过50")
@ApiModelProperty("云平台-云平台类型") @ApiModelProperty("云平台-云平台类型")
private String yptLx; private String yptLx;
/** /**
@ -90,6 +93,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("大数据平台-平台服务商") @ApiModelProperty("大数据平台-平台服务商")
private String dsjPtfws; private String dsjPtfws;
/** /**
@ -102,6 +106,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("大数据平台-硬件资源") @ApiModelProperty("大数据平台-硬件资源")
private String dsjYjzy; private String dsjYjzy;
/** /**
@ -114,6 +119,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("大数据平台-机房联系人") @ApiModelProperty("大数据平台-机房联系人")
private String dsjJflxr; private String dsjJflxr;
/** /**
@ -125,6 +131,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("大数据平台-是否数据审计") @ApiModelProperty("大数据平台-是否数据审计")
private String dsjSfsjsj; private String dsjSfsjsj;
/** /**
@ -137,11 +144,13 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("一般物联网设备-用户数量") @ApiModelProperty("一般物联网设备-用户数量")
private String wlwsbYhsl; private String wlwsbYhsl;
/** /**
* - * -
*/ */
@ApiModelProperty("一般物联网设备-服务对象") @ApiModelProperty("一般物联网设备-服务对象")
private String wlwsbFwdx; private String wlwsbFwdx;
/** /**
@ -153,6 +162,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("一般物联网设备-网络互联情况") @ApiModelProperty("一般物联网设备-网络互联情况")
private String wlwsbWlhlqk; private String wlwsbWlhlqk;
/** /**
@ -164,6 +174,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("一般物联网设备-服务范围") @ApiModelProperty("一般物联网设备-服务范围")
private String wlwsbFwfw; private String wlwsbFwfw;
/** /**
@ -194,12 +205,14 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* -IP * -IP
*/ */
@ApiModelProperty("摄像头-摄像头IP") @ApiModelProperty("摄像头-摄像头IP")
private String sxtIp; private String sxtIp;
/** /**
* - * -
*/ */
@ApiModelProperty("摄像头-区域") @ApiModelProperty("摄像头-区域")
private String sxtQy; private String sxtQy;
/** /**
@ -230,6 +243,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* APP-APP * APP-APP
*/ */
@ApiModelProperty("移动APP-移动APP系统") @ApiModelProperty("移动APP-移动APP系统")
private String appXt; private String appXt;
/** /**
@ -242,6 +256,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* APP-APP * APP-APP
*/ */
@ApiModelProperty("移动APP-移动APP渠道") @ApiModelProperty("移动APP-移动APP渠道")
private String appQd; private String appQd;
/** /**
@ -260,17 +275,20 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* APP- * APP-
*/ */
@ApiModelProperty("移动APP-联系人电话") @ApiModelProperty("移动APP-联系人电话")
private String appLxrdh; private String appLxrdh;
/** /**
* APP-APP * APP-APP
*/ */
@ApiModelProperty("移动APP-APP是否有身份认证") @ApiModelProperty("移动APP-APP是否有身份认证")
private String appSfysfrz; private String appSfysfrz;
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-系统集成商名称") @ApiModelProperty("工业控制-系统集成商名称")
private String gykzJcs; private String gykzJcs;
/** /**
@ -282,6 +300,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-服务对象") @ApiModelProperty("工业控制-服务对象")
private String gykzFwdx; private String gykzFwdx;
/** /**
@ -293,17 +312,20 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-网络互联情况") @ApiModelProperty("工业控制-网络互联情况")
private String gykzWlhxqk; private String gykzWlhxqk;
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-联系人") @ApiModelProperty("工业控制-联系人")
private String gykzLxr; private String gykzLxr;
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-服务范围") @ApiModelProperty("工业控制-服务范围")
private String gykzFwfw; private String gykzFwfw;
/** /**
@ -334,6 +356,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("工业控制-运营商") @ApiModelProperty("工业控制-运营商")
private String gykzYys; private String gykzYys;
/** /**
@ -369,6 +392,7 @@ public class AssetBusinessFormCpPo extends BaseClass implements Serializable {
/** /**
* CDN-CDN使 * CDN-CDN使
*/ */
@ApiModelProperty("CDN信息-CDN是否使用") @ApiModelProperty("CDN信息-CDN是否使用")
private String cdnSfsy; private String cdnSfsy;
/** /**

@ -14,6 +14,7 @@ import java.io.Serializable;
/** /**
* (asset_business_form) * (asset_business_form)
*
* @author du * @author du
* @since 2024/11/13 14:44 * @since 2024/11/13 14:44
*/ */
@ -25,381 +26,444 @@ public class AssetBusinessFormJyPo extends BaseClass implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.AUTO,value = "business_id") @TableId(type = IdType.AUTO, value = "business_id")
private Long businessId; private Long businessId;
/** /**
* id * id
*/ */
@ApiModelProperty("资源id") @ApiModelProperty("资源id")
private Long assetId; private Long assetId;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-云平台服务商长度不能超过50")
@Size(max = 50, message = "云平台-云平台服务商长度不能超过50")
@ApiModelProperty("云平台-云平台服务商") @ApiModelProperty("云平台-云平台服务商")
private String yptFws; private String yptFws;
/** /**
* - * -
*/ */
@ApiModelProperty("云平台-是否租户级安全") @ApiModelProperty("云平台-是否租户级安全")
private String yptSfzh; private String yptSfzh;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-云平台类型长度不能超过50")
@Size(max = 50, message = "云平台-云平台类型长度不能超过50")
@ApiModelProperty("云平台-云平台类型") @ApiModelProperty("云平台-云平台类型")
private String yptLx; private String yptLx;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-硬件资源大小长度不能超过50")
@Size(max = 50, message = "云平台-硬件资源大小长度不能超过50")
@ApiModelProperty("云平台-硬件资源大小") @ApiModelProperty("云平台-硬件资源大小")
private String yptYjzydx; private String yptYjzydx;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-平台架构长度不能超过50")
@Size(max = 50, message = "云平台-平台架构长度不能超过50")
@ApiModelProperty("云平台-平台架构") @ApiModelProperty("云平台-平台架构")
private String yptPtjg; private String yptPtjg;
/** /**
* -IP * -IP
*/ */
@Size(max= 50,message="云平台-互联网IP段长度不能超过50")
@Size(max = 50, message = "云平台-互联网IP段长度不能超过50")
@ApiModelProperty("云平台-互联网IP段") @ApiModelProperty("云平台-互联网IP段")
private String yptIp; private String yptIp;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-机房联系人长度不能超过50")
@Size(max = 50, message = "云平台-机房联系人长度不能超过50")
@ApiModelProperty("云平台-机房联系人") @ApiModelProperty("云平台-机房联系人")
private String yptJflxr; private String yptJflxr;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-机房联系人电话长度不能超过50")
@Size(max = 50, message = "云平台-机房联系人电话长度不能超过50")
@ApiModelProperty("云平台-机房联系人电话") @ApiModelProperty("云平台-机房联系人电话")
private String yptJflxrdh; private String yptJflxrdh;
/** /**
* - * -
*/ */
@Size(max= 50,message="云平台-服务器设备类型长度不能超过50")
@Size(max = 50, message = "云平台-服务器设备类型长度不能超过50")
@ApiModelProperty("云平台-服务器设备类型") @ApiModelProperty("云平台-服务器设备类型")
private String yptFwqsblx; private String yptFwqsblx;
/** /**
* - * -
*/ */
@Size(max= 50,message="大数据平台-平台服务商长度不能超过50")
@Size(max = 50, message = "大数据平台-平台服务商长度不能超过50")
@ApiModelProperty("大数据平台-平台服务商") @ApiModelProperty("大数据平台-平台服务商")
private String dsjPtfws; private String dsjPtfws;
/** /**
* - * -
*/ */
@Size(max= 50,message="大数据平台-敏感数据类型长度不能超过50")
@Size(max = 50, message = "大数据平台-敏感数据类型长度不能超过50")
@ApiModelProperty("大数据平台-敏感数据类型") @ApiModelProperty("大数据平台-敏感数据类型")
private String dsjMgsjlx; private String dsjMgsjlx;
/** /**
* - * -
*/ */
@Size(max= 50,message="大数据平台-硬件资源长度不能超过50")
@Size(max = 50, message = "大数据平台-硬件资源长度不能超过50")
@ApiModelProperty("大数据平台-硬件资源") @ApiModelProperty("大数据平台-硬件资源")
private String dsjYjzy; private String dsjYjzy;
/** /**
* - * -
*/ */
@Size(max= 50,message="大数据平台-系统数据量长度不能超过50")
@Size(max = 50, message = "大数据平台-系统数据量长度不能超过50")
@ApiModelProperty("大数据平台-系统数据量") @ApiModelProperty("大数据平台-系统数据量")
private String dsjXtsjl; private String dsjXtsjl;
/** /**
* - * -
*/ */
@Size(max= 50,message="大数据平台-机房联系人长度不能超过50")
@Size(max = 50, message = "大数据平台-机房联系人长度不能超过50")
@ApiModelProperty("大数据平台-机房联系人") @ApiModelProperty("大数据平台-机房联系人")
private String dsjJflxr; private String dsjJflxr;
/** /**
* - * -
*/ */
@Size(max= 50,message="大数据平台-机房联系人电话长度不能超过50")
@Size(max = 50, message = "大数据平台-机房联系人电话长度不能超过50")
@ApiModelProperty("大数据平台-机房联系人电话") @ApiModelProperty("大数据平台-机房联系人电话")
private String dsjJflxrdh; private String dsjJflxrdh;
/** /**
* - * -
*/ */
@ApiModelProperty("大数据平台-是否数据审计") @ApiModelProperty("大数据平台-是否数据审计")
private String dsjSfsjsj; private String dsjSfsjsj;
/** /**
* - * -
*/ */
@Size(max= 50,message="一般物联网设备-系统集成商名称长度不能超过50")
@Size(max = 50, message = "一般物联网设备-系统集成商名称长度不能超过50")
@ApiModelProperty("一般物联网设备-系统集成商名称") @ApiModelProperty("一般物联网设备-系统集成商名称")
private String wlwsbXtjcs; private String wlwsbXtjcs;
/** /**
* - * -
*/ */
@Size(max= 50,message="一般物联网设备-用户数量长度不能超过50")
@Size(max = 50, message = "一般物联网设备-用户数量长度不能超过50")
@ApiModelProperty("一般物联网设备-用户数量") @ApiModelProperty("一般物联网设备-用户数量")
private String wlwsbYhsl; private String wlwsbYhsl;
/** /**
* - * -
*/ */
@ApiModelProperty("一般物联网设备-服务对象") @ApiModelProperty("一般物联网设备-服务对象")
private String wlwsbFwdx; private String wlwsbFwdx;
/** /**
* - * -
*/ */
@Size(max= 50,message="一般物联网设备-终端数量长度不能超过50")
@Size(max = 50, message = "一般物联网设备-终端数量长度不能超过50")
@ApiModelProperty("一般物联网设备-终端数量") @ApiModelProperty("一般物联网设备-终端数量")
private String wlwsbZdsl; private String wlwsbZdsl;
/** /**
* - * -
*/ */
@ApiModelProperty("一般物联网设备-网络互联情况") @ApiModelProperty("一般物联网设备-网络互联情况")
private String wlwsbWlhlqk; private String wlwsbWlhlqk;
/** /**
* - * -
*/ */
@Size(max= 50,message="一般物联网设备-联系人长度不能超过50")
@Size(max = 50, message = "一般物联网设备-联系人长度不能超过50")
@ApiModelProperty("一般物联网设备-联系人") @ApiModelProperty("一般物联网设备-联系人")
private String wlwsbLxr; private String wlwsbLxr;
/** /**
* - * -
*/ */
@ApiModelProperty("一般物联网设备-服务范围") @ApiModelProperty("一般物联网设备-服务范围")
private String wlwsbFwfw; private String wlwsbFwfw;
/** /**
* - * -
*/ */
@Size(max= 50,message="一般物联网设备-联系人电话长度不能超过50")
@Size(max = 50, message = "一般物联网设备-联系人电话长度不能超过50")
@ApiModelProperty("一般物联网设备-联系人电话") @ApiModelProperty("一般物联网设备-联系人电话")
private String wlwsbLxrdh; private String wlwsbLxrdh;
/** /**
* - * -
*/ */
@Size(max= 500,message="一般物联网设备-服务内容长度不能超过500")
@Size(max = 500, message = "一般物联网设备-服务内容长度不能超过500")
@ApiModelProperty("一般物联网设备-服务内容") @ApiModelProperty("一般物联网设备-服务内容")
private String wlwsbFwnr; private String wlwsbFwnr;
/** /**
* - * -
*/ */
@Size(max= 50,message="摄像头-摄像头品牌长度不能超过50")
@Size(max = 50, message = "摄像头-摄像头品牌长度不能超过50")
@ApiModelProperty("摄像头-摄像头品牌") @ApiModelProperty("摄像头-摄像头品牌")
private String sxtPp; private String sxtPp;
/** /**
* - * -
*/ */
@Size(max= 255,message="摄像头-位置长度不能超过255")
@Size(max = 255, message = "摄像头-位置长度不能超过255")
@ApiModelProperty("摄像头-位置") @ApiModelProperty("摄像头-位置")
private String sxtWz; private String sxtWz;
/** /**
* -IP * -IP
*/ */
@Size(max= 50,message="摄像头-摄像头IP长度不能超过50")
@Size(max = 50, message = "摄像头-摄像头IP长度不能超过50")
@ApiModelProperty("摄像头-摄像头IP") @ApiModelProperty("摄像头-摄像头IP")
private String sxtIp; private String sxtIp;
/** /**
* - * -
*/ */
@Size(max= 50,message="摄像头-区域长度不能超过50")
@Size(max = 50, message = "摄像头-区域长度不能超过50")
@ApiModelProperty("摄像头-区域") @ApiModelProperty("摄像头-区域")
private String sxtQy; private String sxtQy;
/** /**
* - * -
*/ */
@Size(max= 50,message="摄像头-摄像头数量长度不能超过50")
@Size(max = 50, message = "摄像头-摄像头数量长度不能超过50")
@ApiModelProperty("摄像头-摄像头数量") @ApiModelProperty("摄像头-摄像头数量")
private String sxtSl; private String sxtSl;
/** /**
* - * -
*/ */
@Size(max= 50,message="摄像头-端口长度不能超过50")
@Size(max = 50, message = "摄像头-端口长度不能超过50")
@ApiModelProperty("摄像头-端口") @ApiModelProperty("摄像头-端口")
private String sxtDk; private String sxtDk;
/** /**
* - * -
*/ */
@Size(max= 50,message="摄像头-设备型号长度不能超过50")
@Size(max = 50, message = "摄像头-设备型号长度不能超过50")
@ApiModelProperty("摄像头-设备型号") @ApiModelProperty("摄像头-设备型号")
private String sxtSbxh; private String sxtSbxh;
/** /**
* - * -
*/ */
@Size(max= 50,message="摄像头-固定版本长度不能超过50")
@Size(max = 50, message = "摄像头-固定版本长度不能超过50")
@ApiModelProperty("摄像头-固定版本") @ApiModelProperty("摄像头-固定版本")
private String sxtGdbb; private String sxtGdbb;
/** /**
* APP-APP * APP-APP
*/ */
@Size(max= 50,message="移动APP-移动APP系统长度不能超过50")
@Size(max = 50, message = "移动APP-移动APP系统长度不能超过50")
@ApiModelProperty("移动APP-移动APP系统") @ApiModelProperty("移动APP-移动APP系统")
private String appXt; private String appXt;
/** /**
* APP- * APP-
*/ */
@Size(max= 50,message="移动APP-服务端域名长度不能超过50")
@Size(max = 50, message = "移动APP-服务端域名长度不能超过50")
@ApiModelProperty("移动APP-服务端域名") @ApiModelProperty("移动APP-服务端域名")
private String appYm; private String appYm;
/** /**
* APP-APP * APP-APP
*/ */
@Size(max= 50,message="移动APP-移动APP渠道长度不能超过50")
@Size(max = 50, message = "移动APP-移动APP渠道长度不能超过50")
@ApiModelProperty("移动APP-移动APP渠道") @ApiModelProperty("移动APP-移动APP渠道")
private String appQd; private String appQd;
/** /**
* APP-IP * APP-IP
*/ */
@Size(max= 50,message="移动APP-服务端IP长度不能超过50")
@Size(max = 50, message = "移动APP-服务端IP长度不能超过50")
@ApiModelProperty("移动APP-服务端IP") @ApiModelProperty("移动APP-服务端IP")
private String appIp; private String appIp;
/** /**
* APP- * APP-
*/ */
@Size(max= 50,message="移动APP-联系人长度不能超过50")
@Size(max = 50, message = "移动APP-联系人长度不能超过50")
@ApiModelProperty("移动APP-联系人") @ApiModelProperty("移动APP-联系人")
private String appLxr; private String appLxr;
/** /**
* APP- * APP-
*/ */
@Size(max= 50,message="移动APP-联系人电话长度不能超过50")
@Size(max = 50, message = "移动APP-联系人电话长度不能超过50")
@ApiModelProperty("移动APP-联系人电话") @ApiModelProperty("移动APP-联系人电话")
private String appLxrdh; private String appLxrdh;
/** /**
* APP-APP * APP-APP
*/ */
@ApiModelProperty("移动APP-APP是否有身份认证") @ApiModelProperty("移动APP-APP是否有身份认证")
private String appSfysfrz; private String appSfysfrz;
/** /**
* - * -
*/ */
@Size(max= 255,message="工业控制-系统集成商名称长度不能超过255")
@Size(max = 255, message = "工业控制-系统集成商名称长度不能超过255")
@ApiModelProperty("工业控制-系统集成商名称") @ApiModelProperty("工业控制-系统集成商名称")
private String gykzJcs; private String gykzJcs;
/** /**
* - * -
*/ */
@Size(max= 255,message="工业控制-运行时间长度不能超过255")
@Size(max = 255, message = "工业控制-运行时间长度不能超过255")
@ApiModelProperty("工业控制-运行时间") @ApiModelProperty("工业控制-运行时间")
private String gykzYxsj; private String gykzYxsj;
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-服务对象") @ApiModelProperty("工业控制-服务对象")
private String gykzFwdx; private String gykzFwdx;
/** /**
* - * -
*/ */
@Size(max= 255,message="工业控制-集成商国内外情况长度不能超过255")
@Size(max = 255, message = "工业控制-集成商国内外情况长度不能超过255")
@ApiModelProperty("工业控制-集成商国内外情况") @ApiModelProperty("工业控制-集成商国内外情况")
private String gykzJcsqk; private String gykzJcsqk;
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-网络互联情况") @ApiModelProperty("工业控制-网络互联情况")
private String gykzWlhxqk; private String gykzWlhxqk;
/** /**
* - * -
*/ */
@Size(max= 255,message="工业控制-联系人长度不能超过255")
@Size(max = 255, message = "工业控制-联系人长度不能超过255")
@ApiModelProperty("工业控制-联系人") @ApiModelProperty("工业控制-联系人")
private String gykzLxr; private String gykzLxr;
/** /**
* - * -
*/ */
@ApiModelProperty("工业控制-服务范围") @ApiModelProperty("工业控制-服务范围")
private String gykzFwfw; private String gykzFwfw;
/** /**
* - * -
*/ */
@Size(max= 50,message="工业控制-联系人电话长度不能超过50")
@Size(max = 50, message = "工业控制-联系人电话长度不能超过50")
@ApiModelProperty("工业控制-联系人电话") @ApiModelProperty("工业控制-联系人电话")
private String gykzLxrdh; private String gykzLxrdh;
/** /**
* - * -
*/ */
@Size(max= 50,message="工业控制-设备名称长度不能超过50")
@Size(max = 50, message = "工业控制-设备名称长度不能超过50")
@ApiModelProperty("工业控制-设备名称") @ApiModelProperty("工业控制-设备名称")
private String gykzSbmc; private String gykzSbmc;
/** /**
* - * -
*/ */
@Size(max= 50,message="工业控制-设备品牌长度不能超过50")
@Size(max = 50, message = "工业控制-设备品牌长度不能超过50")
@ApiModelProperty("工业控制-设备品牌") @ApiModelProperty("工业控制-设备品牌")
private String gykzSbpp; private String gykzSbpp;
/** /**
* - * -
*/ */
@Size(max= 50,message="工业控制-设备类别长度不能超过50")
@Size(max = 50, message = "工业控制-设备类别长度不能超过50")
@ApiModelProperty("工业控制-设备类别") @ApiModelProperty("工业控制-设备类别")
private String gykzSblb; private String gykzSblb;
/** /**
* - * -
*/ */
@Size(max= 50,message="工业控制-运营商长度不能超过50")
@Size(max = 50, message = "工业控制-运营商长度不能超过50")
@ApiModelProperty("工业控制-运营商") @ApiModelProperty("工业控制-运营商")
private String gykzYys; private String gykzYys;
/** /**
* -IP * -IP
*/ */
@Size(max= 50,message="工业控制-互联网IP长度不能超过50")
@Size(max = 50, message = "工业控制-互联网IP长度不能超过50")
@ApiModelProperty("工业控制-互联网IP") @ApiModelProperty("工业控制-互联网IP")
private String gykzHlwIp; private String gykzHlwIp;
/** /**
* - * -
*/ */
@Size(max= 50,message="工业控制-网络层级长度不能超过50")
@Size(max = 50, message = "工业控制-网络层级长度不能超过50")
@ApiModelProperty("工业控制-网络层级") @ApiModelProperty("工业控制-网络层级")
private String gykzWlcj; private String gykzWlcj;
/** /**
* -IP * -IP
*/ */
@Size(max= 50,message="工业控制-控制台IP长度不能超过50")
@Size(max = 50, message = "工业控制-控制台IP长度不能超过50")
@ApiModelProperty("工业控制-控制台IP") @ApiModelProperty("工业控制-控制台IP")
private String gykzKztIp; private String gykzKztIp;
/** /**
* - * -
*/ */
@Size(max= 500,message="工业控制-描述长度不能超过500")
@Size(max = 500, message = "工业控制-描述长度不能超过500")
@ApiModelProperty("工业控制-描述") @ApiModelProperty("工业控制-描述")
private String gykzMs; private String gykzMs;
/** /**
* CDN-CDN * CDN-CDN
*/ */
@Size(max= 255,message="CDN信息-CDN供应商长度不能超过255")
@Size(max = 255, message = "CDN信息-CDN供应商长度不能超过255")
@ApiModelProperty("CDN信息-CDN供应商") @ApiModelProperty("CDN信息-CDN供应商")
private String cdnGys; private String cdnGys;
/** /**
* CDN-CDN使 * CDN-CDN使
*/ */
@ApiModelProperty("CDN信息-CDN是否使用") @ApiModelProperty("CDN信息-CDN是否使用")
private String cdnSfsy; private String cdnSfsy;
/** /**
* CDN-CDN * CDN-CDN
*/ */
@Size(max= 50,message="CDN信息-CDN类型长度不能超过50")
@Size(max = 50, message = "CDN信息-CDN类型长度不能超过50")
@ApiModelProperty("CDN信息-CDN类型") @ApiModelProperty("CDN信息-CDN类型")
private String cdnLx; private String cdnLx;
/** /**
* CDN-CDN * CDN-CDN
*/ */
@Size(max= 50,message="CDN信息-CDN域名长度不能超过50")
@Size(max = 50, message = "CDN信息-CDN域名长度不能超过50")
@ApiModelProperty("CDN信息-CDN域名") @ApiModelProperty("CDN信息-CDN域名")
private String cdnYm; private String cdnYm;
/** /**
* CDN- * CDN-
*/ */
@Size(max= 50,message="CDN信息-联系人长度不能超过50")
@Size(max = 50, message = "CDN信息-联系人长度不能超过50")
@ApiModelProperty("CDN信息-联系人") @ApiModelProperty("CDN信息-联系人")
private String cdnLxr; private String cdnLxr;
/** /**
* CDN- * CDN-
*/ */
@Size(max= 50,message="CDN信息-联系人电话长度不能超过50")
@Size(max = 50, message = "CDN信息-联系人电话长度不能超过50")
@ApiModelProperty("CDN信息-联系人电话") @ApiModelProperty("CDN信息-联系人电话")
private String cdnLxrdh; private String cdnLxrdh;
/** /**
* CDN-CDN * CDN-CDN
*/ */
@Size(max= 500,message="CDN信息-CDN加速信息长度不能超过500")
@Size(max = 500, message = "CDN信息-CDN加速信息长度不能超过500")
@ApiModelProperty("CDN信息-CDN加速信息") @ApiModelProperty("CDN信息-CDN加速信息")
private String cdnJsxx; private String cdnJsxx;

@ -29,7 +29,8 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.AUTO,value = "current_id")
@TableId(type = IdType.AUTO, value = "current_id")
private Long currentId; private Long currentId;
@ApiModelProperty("资产id") @ApiModelProperty("资产id")
@ -39,6 +40,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* id * id
*/ */
@ApiModelProperty("任务id") @ApiModelProperty("任务id")
private Integer taskId; private Integer taskId;
/** /**
@ -50,11 +52,13 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("单位名称") @ApiModelProperty("单位名称")
private String dwmc; private String dwmc;
/** /**
* *
*/ */
@ApiModelProperty("系统域名") @ApiModelProperty("系统域名")
private String xtym; private String xtym;
@ -71,16 +75,19 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* IPport-IP * IPport-IP
*/ */
@ApiModelProperty("IPport-IP地址") @ApiModelProperty("IPport-IP地址")
private String ipAddress; private String ipAddress;
/** /**
* IPport- * IPport-
*/ */
@ApiModelProperty("IPport-端口") @ApiModelProperty("IPport-端口")
private String ipPort; private String ipPort;
/** /**
* *
*/ */
@ApiModelProperty("域名到期时间") @ApiModelProperty("域名到期时间")
private String ymdqsj; private String ymdqsj;
/** /**
@ -98,6 +105,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* , * ,
*/ */
@ApiModelProperty("关联域名(多个用,分隔)") @ApiModelProperty("关联域名(多个用,分隔)")
private String glym; private String glym;
@ -120,27 +128,32 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("系统类型(字典)") @ApiModelProperty("系统类型(字典)")
private String xtlx; private String xtlx;
/** /**
* *
*/ */
@ApiModelProperty("系统重要性(字典)") @ApiModelProperty("系统重要性(字典)")
private String xtzyx; private String xtzyx;
/** /**
* *
*/ */
@ApiModelProperty("是否关基系统(字典)") @ApiModelProperty("是否关基系统(字典)")
private String gjxt; private String gjxt;
/** /**
* *
*/ */
@ApiModelProperty("系统标签") @ApiModelProperty("系统标签")
private String xtbq; private String xtbq;
/** /**
* *
*/ */
@ApiModelProperty("机房信息") @ApiModelProperty("机房信息")
private String jfxx; private String jfxx;
/** /**
@ -152,11 +165,13 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("是否是互联网系统(字典)") @ApiModelProperty("是否是互联网系统(字典)")
private String hlwxt; private String hlwxt;
/** /**
* *
*/ */
@ApiModelProperty("系统编号") @ApiModelProperty("系统编号")
private String xtbh; private String xtbh;
/** /**
@ -185,16 +200,19 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* I- * I-
*/ */
@ApiModelProperty("I-完整性(字典)") @ApiModelProperty("I-完整性(字典)")
private String iwzx; private String iwzx;
/** /**
* A-( * A-(
*/ */
@ApiModelProperty("A-可用性(字典)") @ApiModelProperty("A-可用性(字典)")
private String akyx; private String akyx;
/** /**
* *
*/ */
@ApiModelProperty("存活率(字典)") @ApiModelProperty("存活率(字典)")
private String chl; private String chl;
// /** // /**
@ -207,28 +225,33 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("经度") @ApiModelProperty("经度")
private String jd; private String jd;
/** /**
* *
*/ */
@ApiModelProperty("纬度") @ApiModelProperty("纬度")
private String wd; private String wd;
/** /**
* , * ,
*/ */
@ApiModelProperty("系统特征(,分隔)") @ApiModelProperty("系统特征(,分隔)")
private String xttz; private String xttz;
/** /**
* *
*/ */
@ApiModelProperty("用户规模") @ApiModelProperty("用户规模")
private String yhgm; private String yhgm;
/** /**
* *
*/ */
@ApiModelProperty("互联网接入运营商") @ApiModelProperty("互联网接入运营商")
private String hlwjryys; private String hlwjryys;
@ -241,109 +264,129 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("资产物理接入地址") @ApiModelProperty("资产物理接入地址")
private String zcwljrdz; private String zcwljrdz;
/** /**
* *
*/ */
@ApiModelProperty("是否部署云平台(字典)") @ApiModelProperty("是否部署云平台(字典)")
private String bsypt; private String bsypt;
/** /**
* *
*/ */
@ApiModelProperty("云服务商名称") @ApiModelProperty("云服务商名称")
private String yfwsmc; private String yfwsmc;
/** /**
* 访/ * 访/
*/ */
@ApiModelProperty("网站访问协议/开通协议") @ApiModelProperty("网站访问协议/开通协议")
private String wzfwxy; private String wzfwxy;
/** /**
* *
*/ */
@ApiModelProperty("系统部署方式") @ApiModelProperty("系统部署方式")
private String xtbsfs; private String xtbsfs;
/** /**
* *
*/ */
@ApiModelProperty("托管单位") @ApiModelProperty("托管单位")
private String tgdw; private String tgdw;
/** /**
* *
*/ */
@ApiModelProperty("云服务商") @ApiModelProperty("云服务商")
private String yfws; private String yfws;
/** /**
* *
*/ */
@ApiModelProperty("是否对公众开放(字典)") @ApiModelProperty("是否对公众开放(字典)")
private String dgzkf; private String dgzkf;
/** /**
* *
*/ */
@ApiModelProperty("互联网开放用途(字典)") @ApiModelProperty("互联网开放用途(字典)")
private String hlwkfyt; private String hlwkfyt;
/** /**
* -( * -(
*/ */
@ApiModelProperty("系统防护情况-防篡改(多选字典)") @ApiModelProperty("系统防护情况-防篡改(多选字典)")
private String xtfhqkFcg; private String xtfhqkFcg;
/** /**
* -( * -(
*/ */
@ApiModelProperty("系统防护情况-防泄露(多选字典)") @ApiModelProperty("系统防护情况-防泄露(多选字典)")
private String xtfhqkFxl; private String xtfhqkFxl;
/** /**
* -( * -(
*/ */
@ApiModelProperty("系统防护情况-防中断(多选字典)") @ApiModelProperty("系统防护情况-防中断(多选字典)")
private String xtfhqkFzd; private String xtfhqkFzd;
/** /**
* -( * -(
*/ */
@ApiModelProperty("系统防护情况-防勒索(多选字典)") @ApiModelProperty("系统防护情况-防勒索(多选字典)")
private String xtfhqkFls; private String xtfhqkFls;
/** /**
* - * -
*/ */
@ApiModelProperty("相关业务-覆盖范围") @ApiModelProperty("相关业务-覆盖范围")
private String xgywFgfw; private String xgywFgfw;
/** /**
* - * -
*/ */
@ApiModelProperty("相关业务-网络性质") @ApiModelProperty("相关业务-网络性质")
private String xgywWlxz; private String xgywWlxz;
/** /**
* - * -
*/ */
@ApiModelProperty("相关业务-业务类型") @ApiModelProperty("相关业务-业务类型")
private String xgywYwlx; private String xgywYwlx;
/** /**
* - * -
*/ */
@ApiModelProperty("相关业务-互联情况") @ApiModelProperty("相关业务-互联情况")
private String xgywHlqk; private String xgywHlqk;
/** /**
* - * -
*/ */
@ApiModelProperty("相关业务-服务对象") @ApiModelProperty("相关业务-服务对象")
private String xgywFwdx; private String xgywFwdx;
/** /**
* - * -
*/ */
@ApiModelProperty("相关业务-服务范围") @ApiModelProperty("相关业务-服务范围")
private String xgywFwfw; private String xgywFwfw;
/** /**
* - * -
*/ */
@ApiModelProperty("相关业务-业务描述") @ApiModelProperty("相关业务-业务描述")
private String xgywYwms; private String xgywYwms;
@ -355,7 +398,6 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("分管负责人姓名") @ApiModelProperty("分管负责人姓名")
private String fgfzrxm; private String fgfzrxm;
/** /**
@ -421,6 +463,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* ICP- * ICP-
*/ */
@ApiModelProperty("ICP备案信息-备案有效性") @ApiModelProperty("ICP备案信息-备案有效性")
private String ipcBayxx; private String ipcBayxx;
/** /**
@ -438,8 +481,8 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* ICP-ICP * ICP-ICP
*/ */
// @Excel(name = "ICP备案编号",sort = 25,width = 46)
// @Excel(name = "ICP备案编号",sort = 25,width = 46)
@ApiModelProperty("ICP备案信息-ICP备案编号") @ApiModelProperty("ICP备案信息-ICP备案编号")
private String ipcIpcbabh; private String ipcIpcbabh;
/** /**
@ -457,6 +500,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* ICP- * ICP-
*/ */
@ApiModelProperty("ICP备案信息-备案单位性质") @ApiModelProperty("ICP备案信息-备案单位性质")
private String ipcBadwxz; private String ipcBadwxz;
/** /**
@ -474,6 +518,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@Size(max = 50, message = "审核时间长度不能超过50") @Size(max = 50, message = "审核时间长度不能超过50")
@ApiModelProperty("审核时间") @ApiModelProperty("审核时间")
private String shsj; private String shsj;
@ -506,7 +551,6 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("系统架构-开发商") @ApiModelProperty("系统架构-开发商")
private String xtjgKfs; private String xtjgKfs;
/** /**
@ -543,7 +587,6 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("系统架构-是否国产化系统") @ApiModelProperty("系统架构-是否国产化系统")
private String xtjgGcxt; private String xtjgGcxt;
/** /**
@ -562,7 +605,6 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("等保信息-是否等保系统") @ApiModelProperty("等保信息-是否等保系统")
private String dbxxSfdbxt; private String dbxxSfdbxt;
/** /**
@ -586,11 +628,13 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("等保信息-专家评审") @ApiModelProperty("等保信息-专家评审")
private String dbxxZjps; private String dbxxZjps;
/** /**
* - * -
*/ */
@ApiModelProperty("等保信息-主管部门评审") @ApiModelProperty("等保信息-主管部门评审")
private String dbxxZgbmps; private String dbxxZgbmps;
/** /**
@ -603,6 +647,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
// @Excel(name = "是否有第三方测评",width = 45,dictType = "is_no",comboReadDict = true,sort = 45) // @Excel(name = "是否有第三方测评",width = 45,dictType = "is_no",comboReadDict = true,sort = 45)
@ApiModelProperty("等保信息-是否有第三方测评") @ApiModelProperty("等保信息-是否有第三方测评")
@ -680,11 +725,13 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* - * -
*/ */
@ApiModelProperty("第三方测评-测评师证书等级") @ApiModelProperty("第三方测评-测评师证书等级")
private String sfCpszsdj; private String sfCpszsdj;
/** /**
* - * -
*/ */
@ApiModelProperty("第三方测评-测评等级") @ApiModelProperty("第三方测评-测评等级")
private String sfCpdj; private String sfCpdj;
/** /**
@ -721,12 +768,14 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("供应链信息列表") @ApiModelProperty("供应链信息列表")
@TableField(exist = false) @TableField(exist = false)
private List<AssetSupplyChainCpPo> gylxxList; private List<AssetSupplyChainCpPo> gylxxList;
/** /**
* *
*/ */
@ApiModelProperty("基础网络列表") @ApiModelProperty("基础网络列表")
@TableField(exist = false) @TableField(exist = false)
private List<AssetBasicNetworkCpPo> jcwlList; private List<AssetBasicNetworkCpPo> jcwlList;
@ -734,78 +783,91 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("新监管业务形态") @ApiModelProperty("新监管业务形态")
@TableField(exist = false) @TableField(exist = false)
private AssetBusinessFormCpPo xjgywxt; private AssetBusinessFormCpPo xjgywxt;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-有效性") @ApiModelProperty("Whois信息-有效性")
private String whoisYxx; private String whoisYxx;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-注册名") @ApiModelProperty("Whois信息-注册名")
private String whoisZcm; private String whoisZcm;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-服务商") @ApiModelProperty("Whois信息-服务商")
private String whoisFws; private String whoisFws;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-注册邮箱") @ApiModelProperty("Whois信息-注册邮箱")
private String whoisZcyx; private String whoisZcyx;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-注册国家") @ApiModelProperty("Whois信息-注册国家")
private String whoisZcgj; private String whoisZcgj;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-注册省") @ApiModelProperty("Whois信息-注册省")
private String whoisZcs; private String whoisZcs;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-注册地址") @ApiModelProperty("Whois信息-注册地址")
private String whoisZcdz; private String whoisZcdz;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-注册机构") @ApiModelProperty("Whois信息-注册机构")
private String whoisZcjg; private String whoisZcjg;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-注册时间") @ApiModelProperty("Whois信息-注册时间")
private String whoisZcsj; private String whoisZcsj;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-最后更新时间") @ApiModelProperty("Whois信息-最后更新时间")
private String whoisZhgxsj; private String whoisZhgxsj;
/** /**
* Whois- * Whois-
*/ */
@ApiModelProperty("Whois信息-到期时间") @ApiModelProperty("Whois信息-到期时间")
private String whoisDqsj; private String whoisDqsj;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据库名称") @ApiModelProperty("数据资产-数据库名称")
private String sjzcSjkmc; private String sjzcSjkmc;
/** /**
@ -819,48 +881,56 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("数据资产-端口") @ApiModelProperty("数据资产-端口")
private String sjzcDk; private String sjzcDk;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据库版本") @ApiModelProperty("数据资产-数据库版本")
private String sjzcSjkbb; private String sjzcSjkbb;
/** /**
* -IP * -IP
*/ */
@ApiModelProperty("数据资产-数据库所在IP") @ApiModelProperty("数据资产-数据库所在IP")
private String sjzcSjkIp; private String sjzcSjkIp;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-共享属性") @ApiModelProperty("数据资产-共享属性")
private String sjzcGxsx; private String sjzcGxsx;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-开放属性") @ApiModelProperty("数据资产-开放属性")
private String sjzcKfsx; private String sjzcKfsx;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据领域") @ApiModelProperty("数据资产-数据领域")
private String sjzcSjly; private String sjzcSjly;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-更新周期") @ApiModelProperty("数据资产-更新周期")
private String sjzcGxzq; private String sjzcGxzq;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据类型") @ApiModelProperty("数据资产-数据类型")
private String sjzcSjlx; private String sjzcSjlx;
/** /**
@ -879,30 +949,35 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
* - * -
*/ */
@ApiModelProperty("数据资产-是否为涉密数据") @ApiModelProperty("数据资产-是否为涉密数据")
private String sjzcSmsj; private String sjzcSmsj;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据是否出境") @ApiModelProperty("数据资产-数据是否出境")
private String sjzcCj; private String sjzcCj;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据分级分类") @ApiModelProperty("数据资产-数据分级分类")
private String sjzcSjfjfl; private String sjzcSjfjfl;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据重要程度") @ApiModelProperty("数据资产-数据重要程度")
private String sjzcSjzycd; private String sjzcSjzycd;
/** /**
* - * -
*/ */
@ApiModelProperty("数据资产-数据描述") @ApiModelProperty("数据资产-数据描述")
private String sjzcSjms; private String sjzcSjms;
@ -931,7 +1006,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
private String bfyy; private String bfyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status=0; private Integer status = 0;
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
@ -947,12 +1022,14 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* DNS: * DNS:
*/ */
@ApiModelProperty("DNS") @ApiModelProperty("DNS")
private String dns; private String dns;
/** /**
* 1 2 3 * 1 2 3
*/ */
@ApiModelProperty("审核状态1未审批 2审批通过 3审批驳回") @ApiModelProperty("审核状态1未审批 2审批通过 3审批驳回")
private String auditState; private String auditState;
@ -963,6 +1040,7 @@ public class AssetCurrentCpPo extends BaseClass implements Serializable {
/** /**
* 线ip * 线ip
*/ */
@TableField("is_zjhlwip") @TableField("is_zjhlwip")
@ApiModelProperty("是否自建互联网专线ip") @ApiModelProperty("是否自建互联网专线ip")
private String isZjhlwip; private String isZjhlwip;

@ -3,7 +3,6 @@ package com.ruoyi.tc.entity.po;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.tc.baseClass.BaseClass; import com.ruoyi.tc.baseClass.BaseClass;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
@ -73,6 +72,7 @@ public class AssetEmailCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("安全防护系统(字典)") @ApiModelProperty("安全防护系统(字典)")
private String aqfhxt; private String aqfhxt;
/** /**
@ -85,12 +85,14 @@ public class AssetEmailCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("数字证书厂商") @ApiModelProperty("数字证书厂商")
private String szzscs; private String szzscs;
/** /**
* 线 * 线
*/ */
@ApiModelProperty("上线时间") @ApiModelProperty("上线时间")
private String sxsj; private String sxsj;
/** /**
@ -127,11 +129,13 @@ public class AssetEmailCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("系统责任人电话") @ApiModelProperty("系统责任人电话")
private String xtzrrdh; private String xtzrrdh;
/** /**
* *
*/ */
@ApiModelProperty("系统责任人邮箱") @ApiModelProperty("系统责任人邮箱")
private String xtzrryx; private String xtzrryx;
/** /**
@ -149,7 +153,7 @@ public class AssetEmailCpPo extends BaseClass implements Serializable {
private String bfyy; private String bfyy;
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -13,9 +13,10 @@ import java.io.Serializable;
/** /**
* (asset_email_cp) * (asset_email_cp)
*
* @author du * @author du
* @since 2024/11/13 14:44 * @since 2024/11/13 14:44
*/ */
@Data @Data
@ApiModel("电子邮件资产表") @ApiModel("电子邮件资产表")
@TableName(value = "asset_email_cp") @TableName(value = "asset_email_cp")
@ -23,7 +24,7 @@ public class AssetEmailJyPo extends BaseClass implements Serializable {
@ApiModelProperty("email_id") @ApiModelProperty("email_id")
@TableId(value = "email_id",type = IdType.AUTO) @TableId(value = "email_id", type = IdType.AUTO)
private Long emailId; private Long emailId;
@ApiModelProperty("资产id") @ApiModelProperty("资产id")
@ -32,111 +33,129 @@ public class AssetEmailJyPo extends BaseClass implements Serializable {
@ApiModelProperty("任务id") @ApiModelProperty("任务id")
private Integer taskId; private Integer taskId;
/** /**
* *
*/ */
@Excel(name = "所属单位", sort = 1, width = 24) @Excel(name = "所属单位", sort = 1, width = 24)
@ApiModelProperty("所属单位") @ApiModelProperty("所属单位")
private String ssdw; private String ssdw;
/** /**
* *
*/ */
@Excel(name = "电子邮箱后缀", sort = 2, width = 20) @Excel(name = "电子邮箱后缀", sort = 2, width = 20)
@ApiModelProperty("电子邮箱后缀") @ApiModelProperty("电子邮箱后缀")
private String dzyxhz; private String dzyxhz;
/** /**
* *
*/ */
@Excel(name = "建设类型", sort = 3, width = 20,dictType = "email_jslx",comboReadDict = true)
@Excel(name = "建设类型", sort = 3, width = 20, dictType = "email_jslx", comboReadDict = true)
@ApiModelProperty("建设类型(字典)") @ApiModelProperty("建设类型(字典)")
private String jslx; private String jslx;
/** /**
* *
*/ */
@Excel(name = "邮件系统供应商", sort = 4, width = 24) @Excel(name = "邮件系统供应商", sort = 4, width = 24)
@ApiModelProperty("邮件系统供应商") @ApiModelProperty("邮件系统供应商")
private String yjxtgys; private String yjxtgys;
/** /**
* *
*/ */
@Excel(name = "密码算法", sort = 5, width = 22) @Excel(name = "密码算法", sort = 5, width = 22)
@ApiModelProperty("密码算法") @ApiModelProperty("密码算法")
private String mmsf; private String mmsf;
/** /**
* ) * )
*/ */
@Excel(name = "邮件系统状态", sort = 6, width = 20,dictType = "email_state",comboReadDict = true)
@Excel(name = "邮件系统状态", sort = 6, width = 20, dictType = "email_state", comboReadDict = true)
@ApiModelProperty("邮件系统状态(字典)") @ApiModelProperty("邮件系统状态(字典)")
private String yjxtzc; private String yjxtzc;
/** /**
* *
*/ */
@Excel(name = "安全防护系统", sort = 7, dictType = "email_hasorno",comboReadDict = true)
@Excel(name = "安全防护系统", sort = 7, dictType = "email_hasorno", comboReadDict = true)
@ApiModelProperty("安全防护系统(字典)") @ApiModelProperty("安全防护系统(字典)")
private String aqfhxt; private String aqfhxt;
/** /**
* ( * (
*/ */
@Excel(name = "安全备份环境", sort = 8, dictType = "email_hasorno",comboReadDict = true)
@Excel(name = "安全备份环境", sort = 8, dictType = "email_hasorno", comboReadDict = true)
@ApiModelProperty("安全备份环境(字典)") @ApiModelProperty("安全备份环境(字典)")
private String aqbfhj; private String aqbfhj;
/** /**
* *
*/ */
@Excel(name = "数字证书厂商", sort = 9) @Excel(name = "数字证书厂商", sort = 9)
@ApiModelProperty("数字证书厂商") @ApiModelProperty("数字证书厂商")
private String szzscs; private String szzscs;
/** /**
* 线 * 线
*/ */
@Excel(name = "上线时间", sort = 10) @Excel(name = "上线时间", sort = 10)
@ApiModelProperty("上线时间") @ApiModelProperty("上线时间")
private String sxsj; private String sxsj;
/** /**
* *
*/ */
@Excel(name = "所属行业",dictType = "app_sshy",comboReadDict = true,sort = 11, width = 18)
@Excel(name = "所属行业", dictType = "app_sshy", comboReadDict = true, sort = 11, width = 18)
@ApiModelProperty("所属行业(字典)") @ApiModelProperty("所属行业(字典)")
private String sshy; private String sshy;
/** /**
* *
*/ */
@Excel(name = "重点行业",dictType = "app_zdhy",comboReadDict = true,sort = 12, width = 18)
@Excel(name = "重点行业", dictType = "app_zdhy", comboReadDict = true, sort = 12, width = 18)
@ApiModelProperty("重点行业(字典)") @ApiModelProperty("重点行业(字典)")
private String zdhy; private String zdhy;
/** /**
* *
*/ */
@Excel(name = "行政区划",dictType = "app_xzqh",comboReadDict = true,sort = 13, width = 18)
@Excel(name = "行政区划", dictType = "app_xzqh", comboReadDict = true, sort = 13, width = 18)
@ApiModelProperty("行政区划(字典)") @ApiModelProperty("行政区划(字典)")
private String xzqh; private String xzqh;
/** /**
* *
*/ */
@Excel(name = "简介",sort = 14, width = 28)
@Excel(name = "简介", sort = 14, width = 28)
@ApiModelProperty("简介") @ApiModelProperty("简介")
private String jj; private String jj;
/** /**
* *
*/ */
@Excel(name = "系统责任人",sort = 15)
@Excel(name = "系统责任人", sort = 15)
@ApiModelProperty("系统责任人") @ApiModelProperty("系统责任人")
private String xtzrr; private String xtzrr;
/** /**
* *
*/ */
@Excel(name = "系统责任人电话",sort = 16)
@Excel(name = "系统责任人电话", sort = 16)
@ApiModelProperty("系统责任人电话") @ApiModelProperty("系统责任人电话")
private String xtzrrdh; private String xtzrrdh;
/** /**
* *
*/ */
@Excel(name = "系统责任人邮箱",sort = 17)
@Excel(name = "系统责任人邮箱", sort = 17)
@ApiModelProperty("系统责任人邮箱") @ApiModelProperty("系统责任人邮箱")
private String xtzrryx; private String xtzrryx;
/** /**
* *
*/ */
@Excel(name = "系统责任人地址",sort = 18)
@Excel(name = "系统责任人地址", sort = 18)
@ApiModelProperty("系统责任人地址") @ApiModelProperty("系统责任人地址")
private String xtzrrdz; private String xtzrrdz;
@ -148,7 +167,7 @@ public class AssetEmailJyPo extends BaseClass implements Serializable {
private String bfyy; private String bfyy;
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -51,6 +51,7 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
* appid * appid
*/ */
@ApiModelProperty("appid") @ApiModelProperty("appid")
private String appId; private String appId;
/** /**
@ -63,6 +64,7 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("统一社会信用代码") @ApiModelProperty("统一社会信用代码")
private String tyshxydm; private String tyshxydm;
/** /**
@ -75,17 +77,20 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
* ID * ID
*/ */
@ApiModelProperty("账号原始ID") @ApiModelProperty("账号原始ID")
private String ysId; private String ysId;
/** /**
* () * ()
*/ */
@ApiModelProperty("小程序包状态(字典)") @ApiModelProperty("小程序包状态(字典)")
private String packState; private String packState;
/** /**
* ( * (
*/ */
@ApiModelProperty("认证状态(字典)") @ApiModelProperty("认证状态(字典)")
private String rzState; private String rzState;
/** /**
@ -103,6 +108,7 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
/** /**
* icp * icp
*/ */
@ApiModelProperty("icp备案状态") @ApiModelProperty("icp备案状态")
private String icpState; private String icpState;
@ -127,6 +133,7 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("所属行业(字典)") @ApiModelProperty("所属行业(字典)")
private String sshy; private String sshy;
@ -134,12 +141,14 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
* () * ()
*/ */
@ApiModelProperty("重点行业(字典)") @ApiModelProperty("重点行业(字典)")
private String zdhy; private String zdhy;
/** /**
* ) * )
*/ */
@ApiModelProperty("行政区划(字典)") @ApiModelProperty("行政区划(字典)")
private String xzqh; private String xzqh;
/** /**
@ -170,6 +179,7 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
* *
*/ */
@ApiModelProperty("系统责任人地址") @ApiModelProperty("系统责任人地址")
private String xtzrrdz; private String xtzrrdz;
/** /**
@ -195,13 +205,12 @@ public class AssetMiniProgramsCpPo extends BaseClass implements Serializable {
private String bfyy; private String bfyy;
@ApiModelProperty("不通过次数") @ApiModelProperty("不通过次数")
private Integer count; private Integer count;
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -23,10 +23,10 @@ import java.io.Serializable;
public class AssetMiniProgramsJyPo extends BaseClass implements Serializable { public class AssetMiniProgramsJyPo extends BaseClass implements Serializable {
/** /**
* *
*/ */
@ApiModelProperty("mini_id") @ApiModelProperty("mini_id")
@TableId(value = "mini_id",type = IdType.AUTO) @TableId(value = "mini_id", type = IdType.AUTO)
private Long miniId; private Long miniId;
@ -37,158 +37,183 @@ public class AssetMiniProgramsJyPo extends BaseClass implements Serializable {
private Integer taskId; private Integer taskId;
/** /**
* *
*/ */
@Excel(name = "所属单位", sort = 1, width = 22) @Excel(name = "所属单位", sort = 1, width = 22)
@ApiModelProperty("所属单位") @ApiModelProperty("所属单位")
private String ssdw; private String ssdw;
/** /**
* *
*/ */
@Excel(name = "小程序名称", sort = 2, width = 22) @Excel(name = "小程序名称", sort = 2, width = 22)
@ApiModelProperty("小程序名称") @ApiModelProperty("小程序名称")
private String xcxmc; private String xcxmc;
/** /**
* appid * appid
*/ */
@Excel(name = "APPID", sort = 3, width = 22) @Excel(name = "APPID", sort = 3, width = 22)
@ApiModelProperty("appid") @ApiModelProperty("appid")
private String appId; private String appId;
/** /**
* *
*/ */
@Excel(name = "认证主体", sort = 4, width = 26) @Excel(name = "认证主体", sort = 4, width = 26)
@ApiModelProperty("认证主体") @ApiModelProperty("认证主体")
private String rzzt; private String rzzt;
/** /**
* *
*/ */
@Excel(name = "统一社会信用代码", sort = 5) @Excel(name = "统一社会信用代码", sort = 5)
@ApiModelProperty("统一社会信用代码") @ApiModelProperty("统一社会信用代码")
private String tyshxydm; private String tyshxydm;
/** /**
* *
*/ */
@Excel(name = "小程序状态", sort = 6,dictType = "gzh_state",comboReadDict = true)
@Excel(name = "小程序状态", sort = 6, dictType = "gzh_state", comboReadDict = true)
@ApiModelProperty("小程序状态(字典)") @ApiModelProperty("小程序状态(字典)")
private String state; private String state;
/** /**
* ID * ID
*/ */
@Excel(name = "账号原始ID", sort = 7) @Excel(name = "账号原始ID", sort = 7)
@ApiModelProperty("账号原始ID") @ApiModelProperty("账号原始ID")
private String ysId; private String ysId;
/** /**
* () * ()
*/ */
@Excel(name = "小程序包状态", sort = 8,dictType = "email_state",comboReadDict = true)
@Excel(name = "小程序包状态", sort = 8, dictType = "email_state", comboReadDict = true)
@ApiModelProperty("小程序包状态(字典)") @ApiModelProperty("小程序包状态(字典)")
private String packState; private String packState;
/** /**
* ( * (
*/ */
@Excel(name = "认证状态", sort = 9,dictType = "gzh_rzzt",comboReadDict = true)
@Excel(name = "认证状态", sort = 9, dictType = "gzh_rzzt", comboReadDict = true)
@ApiModelProperty("认证状态(字典)") @ApiModelProperty("认证状态(字典)")
private String rzState; private String rzState;
/** /**
* *
*/ */
@Excel(name = "认证时间", sort = 10) @Excel(name = "认证时间", sort = 10)
@ApiModelProperty("认证时间") @ApiModelProperty("认证时间")
private String rzsj; private String rzsj;
/** /**
* *
*/ */
@Excel(name = "认证类型", sort = 11,dictType = "gzh_rzlx",comboReadDict = true)
@Excel(name = "认证类型", sort = 11, dictType = "gzh_rzlx", comboReadDict = true)
@ApiModelProperty("认证类型(字典)") @ApiModelProperty("认证类型(字典)")
private String rzlx; private String rzlx;
/** /**
* icp * icp
*/ */
@ApiModelProperty("icp备案状态") @ApiModelProperty("icp备案状态")
@Excel(name = "icp备案状态", sort = 12) @Excel(name = "icp备案状态", sort = 12)
private String icpState; private String icpState;
/** /**
* *
*/ */
@Excel(name = "域名白名单", sort = 13) @Excel(name = "域名白名单", sort = 13)
@ApiModelProperty("域命白名单") @ApiModelProperty("域命白名单")
private String ymbmd; private String ymbmd;
/** /**
* *
*/ */
@Excel(name = "服务类目", sort = 14) @Excel(name = "服务类目", sort = 14)
@ApiModelProperty("服务类目") @ApiModelProperty("服务类目")
private String fwlm; private String fwlm;
/** /**
* *
*/ */
@Excel(name = "行业电子邮箱", sort = 15) @Excel(name = "行业电子邮箱", sort = 15)
@ApiModelProperty("行业电子邮箱") @ApiModelProperty("行业电子邮箱")
private String hydzyx; private String hydzyx;
/** /**
* *
*/ */
@ApiModelProperty("所属行业(字典)") @ApiModelProperty("所属行业(字典)")
@Excel(name = "所属行业",dictType = "app_sshy",comboReadDict = true,sort = 16, width = 18) @Excel(name = "所属行业", dictType = "app_sshy", comboReadDict = true, sort = 16, width = 18)
private String sshy; private String sshy;
/** /**
* () * ()
*/ */
@Excel(name = "重点行业",dictType = "app_zdhy",comboReadDict = true,sort = 17, width = 18)
@Excel(name = "重点行业", dictType = "app_zdhy", comboReadDict = true, sort = 17, width = 18)
@ApiModelProperty("重点行业(字典)") @ApiModelProperty("重点行业(字典)")
private String zdhy; private String zdhy;
/** /**
* ) * )
*/ */
@Excel(name = "行政区划",dictType = "app_xzqh",comboReadDict = true,sort = 18, width = 18)
@Excel(name = "行政区划", dictType = "app_xzqh", comboReadDict = true, sort = 18, width = 18)
@ApiModelProperty("行政区划(字典)") @ApiModelProperty("行政区划(字典)")
private String xzqh; private String xzqh;
/** /**
* *
*/ */
@Excel(name = "系统简介",sort = 19, width = 24)
@Excel(name = "系统简介", sort = 19, width = 24)
@ApiModelProperty("系统简介") @ApiModelProperty("系统简介")
private String xtjj; private String xtjj;
/** /**
* *
*/ */
@Excel(name = "系统责任人",sort = 20)
@Excel(name = "系统责任人", sort = 20)
@ApiModelProperty("系统责任人") @ApiModelProperty("系统责任人")
private String xtzrr; private String xtzrr;
/** /**
* *
*/ */
@Excel(name = "系统责任人电话",sort = 21)
@Excel(name = "系统责任人电话", sort = 21)
@ApiModelProperty("系统责任人电话") @ApiModelProperty("系统责任人电话")
private String xtzrrdh; private String xtzrrdh;
/** /**
* *
*/ */
@Excel(name = "系统责任人邮箱",sort = 22)
@Excel(name = "系统责任人邮箱", sort = 22)
@ApiModelProperty("系统责任人邮箱") @ApiModelProperty("系统责任人邮箱")
private String xtzrryx; private String xtzrryx;
/** /**
* *
*/ */
@Excel(name = "系统责任人地址",sort = 23,width = 24)
@Excel(name = "系统责任人地址", sort = 23, width = 24)
@ApiModelProperty("系统责任人地址") @ApiModelProperty("系统责任人地址")
private String xtzrrdz; private String xtzrrdz;
/** /**
* appid * appid
*/ */
@Excel(name = "引用插件APPID",sort = 24)
@Excel(name = "引用插件APPID", sort = 24)
@ApiModelProperty("引用插件appid") @ApiModelProperty("引用插件appid")
private String yycjAppid; private String yycjAppid;
/** /**
* *
*/ */
@Excel(name = "引用插件(开发者)",sort = 25)
@Excel(name = "引用插件(开发者)", sort = 25)
@ApiModelProperty("引用插件开发者") @ApiModelProperty("引用插件开发者")
private String yycjKfz; private String yycjKfz;
/** /**
* 0 2 * 0 2
*/ */
@ApiModelProperty("删除标志0代表存在 2代表删除") @ApiModelProperty("删除标志0代表存在 2代表删除")
private String delFlag; private String delFlag;
@ -200,7 +225,7 @@ public class AssetMiniProgramsJyPo extends BaseClass implements Serializable {
private Integer count; private Integer count;
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -10,6 +10,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
@ -38,6 +39,7 @@ public class AssetOfficialAccountCpPo extends BaseClass implements Serializable
/** /**
* *
*/ */
@ApiModelProperty("所属单位") @ApiModelProperty("所属单位")
private String ssdw; private String ssdw;
@ -45,109 +47,127 @@ public class AssetOfficialAccountCpPo extends BaseClass implements Serializable
/** /**
* *
*/ */
@ApiModelProperty("公众号名称") @ApiModelProperty("公众号名称")
private String gzhmc; private String gzhmc;
/** /**
* *
*/ */
@ApiModelProperty("微信号") @ApiModelProperty("微信号")
private String wxh; private String wxh;
/** /**
* *
*/ */
@ApiModelProperty("认证主体") @ApiModelProperty("认证主体")
private String rzzt; private String rzzt;
/** /**
* *
*/ */
@ApiModelProperty("统一社会信用代码") @ApiModelProperty("统一社会信用代码")
private String tyshxydm; private String tyshxydm;
/** /**
* *
*/ */
@ApiModelProperty("公众号状态(字典)") @ApiModelProperty("公众号状态(字典)")
private String gzhzt; private String gzhzt;
/** /**
* id * id
*/ */
@ApiModelProperty("公众号id") @ApiModelProperty("公众号id")
private String gzhId; private String gzhId;
/** /**
* *
*/ */
@ApiModelProperty("公众号类型(字典)") @ApiModelProperty("公众号类型(字典)")
private String gzhlx; private String gzhlx;
/** /**
* *
*/ */
@ApiModelProperty("认证状态(字典)") @ApiModelProperty("认证状态(字典)")
private String rzState; private String rzState;
/** /**
* *
*/ */
@ApiModelProperty("认证时间") @ApiModelProperty("认证时间")
private String rzsj; private String rzsj;
/** /**
* *
*/ */
@ApiModelProperty("认证类型(字典)") @ApiModelProperty("认证类型(字典)")
private String rzlx; private String rzlx;
/** /**
* *
*/ */
@ApiModelProperty("所属行业(字典)") @ApiModelProperty("所属行业(字典)")
private String sshy; private String sshy;
/** /**
* *
*/ */
@ApiModelProperty("重点行业(字典)") @ApiModelProperty("重点行业(字典)")
private String zdhy; private String zdhy;
/** /**
* *
*/ */
@ApiModelProperty("行政区划(字典)") @ApiModelProperty("行政区划(字典)")
private String xzqh; private String xzqh;
/** /**
* *
*/ */
@ApiModelProperty("系统简介") @ApiModelProperty("系统简介")
private String xtjj; private String xtjj;
/** /**
* *
*/ */
@ApiModelProperty("系统责任人") @ApiModelProperty("系统责任人")
private String xtzrr; private String xtzrr;
/** /**
* *
*/ */
@ApiModelProperty("系统责任人电话") @ApiModelProperty("系统责任人电话")
private String xtzrrdh; private String xtzrrdh;
/** /**
* *
*/ */
@ApiModelProperty("系统责任人邮箱") @ApiModelProperty("系统责任人邮箱")
private String xtzrryx; private String xtzrryx;
/** /**
* *
*/ */
@ApiModelProperty("系统责任人地址") @ApiModelProperty("系统责任人地址")
private String xtzrrdz; private String xtzrrdz;
/** /**
* *
*/ */
@ApiModelProperty("菜单名称") @ApiModelProperty("菜单名称")
private String cdmc; private String cdmc;
/** /**
* *
*/ */
@ApiModelProperty("菜单链接") @ApiModelProperty("菜单链接")
private String cdlj; private String cdlj;
/** /**
* *
*/ */
@ApiModelProperty("菜单类型") @ApiModelProperty("菜单类型")
private String cdlx; private String cdlx;
@ -173,7 +193,7 @@ public class AssetOfficialAccountCpPo extends BaseClass implements Serializable
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -11,6 +11,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
@ -39,6 +40,7 @@ public class AssetOfficialAccountJyPo extends BaseClass implements Serializable
/** /**
* *
*/ */
@Excel(name = "所属单位", sort = 1, width = 24) @Excel(name = "所属单位", sort = 1, width = 24)
@ApiModelProperty("所属单位") @ApiModelProperty("所属单位")
private String ssdw; private String ssdw;
@ -46,126 +48,147 @@ public class AssetOfficialAccountJyPo extends BaseClass implements Serializable
/** /**
* *
*/ */
@Excel(name = "公众号名称", sort = 2, width = 20) @Excel(name = "公众号名称", sort = 2, width = 20)
@ApiModelProperty("公众号名称") @ApiModelProperty("公众号名称")
private String gzhmc; private String gzhmc;
/** /**
* *
*/ */
@Excel(name = "微信号", sort = 3, width = 22) @Excel(name = "微信号", sort = 3, width = 22)
@ApiModelProperty("微信号") @ApiModelProperty("微信号")
private String wxh; private String wxh;
/** /**
* *
*/ */
@Excel(name = "认证主体", sort = 4, width = 24) @Excel(name = "认证主体", sort = 4, width = 24)
@ApiModelProperty("认证主体") @ApiModelProperty("认证主体")
private String rzzt; private String rzzt;
/** /**
* *
*/ */
@Excel(name = "统一社会信用代码", sort = 5, width = 24) @Excel(name = "统一社会信用代码", sort = 5, width = 24)
@ApiModelProperty("统一社会信用代码") @ApiModelProperty("统一社会信用代码")
private String tyshxydm; private String tyshxydm;
/** /**
* *
*/ */
@Excel(name = "公众号状态", sort = 6, dictType = "gzh_state", comboReadDict = true) @Excel(name = "公众号状态", sort = 6, dictType = "gzh_state", comboReadDict = true)
@ApiModelProperty("公众号状态(字典)") @ApiModelProperty("公众号状态(字典)")
private String gzhzt; private String gzhzt;
/** /**
* id * id
*/ */
@Excel(name = "公众号ID", sort = 7) @Excel(name = "公众号ID", sort = 7)
@ApiModelProperty("公众号id") @ApiModelProperty("公众号id")
private String gzhId; private String gzhId;
/** /**
* *
*/ */
@Excel(name = "公众号类型", sort = 8, dictType = "gzh_lx", comboReadDict = true) @Excel(name = "公众号类型", sort = 8, dictType = "gzh_lx", comboReadDict = true)
@ApiModelProperty("公众号类型(字典)") @ApiModelProperty("公众号类型(字典)")
private String gzhlx; private String gzhlx;
/** /**
* *
*/ */
@Excel(name = "认证状态", sort = 9, dictType = "gzh_rzzt", comboReadDict = true) @Excel(name = "认证状态", sort = 9, dictType = "gzh_rzzt", comboReadDict = true)
@ApiModelProperty("认证状态(字典)") @ApiModelProperty("认证状态(字典)")
private String rzState; private String rzState;
/** /**
* *
*/ */
@Excel(name = "认证时间", sort = 10) @Excel(name = "认证时间", sort = 10)
@ApiModelProperty("认证时间") @ApiModelProperty("认证时间")
private String rzsj; private String rzsj;
/** /**
* *
*/ */
@Excel(name = "认证类型", sort = 11, dictType = "gzh_rzlx", comboReadDict = true) @Excel(name = "认证类型", sort = 11, dictType = "gzh_rzlx", comboReadDict = true)
@ApiModelProperty("认证类型(字典)") @ApiModelProperty("认证类型(字典)")
private String rzlx; private String rzlx;
/** /**
* *
*/ */
@Excel(name = "所属行业", dictType = "app_sshy", comboReadDict = true, sort = 12, width = 18) @Excel(name = "所属行业", dictType = "app_sshy", comboReadDict = true, sort = 12, width = 18)
@ApiModelProperty("所属行业(字典)") @ApiModelProperty("所属行业(字典)")
private String sshy; private String sshy;
/** /**
* *
*/ */
@Excel(name = "重点行业", dictType = "app_zdhy", comboReadDict = true, sort = 13, width = 18) @Excel(name = "重点行业", dictType = "app_zdhy", comboReadDict = true, sort = 13, width = 18)
@ApiModelProperty("重点行业(字典)") @ApiModelProperty("重点行业(字典)")
private String zdhy; private String zdhy;
/** /**
* *
*/ */
@Excel(name = "行政区划", dictType = "app_xzqh", comboReadDict = true, sort = 14, width = 18) @Excel(name = "行政区划", dictType = "app_xzqh", comboReadDict = true, sort = 14, width = 18)
@ApiModelProperty("行政区划(字典)") @ApiModelProperty("行政区划(字典)")
private String xzqh; private String xzqh;
/** /**
* *
*/ */
@Excel(name = "系统简介", sort = 15, width = 26) @Excel(name = "系统简介", sort = 15, width = 26)
@ApiModelProperty("系统简介") @ApiModelProperty("系统简介")
private String xtjj; private String xtjj;
/** /**
* *
*/ */
@Excel(name = "系统责任人", sort = 16) @Excel(name = "系统责任人", sort = 16)
@ApiModelProperty("系统责任人") @ApiModelProperty("系统责任人")
private String xtzrr; private String xtzrr;
/** /**
* *
*/ */
@Excel(name = "系统责任人电话", sort = 17) @Excel(name = "系统责任人电话", sort = 17)
@ApiModelProperty("系统责任人电话") @ApiModelProperty("系统责任人电话")
private String xtzrrdh; private String xtzrrdh;
/** /**
* *
*/ */
@Excel(name = "系统责任人邮箱", sort = 18) @Excel(name = "系统责任人邮箱", sort = 18)
@ApiModelProperty("系统责任人邮箱") @ApiModelProperty("系统责任人邮箱")
private String xtzrryx; private String xtzrryx;
/** /**
* *
*/ */
@Excel(name = "系统责任人地址", sort = 19) @Excel(name = "系统责任人地址", sort = 19)
@ApiModelProperty("系统责任人地址") @ApiModelProperty("系统责任人地址")
private String xtzrrdz; private String xtzrrdz;
/** /**
* *
*/ */
@Excel(name = "菜单信息(菜单名称)", sort = 20) @Excel(name = "菜单信息(菜单名称)", sort = 20)
@ApiModelProperty("菜单名称") @ApiModelProperty("菜单名称")
private String cdmc; private String cdmc;
/** /**
* *
*/ */
@Excel(name = "菜单信息(菜单链接)", sort = 21, width = 28) @Excel(name = "菜单信息(菜单链接)", sort = 21, width = 28)
@ApiModelProperty("菜单链接") @ApiModelProperty("菜单链接")
private String cdlj; private String cdlj;
/** /**
* *
*/ */
@Excel(name = "菜单信息(菜单类型)", sort = 22) @Excel(name = "菜单信息(菜单类型)", sort = 22)
@ApiModelProperty("菜单类型") @ApiModelProperty("菜单类型")
private String cdlx; private String cdlx;
@ -173,6 +196,7 @@ public class AssetOfficialAccountJyPo extends BaseClass implements Serializable
/** /**
* *
*/ */
@TableField(exist = false) @TableField(exist = false)
@ApiModelProperty("菜单类型") @ApiModelProperty("菜单类型")
private List<AssetOfficialAccountMenu> cdList; private List<AssetOfficialAccountMenu> cdList;
@ -191,7 +215,7 @@ public class AssetOfficialAccountJyPo extends BaseClass implements Serializable
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;

@ -8,6 +8,8 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -36,42 +38,42 @@ public class AssetSupplyChainCpPo extends BaseClass implements Serializable {
private Long assetId; private Long assetId;
/** /**
* 1.2.3.4.5.6. * 1.2.3.4.5.6.
*/ */ @NotNull
@ApiModelProperty("1.测评单位2.硬件供应商单位3.机房运维单位4.系统设计单位5.系统建设单位6.安全服务单位") @ApiModelProperty("1.测评单位2.硬件供应商单位3.机房运维单位4.系统设计单位5.系统建设单位6.安全服务单位")
private Integer type; private Integer type;
/** /**
* *
*/ */
@ApiModelProperty("名称") @ApiModelProperty("名称")
private String name; private String name;
/** /**
* *
*/ */
@ApiModelProperty("统一信用代码") @ApiModelProperty("统一信用代码")
private String tyshxydm; private String tyshxydm;
/** /**
* *
*/ */
@ApiModelProperty("联系人") @ApiModelProperty("联系人")
private String lxr; private String lxr;
/** /**
* *
*/ */
@ApiModelProperty("联系电话") @ApiModelProperty("联系电话")
private String lxdh; private String lxdh;
/** /**
* *
*/ */
@ApiModelProperty("供应商注册地址") @ApiModelProperty("供应商注册地址")
private String gyszcdz; private String gyszcdz;
/** /**
* *
*/ */
@ApiModelProperty("注册地是否为太仓") @ApiModelProperty("注册地是否为太仓")
private String sfwtc; private String sfwtc;

@ -8,11 +8,14 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size; import javax.validation.constraints.Size;
import java.io.Serializable; import java.io.Serializable;
/** /**
* (asset_supply_chain) * (asset_supply_chain)
*
* @author du * @author du
* @since 2024/11/13 14:44 * @since 2024/11/13 14:44
*/ */
@ -24,55 +27,60 @@ public class AssetSupplyChainJyPo extends BaseClass implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.AUTO,value = "supply_id") @TableId(type = IdType.AUTO, value = "supply_id")
private Long supplyId; private Long supplyId;
/** /**
* id * id
*/ */
@ApiModelProperty("资产id") @ApiModelProperty("资产id")
private Long assetId; private Long assetId;
/** /**
* 1.2.3.4.5.6. 7 * 1.2.3.4.5.6. 7
*/ */
@NotNull
@ApiModelProperty("1.测评单位2.硬件供应商单位3.机房运维单位4.系统设计单位5.系统建设单位6.安全服务单位 7系统运营单位") @ApiModelProperty("1.测评单位2.硬件供应商单位3.机房运维单位4.系统设计单位5.系统建设单位6.安全服务单位 7系统运营单位")
private Integer type; private Integer type;
/** /**
* *
*/ */
@Size(max= 50,message="名称长度不能超过50")
@Size(max = 50, message = "名称长度不能超过50")
@ApiModelProperty("名称") @ApiModelProperty("名称")
private String name; private String name;
/** /**
* *
*/ */
@Size(max= 50,message="统一信用代码长度不能超过50")
@Size(max = 50, message = "统一信用代码长度不能超过50")
@ApiModelProperty("统一信用代码") @ApiModelProperty("统一信用代码")
private String tyshxydm; private String tyshxydm;
/** /**
* *
*/ */
@Size(max= 50,message="联系人长度不能超过50")
@Size(max = 50, message = "联系人长度不能超过50")
@ApiModelProperty("联系人") @ApiModelProperty("联系人")
private String lxr; private String lxr;
/** /**
* *
*/ */
@Size(max= 50,message="联系电话长度不能超过50")
@Size(max = 50, message = "联系电话长度不能超过50")
@ApiModelProperty("联系电话") @ApiModelProperty("联系电话")
private String lxdh; private String lxdh;
/** /**
* *
*/ */
@Size(max= 500,message="供应商注册地址长度不能超过500")
@Size(max = 500, message = "供应商注册地址长度不能超过500")
@ApiModelProperty("供应商注册地址") @ApiModelProperty("供应商注册地址")
private String gyszcdz; private String gyszcdz;
/** /**
* *
*/ */
@ApiModelProperty("注册地是否为太仓") @ApiModelProperty("注册地是否为太仓")
private String sfwtc; private String sfwtc;

@ -8,6 +8,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -33,16 +34,16 @@ public class UnitOtherConcatCpPo extends BaseClass implements Serializable {
@ApiModelProperty("资产id") @ApiModelProperty("资产id")
private Long assetId; private Long assetId;
@ApiModelProperty("其他联系人姓名") @ApiModelProperty("其他联系人姓名")
private String qtlxrxm; private String qtlxrxm;
@ApiModelProperty("其他联系人联系方式") @ApiModelProperty("其他联系人联系方式")
private String qtlxrlxfs; private String qtlxrlxfs;
@ApiModelProperty("其他联系人邮箱") @ApiModelProperty("其他联系人邮箱")
private String qtlxryx; private String qtlxryx;
@ApiModelProperty("其他联系人职务职称") @ApiModelProperty("其他联系人职务职称")
private String qtlxrzwzc; private String qtlxrzwzc;

@ -8,10 +8,12 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable; import java.io.Serializable;
/** /**
* (unit_other_contact) * (unit_other_contact)
*
* @author du * @author du
* @since 2024/11/13 14:44 * @since 2024/11/13 14:44
*/ */
@ -20,14 +22,10 @@ import java.io.Serializable;
@TableName(value = "unit_other_contact_cp") @TableName(value = "unit_other_contact_cp")
public class UnitOtherConcatJyPo extends BaseClass implements Serializable { public class UnitOtherConcatJyPo extends BaseClass implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.AUTO,value = "concat_id") @TableId(type = IdType.AUTO, value = "concat_id")
@ApiModelProperty("主表id") @ApiModelProperty("主表id")
private Long concatId; private Long concatId;
@ -36,16 +34,16 @@ public class UnitOtherConcatJyPo extends BaseClass implements Serializable {
@ApiModelProperty("资产id") @ApiModelProperty("资产id")
private Long assetId; private Long assetId;
@ApiModelProperty("其他联系人姓名") @ApiModelProperty("其他联系人姓名")
private String qtlxrxm; private String qtlxrxm;
@ApiModelProperty("其他联系人联系方式") @ApiModelProperty("其他联系人联系方式")
private String qtlxrlxfs; private String qtlxrlxfs;
@ApiModelProperty("其他联系人邮箱") @ApiModelProperty("其他联系人邮箱")
private String qtlxryx; private String qtlxryx;
@ApiModelProperty("其他联系人职务职称") @ApiModelProperty("其他联系人职务职称")
private String qtlxrzwzc; private String qtlxrzwzc;

@ -30,6 +30,13 @@ public class AssestTaskXqRequest {
@ApiModelProperty("单位名称") @ApiModelProperty("单位名称")
private String dwmc; private String dwmc;
/**
*
*/
@ApiModelProperty("系统名称")
private String xtmc;
/** /**
* 01345 * 01345
*/ */

@ -1,9 +1,12 @@
package com.ruoyi.tc.entity.request; package com.ruoyi.tc.entity.request;
import com.ruoyi.tc.entity.po.*;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.Valid;
/** /**
* @author dong * @author dong
* @since 2024/11/20 16:29 * @since 2024/11/20 16:29
@ -44,7 +47,6 @@ public class AssetCurrentShRequest {
@ApiModelProperty("资产id") @ApiModelProperty("资产id")
private Integer assetId; private Integer assetId;
/** /**
* *
*/ */
@ -57,6 +59,39 @@ public class AssetCurrentShRequest {
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废") @ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
private Integer status; private Integer status;
/**
* app
*/
@ApiModelProperty("app")
@Valid
private AssetAppCpPo assetAppCpPo;
/**
* web
*/
@ApiModelProperty("web")
@Valid
private AssetCurrentCpPo assetCurrentCpPo;
/**
*
*/
@ApiModelProperty("小程序")
@Valid
private AssetMiniProgramsCpPo assetMiniProgramsCpPo;
/**
*
*/
@ApiModelProperty("公众号")
@Valid
private AssetOfficialAccountCpPo assetOfficialAccountCpPo;
/**
*
*/
@ApiModelProperty("邮件")
@Valid
private AssetEmailCpPo assetEmailCpPo;
} }

@ -1,8 +1,12 @@
package com.ruoyi.tc.entity.response; package com.ruoyi.tc.entity.response;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
/** /**
* @author dong * @author dong
@ -54,4 +58,13 @@ public class AssestTaskXqresponse {
*/ */
@ApiModelProperty("不通过原因") @ApiModelProperty("不通过原因")
private String btgyy; private String btgyy;
/**
*
*/
@ApiModelProperty("单位核查时间")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateTime;
} }

@ -28,7 +28,7 @@ public interface AssetAppCpMapper extends BaseMapper<AssetAppCpPo> {
* @param taskId id * @param taskId id
*/ */
@Delete("delete from asset_app_cp where asset_id=#{assetId} and task_id =#{taskId} ") @Delete("delete from asset_app_cp where asset_id=#{assetId} and task_id =#{taskId} ")
void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") int taskId); void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") Integer taskId);
/** /**
@ -61,5 +61,9 @@ public interface AssetAppCpMapper extends BaseMapper<AssetAppCpPo> {
*/ */
@Select("select * from asset_app_cp where asset_id=#{assetId} and task_id =#{taskId} ") @Select("select * from asset_app_cp where asset_id=#{assetId} and task_id =#{taskId} ")
AssetAppCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId")Integer taskId); AssetAppCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId")Integer taskId);
@Select(" select * from asset_app_cp where asset_id = #{id} ")
AssetAppCpPo findDwmc(Long id);
} }

@ -2,6 +2,7 @@ package com.ruoyi.tc.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.tc.entity.AssetCurrent;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo; import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest; import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Delete;
@ -57,5 +58,9 @@ public interface AssetCurrentCpMapper extends BaseMapper<AssetCurrentCpPo> {
AssetCurrentCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId); AssetCurrentCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId);
@Select(" select * from asset_current_cp where id = #{id} ")
AssetCurrentCpPo findDwmc(Long id);
} }

@ -23,7 +23,7 @@ public interface AssetEmailCpMapper extends BaseMapper<AssetEmailCpPo> {
* @param taskId id * @param taskId id
*/ */
@Delete("delete from asset_email_cp where asset_id=#{assetId} and task_id =#{taskId} ") @Delete("delete from asset_email_cp where asset_id=#{assetId} and task_id =#{taskId} ")
void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") int taskId); void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") Integer taskId);
@ -60,5 +60,16 @@ public interface AssetEmailCpMapper extends BaseMapper<AssetEmailCpPo> {
*/ */
@Select("select * from asset_email_cp where asset_id=#{assetId} and task_id =#{taskId} ") @Select("select * from asset_email_cp where asset_id=#{assetId} and task_id =#{taskId} ")
AssetEmailCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId")Integer taskId); AssetEmailCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId")Integer taskId);
/**
* id
*
* @param id
* @return
*/
@Select(" select * from asset_email_cp where asset_id = #{id} ")
AssetEmailCpPo findDwmc(Long id);
} }

@ -1,6 +1,7 @@
package com.ruoyi.tc.mapper; package com.ruoyi.tc.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo; import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
@ -25,7 +26,7 @@ public interface AssetMiniProgramsCpMapper extends BaseMapper<AssetMiniProgramsC
* @param taskId id * @param taskId id
*/ */
@Delete("delete from asset_mini_programs_cp where asset_id=#{assetId} and task_id =#{taskId} ") @Delete("delete from asset_mini_programs_cp where asset_id=#{assetId} and task_id =#{taskId} ")
void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") int taskId); void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") Integer taskId);
@ -62,5 +63,16 @@ public interface AssetMiniProgramsCpMapper extends BaseMapper<AssetMiniProgramsC
@Select("select * from asset_mini_programs_cp where asset_id=#{assetId} and task_id =#{taskId}") @Select("select * from asset_mini_programs_cp where asset_id=#{assetId} and task_id =#{taskId}")
AssetMiniProgramsCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId); AssetMiniProgramsCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId);
/**
* id
*
* @param id
* @return
*/
@Select(" select * from asset_mini_programs_cp where asset_id = #{id} ")
AssetMiniProgramsCpPo findDwmc(Long id);
} }

@ -2,6 +2,7 @@ package com.ruoyi.tc.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.tc.entity.po.AssetAppCpPo; import com.ruoyi.tc.entity.po.AssetAppCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo; import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo;
import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
@ -25,7 +26,7 @@ public interface AssetOfficialAccountCpMapper extends BaseMapper<AssetOfficialAc
* @param taskId id * @param taskId id
*/ */
@Delete("delete from asset_official_account_cp where asset_id=#{assetId} and task_id =#{taskId} ") @Delete("delete from asset_official_account_cp where asset_id=#{assetId} and task_id =#{taskId} ")
void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") int taskId); void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") Integer taskId);
/** /**
@ -61,5 +62,15 @@ public interface AssetOfficialAccountCpMapper extends BaseMapper<AssetOfficialAc
*/ */
@Select("select * from asset_official_account_cp where asset_id=#{assetId} and task_id =#{taskId} ") @Select("select * from asset_official_account_cp where asset_id=#{assetId} and task_id =#{taskId} ")
AssetOfficialAccountCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId); AssetOfficialAccountCpPo findByassetIdandTaskId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId);
/**
* id
*
* @param id
* @return
*/
@Select(" select * from asset_official_account_cp where asset_id = #{id} ")
AssetOfficialAccountCpPo findDwmc(Long id);
} }

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.tc.entity.AssetTask; import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo; import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.request.AssestTaskXqRequest; import com.ruoyi.tc.entity.request.AssestTaskXqRequest;
import com.ruoyi.tc.entity.request.AssetCurrentShRequest; import com.ruoyi.tc.entity.request.AssetCurrentShRequest;
import com.ruoyi.tc.entity.request.AssetTaskPageRequest; import com.ruoyi.tc.entity.request.AssetTaskPageRequest;
@ -300,6 +301,17 @@ public interface AssetTaskMapper extends BaseMapper<AssetTask> {
* @param dwmc * @param dwmc
* @return * @return
*/ */
List<AssetTask> findByDwmc(@Param("dwmc") String dwmc); AssetTask findByDwmc(@Param("dwmc") String dwmc);
/**
* id
* @param taskId
* @return
*/
AssetTask findBytaskId(@Param("taskId") Integer taskId);
} }

@ -22,7 +22,7 @@ public interface AssetAppCpService extends IService<AssetAppCpPo> {
* @param assetId id * @param assetId id
* @param taskId id * @param taskId id
*/ */
void deletByAssetIdandTaskId(Long assetId, int taskId); void deletByAssetIdandTaskId(Long assetId, Integer taskId);
/** /**
@ -54,4 +54,12 @@ public interface AssetAppCpService extends IService<AssetAppCpPo> {
*/ */
AssetAppCpPo findByassetIdandTaskId(Integer assetId, Integer taskId); AssetAppCpPo findByassetIdandTaskId(Integer assetId, Integer taskId);
/**
* id
*
* @param id
* @return
*/
AssetAppCpPo findDwmc(Long id);
} }

@ -2,6 +2,7 @@ package com.ruoyi.tc.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.AssetCurrent;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo; import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest; import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
@ -55,12 +56,13 @@ public interface AssetCurrentCpService extends IService<AssetCurrentCpPo> {
AssetCurrentCpPo findByassetIdandTaskId(Integer assetId, Integer taskId); AssetCurrentCpPo findByassetIdandTaskId(Integer assetId, Integer taskId);
/** /**
* id * id
*
* @param id * @param id
* @return * @return
*/ */
// Integer findByAssetId(Long id); AssetCurrentCpPo findDwmc(Long id);
} }

@ -49,6 +49,7 @@ public interface AssetCurrentService extends IService<AssetCurrent> {
/** /**
* *
*
* @param idList * @param idList
*/ */
void deleteIdList(List<Long> idList); void deleteIdList(List<Long> idList);

@ -1,6 +1,7 @@
package com.ruoyi.tc.service; package com.ruoyi.tc.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.po.AssetEmailCpPo; import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import java.util.List; import java.util.List;
@ -20,7 +21,7 @@ public interface AssetEmailCpService extends IService<AssetEmailCpPo> {
* @param assetId id * @param assetId id
* @param taskId id * @param taskId id
*/ */
void deletByAssetIdandTaskId(Long assetId, int taskId); void deletByAssetIdandTaskId(Long assetId, Integer taskId);
/** /**
@ -52,4 +53,13 @@ public interface AssetEmailCpService extends IService<AssetEmailCpPo> {
*/ */
AssetEmailCpPo findByassetIdandTaskId(Integer assetId, Integer taskId); AssetEmailCpPo findByassetIdandTaskId(Integer assetId, Integer taskId);
/**
* id
*
* @param id
* @return
*/
AssetEmailCpPo findDwmc(Long id);
} }

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.AssetApp; import com.ruoyi.tc.entity.AssetApp;
import com.ruoyi.tc.entity.AssetEmail; import com.ruoyi.tc.entity.AssetEmail;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.request.AssetAppPageRequest; import com.ruoyi.tc.entity.request.AssetAppPageRequest;
import com.ruoyi.tc.entity.request.AssetEmailPageRequest; import com.ruoyi.tc.entity.request.AssetEmailPageRequest;

@ -1,6 +1,7 @@
package com.ruoyi.tc.service; package com.ruoyi.tc.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo; import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import java.util.List; import java.util.List;
@ -20,7 +21,7 @@ public interface AssetMiniProgramsCpService extends IService<AssetMiniProgramsCp
* @param assetId id * @param assetId id
* @param taskId id * @param taskId id
*/ */
void deletByAssetIdandTaskId(Long assetId, int taskId); void deletByAssetIdandTaskId(Long assetId, Integer taskId);
/** /**
@ -51,4 +52,11 @@ public interface AssetMiniProgramsCpService extends IService<AssetMiniProgramsCp
AssetMiniProgramsCpPo findByassetIdandTaskId(Integer assetId, Integer taskId); AssetMiniProgramsCpPo findByassetIdandTaskId(Integer assetId, Integer taskId);
/**
* id
*
* @param id
* @return
*/
AssetMiniProgramsCpPo findDwmc(Long id);
} }

@ -1,6 +1,7 @@
package com.ruoyi.tc.service; package com.ruoyi.tc.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo; import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo;
import java.util.List; import java.util.List;
@ -19,7 +20,7 @@ public interface AssetOfficialAccountCpService extends IService<AssetOfficialAcc
* @param assetId id * @param assetId id
* @param taskId id * @param taskId id
*/ */
void deletByAssetIdandTaskId(Long assetId, int taskId); void deletByAssetIdandTaskId(Long assetId, Integer taskId);
/** /**
@ -48,4 +49,13 @@ public interface AssetOfficialAccountCpService extends IService<AssetOfficialAcc
* @return * @return
*/ */
AssetOfficialAccountCpPo findByassetIdandTaskId(Integer assetId, Integer taskId); AssetOfficialAccountCpPo findByassetIdandTaskId(Integer assetId, Integer taskId);
/**
* id
*
* @param id
* @return
*/
AssetOfficialAccountCpPo findDwmc(Long id);
} }

@ -12,6 +12,7 @@ import com.ruoyi.tc.entity.response.AssestTaskXqresponse;
import com.ruoyi.tc.entity.response.AssetTaskResponse; import com.ruoyi.tc.entity.response.AssetTaskResponse;
import com.ruoyi.tc.entity.response.AssetdwHcBlResponse; import com.ruoyi.tc.entity.response.AssetdwHcBlResponse;
import com.ruoyi.tc.entity.response.AssetdwHcResponse; import com.ruoyi.tc.entity.response.AssetdwHcResponse;
import io.swagger.models.auth.In;
import java.util.List; import java.util.List;
@ -186,5 +187,13 @@ public interface AssetTaskService extends IService<AssetTask> {
* @param dwmc * @param dwmc
* @return * @return
*/ */
List<AssetTask> findByDwmc(String dwmc); AssetTask findByDwmc(String dwmc);
/**
* id
* @param taskId
* @return
*/
AssetTask findByTaskId(Integer taskId);
} }

@ -26,7 +26,7 @@ public class AssetAppCpServiceImpl extends ServiceImpl<AssetAppCpMapper, AssetAp
private AssetAppCpMapper assetAppCpMapper; private AssetAppCpMapper assetAppCpMapper;
@Override @Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) { public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetAppCpMapper.deletByAssetIdandTaskId(assetId, taskId); assetAppCpMapper.deletByAssetIdandTaskId(assetId, taskId);
@ -46,6 +46,9 @@ public class AssetAppCpServiceImpl extends ServiceImpl<AssetAppCpMapper, AssetAp
public AssetAppCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) { public AssetAppCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) {
return baseMapper.findByassetIdandTaskId(assetId,taskId); return baseMapper.findByassetIdandTaskId(assetId,taskId);
} }
@Override
public AssetAppCpPo findDwmc(Long id) {
return baseMapper.findDwmc(id);
}
} }

@ -9,6 +9,7 @@ import com.ruoyi.tc.entity.AssetApp;
import com.ruoyi.tc.entity.AssetTask; import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.Unit; import com.ruoyi.tc.entity.Unit;
import com.ruoyi.tc.entity.po.AssetAppCpPo; import com.ruoyi.tc.entity.po.AssetAppCpPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo;
import com.ruoyi.tc.entity.request.AssetAppPageRequest; import com.ruoyi.tc.entity.request.AssetAppPageRequest;
import com.ruoyi.tc.mapper.AssetAppMapper; import com.ruoyi.tc.mapper.AssetAppMapper;
import com.ruoyi.tc.service.AssetAppCpService; import com.ruoyi.tc.service.AssetAppCpService;
@ -142,6 +143,19 @@ public class AssetAppServiceImpl extends ServiceImpl<AssetAppMapper, AssetApp> i
x.setAuditState(auditState); x.setAuditState(auditState);
assetAppCpService.updateById(x); assetAppCpService.updateById(x);
}); });
//根据修改的单位名称查询任务表中是否有此单位的任务如果有修改资产中的任务id如果没有删除
AssetTask assetTask = assetTaskService.findByDwmc(assetApp.getAppName());
if (assetTask != null) {
assetAppCpService.deletByAssetIdandTaskId(assetApp.getId(), null);
} else {
//根据资产id查询旧资产
AssetAppCpPo assetAppCpPo = assetAppCpService.findDwmc(assetApp.getId());
assetAppCpPo.setAppName(assetApp.getAppName());
assetAppCpPo.setTaskId(assetTask.getId());
//修改
assetAppCpService.updateById(assetAppCpPo);
}
return true; return true;
} }

@ -2,6 +2,7 @@ package com.ruoyi.tc.service.impl;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.tc.entity.AssetCurrent;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo; import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest; import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.mapper.AssetCurrentCpMapper; import com.ruoyi.tc.mapper.AssetCurrentCpMapper;
@ -43,5 +44,13 @@ public class AssetCurrentCpServiceImpl extends ServiceImpl<AssetCurrentCpMapper,
public AssetCurrentCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) { public AssetCurrentCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) {
return assetCurrentCpMapper.findByassetIdandTaskId(assetId,taskId); return assetCurrentCpMapper.findByassetIdandTaskId(assetId,taskId);
} }
@Override
public AssetCurrentCpPo findDwmc(Long id) {
return baseMapper.findDwmc(id);
}
} }

@ -118,5 +118,7 @@ public class AssetCurrentServiceImpl extends ServiceImpl<AssetCurrentMapper, Ass
public Integer findBydwmc(String part) { public Integer findBydwmc(String part) {
return baseMapper.findBydwmc(part); return baseMapper.findBydwmc(part);
} }
} }

@ -29,7 +29,7 @@ public class AssetEmailCpServiceImpl extends ServiceImpl<AssetEmailCpMapper, Ass
@Resource @Resource
private AssetEmailCpMapper assetEmailCpMapper; private AssetEmailCpMapper assetEmailCpMapper;
@Override @Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) { public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetEmailCpMapper.deletByAssetIdandTaskId(assetId,taskId); assetEmailCpMapper.deletByAssetIdandTaskId(assetId,taskId);
@ -50,4 +50,9 @@ public class AssetEmailCpServiceImpl extends ServiceImpl<AssetEmailCpMapper, Ass
public AssetEmailCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) { public AssetEmailCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) {
return assetEmailCpMapper.findByassetIdandTaskId(assetId,taskId); return assetEmailCpMapper.findByassetIdandTaskId(assetId,taskId);
} }
@Override
public AssetEmailCpPo findDwmc(Long id) {
return assetEmailCpMapper.findDwmc(id);
}
} }

@ -5,9 +5,11 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.exception.ServiceException; import com.ruoyi.common.exception.ServiceException;
import com.ruoyi.tc.entity.AssetCurrent;
import com.ruoyi.tc.entity.AssetEmail; import com.ruoyi.tc.entity.AssetEmail;
import com.ruoyi.tc.entity.AssetTask; import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.Unit; import com.ruoyi.tc.entity.Unit;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.po.AssetEmailCpPo; import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import com.ruoyi.tc.entity.request.AssetEmailPageRequest; import com.ruoyi.tc.entity.request.AssetEmailPageRequest;
import com.ruoyi.tc.mapper.AssetEmailMapper; import com.ruoyi.tc.mapper.AssetEmailMapper;
@ -142,6 +144,21 @@ public class AssetEmailServiceImpl extends ServiceImpl<AssetEmailMapper, AssetEm
x.setAuditState(auditState); x.setAuditState(auditState);
assetEmailCpService.updateById(x); assetEmailCpService.updateById(x);
}); });
//根据修改的单位名称查询任务表中是否有此单位的任务如果有修改资产中的任务id如果没有删除
AssetTask assetTask = assetTaskService.findByDwmc(assetEmail.getDzyxhz());
if (assetTask != null) {
assetEmailCpService.deletByAssetIdandTaskId(assetEmail.getId(), null);
} else {
//根据资产id查询旧资产
AssetEmailCpPo assetEmailCpPo = assetEmailCpService.findDwmc(assetEmail.getId());
assetEmailCpPo.setDzyxhz(assetEmail.getDzyxhz());
assetEmailCpPo.setTaskId(assetTask.getId());
//修改
assetEmailCpService.updateById(assetEmailCpPo);
}
return true; return true;
} }
} }

@ -21,7 +21,7 @@ public class AssetMiniProgramsCpServiceImpl extends ServiceImpl<AssetMiniProgram
@Resource @Resource
private AssetMiniProgramsCpMapper assetMiniProgramsCpMapper; private AssetMiniProgramsCpMapper assetMiniProgramsCpMapper;
@Override @Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) { public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetMiniProgramsCpMapper.deletByAssetIdandTaskId(assetId,taskId); assetMiniProgramsCpMapper.deletByAssetIdandTaskId(assetId,taskId);
@ -41,4 +41,10 @@ public class AssetMiniProgramsCpServiceImpl extends ServiceImpl<AssetMiniProgram
public AssetMiniProgramsCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) { public AssetMiniProgramsCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) {
return assetMiniProgramsCpMapper.findByassetIdandTaskId(assetId,taskId); return assetMiniProgramsCpMapper.findByassetIdandTaskId(assetId,taskId);
} }
@Override
public AssetMiniProgramsCpPo findDwmc(Long id) {
return assetMiniProgramsCpMapper.findDwmc(id);
}
} }

@ -6,12 +6,15 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.exception.ServiceException; import com.ruoyi.common.exception.ServiceException;
import com.ruoyi.tc.entity.AssetMiniPrograms; import com.ruoyi.tc.entity.AssetMiniPrograms;
import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.Unit; import com.ruoyi.tc.entity.Unit;
import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo; import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.request.AssetMiniProgramsPageRequest; import com.ruoyi.tc.entity.request.AssetMiniProgramsPageRequest;
import com.ruoyi.tc.mapper.AssetMiniProgramsMapper; import com.ruoyi.tc.mapper.AssetMiniProgramsMapper;
import com.ruoyi.tc.service.AssetMiniProgramsCpService; import com.ruoyi.tc.service.AssetMiniProgramsCpService;
import com.ruoyi.tc.service.AssetMiniProgramsService; import com.ruoyi.tc.service.AssetMiniProgramsService;
import com.ruoyi.tc.service.AssetTaskService;
import com.ruoyi.tc.service.UnitService; import com.ruoyi.tc.service.UnitService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@ -26,7 +29,8 @@ import java.util.List;
*/ */
@Service("assetMiniProgramsService") @Service("assetMiniProgramsService")
public class AssetMiniProgramsServiceImpl extends ServiceImpl<AssetMiniProgramsMapper, AssetMiniPrograms> implements AssetMiniProgramsService { public class AssetMiniProgramsServiceImpl extends ServiceImpl<AssetMiniProgramsMapper, AssetMiniPrograms> implements AssetMiniProgramsService {
@Resource
private AssetTaskService assetTaskService;
@Resource @Resource
private AssetMiniProgramsCpService assetMiniProgramsCpService; private AssetMiniProgramsCpService assetMiniProgramsCpService;
@ -130,6 +134,18 @@ public class AssetMiniProgramsServiceImpl extends ServiceImpl<AssetMiniProgramsM
x.setAuditState(auditState); x.setAuditState(auditState);
assetMiniProgramsCpService.updateById(x); assetMiniProgramsCpService.updateById(x);
}); });
//根据修改的单位名称查询任务表中是否有此单位的任务如果有修改资产中的任务id如果没有删除
AssetTask assetTask = assetTaskService.findByDwmc(assetMiniPrograms.getXcxmc());
if (assetTask != null) {
assetMiniProgramsCpService.deletByAssetIdandTaskId(assetMiniPrograms.getId(), null);
} else {
//根据资产id查询旧资产
AssetMiniProgramsCpPo assetMiniProgramsCpPo = assetMiniProgramsCpService.findDwmc(assetMiniPrograms.getId());
assetMiniProgramsCpPo.setXcxmc(assetMiniPrograms.getXcxmc());
assetMiniProgramsCpPo.setTaskId(assetTask.getId());
//修改
assetMiniProgramsCpService.updateById(assetMiniProgramsCpPo);
}
return true; return true;
} }

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.tc.entity.AssetOfficialAccount; import com.ruoyi.tc.entity.AssetOfficialAccount;
import com.ruoyi.tc.entity.po.AssetAppCpPo; import com.ruoyi.tc.entity.po.AssetAppCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo; import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo;
import com.ruoyi.tc.entity.request.AssetOfficialAccountPageRequest; import com.ruoyi.tc.entity.request.AssetOfficialAccountPageRequest;
import com.ruoyi.tc.mapper.AssetMiniProgramsCpMapper; import com.ruoyi.tc.mapper.AssetMiniProgramsCpMapper;
@ -29,7 +30,7 @@ public class AssetOfficialAccountCpServiceImpl extends ServiceImpl<AssetOfficial
@Resource @Resource
private AssetOfficialAccountCpMapper assetOfficialAccountCpMapper; private AssetOfficialAccountCpMapper assetOfficialAccountCpMapper;
@Override @Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) { public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetOfficialAccountCpMapper.deletByAssetIdandTaskId(assetId,taskId); assetOfficialAccountCpMapper.deletByAssetIdandTaskId(assetId,taskId);
@ -49,4 +50,10 @@ public class AssetOfficialAccountCpServiceImpl extends ServiceImpl<AssetOfficial
public AssetOfficialAccountCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) { public AssetOfficialAccountCpPo findByassetIdandTaskId(Integer assetId, Integer taskId) {
return assetOfficialAccountCpMapper.findByassetIdandTaskId(assetId,taskId); return assetOfficialAccountCpMapper.findByassetIdandTaskId(assetId,taskId);
} }
@Override
public AssetOfficialAccountCpPo findDwmc(Long id) {
return assetOfficialAccountCpMapper.findDwmc(id);
}
} }

@ -6,12 +6,15 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.exception.ServiceException; import com.ruoyi.common.exception.ServiceException;
import com.ruoyi.tc.entity.AssetOfficialAccount; import com.ruoyi.tc.entity.AssetOfficialAccount;
import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.Unit; import com.ruoyi.tc.entity.Unit;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo; import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo;
import com.ruoyi.tc.entity.request.AssetOfficialAccountPageRequest; import com.ruoyi.tc.entity.request.AssetOfficialAccountPageRequest;
import com.ruoyi.tc.mapper.AssetOfficialAccountMapper; import com.ruoyi.tc.mapper.AssetOfficialAccountMapper;
import com.ruoyi.tc.service.AssetOfficialAccountCpService; import com.ruoyi.tc.service.AssetOfficialAccountCpService;
import com.ruoyi.tc.service.AssetOfficialAccountService; import com.ruoyi.tc.service.AssetOfficialAccountService;
import com.ruoyi.tc.service.AssetTaskService;
import com.ruoyi.tc.service.UnitService; import com.ruoyi.tc.service.UnitService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@ -26,7 +29,8 @@ import java.util.List;
*/ */
@Service("assetOfficialAccountService") @Service("assetOfficialAccountService")
public class AssetOfficialAccountServiceImpl extends ServiceImpl<AssetOfficialAccountMapper, AssetOfficialAccount> implements AssetOfficialAccountService { public class AssetOfficialAccountServiceImpl extends ServiceImpl<AssetOfficialAccountMapper, AssetOfficialAccount> implements AssetOfficialAccountService {
@Resource
private AssetTaskService assetTaskService;
@Resource @Resource
private UnitService unitService; private UnitService unitService;
@ -162,6 +166,19 @@ public class AssetOfficialAccountServiceImpl extends ServiceImpl<AssetOfficialAc
x.setAuditState(auditState); x.setAuditState(auditState);
assetOfficialAccountCpService.updateById(x); assetOfficialAccountCpService.updateById(x);
}); });
//根据修改的单位名称查询任务表中是否有此单位的任务如果有修改资产中的任务id如果没有删除
AssetTask assetTask = assetTaskService.findByDwmc(assetOfficialAccount.getGzhmc());
if (assetTask != null) {
assetOfficialAccountCpService.deletByAssetIdandTaskId(assetOfficialAccount.getId(), null);
} else {
//根据资产id查询旧资产
AssetOfficialAccountCpPo assetOfficialAccountCpPo = assetOfficialAccountCpService.findDwmc(assetOfficialAccount.getId());
assetOfficialAccountCpPo.setGzhmc(assetOfficialAccount.getGzhmc());
assetOfficialAccountCpPo.setTaskId(assetTask.getId());
//修改
assetOfficialAccountCpService.updateById(assetOfficialAccountCpPo);
}
return true; return true;
} }

@ -17,13 +17,10 @@ import com.ruoyi.tc.service.*;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.time.LocalDate;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter; import java.time.format.DateTimeFormatter;
import java.util.ArrayList; import java.util.*;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors; import java.util.stream.Collectors;
/** /**
@ -399,7 +396,21 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
QueryWrapper<AssetOfficialAccountCpPo> queryWrapper = new QueryWrapper<>(); QueryWrapper<AssetOfficialAccountCpPo> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("asset_id", assetId); queryWrapper.eq("asset_id", assetId);
queryWrapper.eq("task_id", taskId); queryWrapper.eq("task_id", taskId);
return assetOfficialAccountCpService.getOne(queryWrapper);
AssetOfficialAccountCpPo byId = assetOfficialAccountCpService.getOne(queryWrapper);
List<AssetOfficialAccountMenu> a1 = new ArrayList<>();
String[] s1 = byId.getCdmc().split("\\|");
String[] s2 = byId.getCdlj().split("\\|");
String[] s3 = byId.getCdlx().split("\\|");
for (int i = 0; i < s1.length; i++) {
AssetOfficialAccountMenu as = new AssetOfficialAccountMenu();
as.setCdmc(s1[i]);
as.setCdlj(s2[i]);
as.setCdlx(s3[i]);
a1.add(as);
}
byId.setCdList(a1);
return byId;
} }
@Override @Override
@ -444,37 +455,149 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
public int sh(AssetCurrentShRequest req) { public int sh(AssetCurrentShRequest req) {
//根据taskid获取当前任务的count数量 //根据taskid获取当前任务的count数量
AssetTask assetTask = assetTaskDao.getByTaskId(req.getTaskId()); AssetTask assetTask = assetTaskDao.getByTaskId(req.getTaskId());
// 获取当前时间
LocalDateTime localDateTime = LocalDateTime.now();
// 转换为 Date
Date date = Date.from(localDateTime.atZone(ZoneId.systemDefault()).toInstant());
if (req.getType() == 0) { if (req.getType() == 0) {
//web资产 //web资产
//是否超期 //是否超期
ifCq(req, assetTask); ifCq(req, assetTask);
//创建任务流程 //创建任务流程
getTaskStatus(req); getTaskStatus(req);
assetTaskDao.sh(req); if (req.getBtgyy()!=null){
assetTaskDao.sh(req);
}else{
//根据资产id和任务id删除五张表数据
assetCurrentCpService.deletByAssetIdandTaskId(req.getAssetCurrentCpPo().getId(), req.getAssetCurrentCpPo().getTaskId());
assetBusinessFormCpService.deletByAssetIdandTaskId(req.getAssetCurrentCpPo().getId(), req.getAssetCurrentCpPo().getTaskId());
assetSupplyChainCpService.deletByAssetIdandTaskId(req.getAssetCurrentCpPo().getId(), req.getAssetCurrentCpPo().getTaskId());
unitOtherConcatCpService.deletByAssetIdandTaskId(req.getAssetCurrentCpPo().getId(), req.getAssetCurrentCpPo().getTaskId());
assetBasicNetworkCpService.deletByAssetIdandTaskId(req.getAssetCurrentCpPo().getId(), req.getAssetCurrentCpPo().getTaskId());
StringBuilder a = new StringBuilder();
if (!req.getAssetCurrentCpPo().getGlymList().isEmpty()) {
req.getAssetCurrentCpPo().getGlymList().forEach(x -> {
if (!Objects.equals(x.getKey(), "") && x.getKey() != null) {
a.append(x.getKey());
a.append(",");
}
});
}
req.getAssetCurrentCpPo().setGlym(a.toString());
StringBuilder b = new StringBuilder();
if (!req.getAssetCurrentCpPo().getGlIpList().isEmpty()) {
req.getAssetCurrentCpPo().getGlIpList().forEach(x -> {
if (!Objects.equals(x.getKey(), "") && x.getKey() != null) {
b.append(x.getKey());
b.append(",");
}
});
}
req.getAssetCurrentCpPo().setGlIp(b.toString());
req.getAssetCurrentCpPo().setStatus(req.getStatus());
// 设置更新时间
req.getAssetCurrentCpPo().setUpdateTime(date);
assetCurrentCpService.save(req.getAssetCurrentCpPo());
//新增新监管业务形态
if (req.getAssetCurrentCpPo().getXjgywxt() != null) {
req.getAssetCurrentCpPo().getXjgywxt().setAssetId(req.getAssetCurrentCpPo().getId());
req.getAssetCurrentCpPo().getXjgywxt().setTaskId(req.getAssetCurrentCpPo().getTaskId());
assetBusinessFormCpService.save(req.getAssetCurrentCpPo().getXjgywxt());
}
if (!req.getAssetCurrentCpPo().getGylxxList().isEmpty()) {
for (AssetSupplyChainCpPo items : req.getAssetCurrentCpPo().getGylxxList()) {
items.setAssetId(req.getAssetCurrentCpPo().getId());
items.setTaskId(req.getAssetCurrentCpPo().getTaskId());
}
//新增供应链
assetSupplyChainCpService.saveBatch(req.getAssetCurrentCpPo().getGylxxList());
}
if (!req.getAssetCurrentCpPo().getJcwlList().isEmpty()) {
for (AssetBasicNetworkCpPo items : req.getAssetCurrentCpPo().getJcwlList()) {
items.setAssetId(req.getAssetCurrentCpPo().getId());
items.setTaskId(req.getAssetCurrentCpPo().getTaskId());
}
//新增基础网络
assetBasicNetworkCpService.saveBatch(req.getAssetCurrentCpPo().getJcwlList());
}
if (!req.getAssetCurrentCpPo().getOtherConcat().isEmpty()) {
for (UnitOtherConcatCpPo items : req.getAssetCurrentCpPo().getOtherConcat()) {
items.setAssetId(req.getAssetCurrentCpPo().getId());
items.setTaskId(req.getAssetCurrentCpPo().getTaskId());
}
//新增其他联系人
unitOtherConcatCpService.saveBatch(req.getAssetCurrentCpPo().getOtherConcat());
}
}
} else if (req.getType() == 1) { } else if (req.getType() == 1) {
//小程序资产 //小程序资产
//创建任务流程 //创建任务流程
ifCq(req, assetTask); ifCq(req, assetTask);
getTaskStatus(req); getTaskStatus(req);
assetTaskDao.xcxsh(req); if (req.getBtgyy()!=null){
assetTaskDao.xcxsh(req);
}else {
req.getAssetMiniProgramsCpPo().setStatus(req.getStatus());
req.getAssetMiniProgramsCpPo().setUpdateTime(date);
assetMiniProgramsCpService.updateById(req.getAssetMiniProgramsCpPo());
}
} else if (req.getType() == 2) { } else if (req.getType() == 2) {
//公众号资产 //公众号资产
//创建任务流程 //创建任务流程
ifCq(req, assetTask); ifCq(req, assetTask);
getTaskStatus(req); getTaskStatus(req);
assetTaskDao.gzhsh(req); if (req.getBtgyy()!=null){
assetTaskDao.gzhsh(req);
}else {
if (req.getAssetOfficialAccountCpPo().getCdList() != null && !req.getAssetOfficialAccountCpPo().getCdList().isEmpty()) {
StringBuilder a = new StringBuilder();
StringBuilder b = new StringBuilder();
StringBuilder c = new StringBuilder();
req.getAssetOfficialAccountCpPo().getCdList().forEach(x -> {
a.append(x.getCdmc()).append("|");
b.append(x.getCdlj()).append("|");
c.append(x.getCdlx()).append("|");
});
req.getAssetOfficialAccountCpPo().setCdmc(a.toString());
req.getAssetOfficialAccountCpPo().setCdlj(b.toString());
req.getAssetOfficialAccountCpPo().setCdlx(c.toString());
}
req.getAssetOfficialAccountCpPo().setStatus(req.getStatus());
req.getAssetOfficialAccountCpPo().setUpdateTime(date);
assetOfficialAccountCpService.updateById(req.getAssetOfficialAccountCpPo());
}
} else if (req.getType() == 3) { } else if (req.getType() == 3) {
//电子邮件 //电子邮件
//创建任务流程 //创建任务流程
ifCq(req, assetTask); ifCq(req, assetTask);
getTaskStatus(req); getTaskStatus(req);
assetTaskDao.emailsh(req); if (req.getBtgyy()!=null){
assetTaskDao.emailsh(req);
}else {
req.getAssetEmailCpPo().setStatus(req.getStatus());
req.getAssetEmailCpPo().setUpdateTime(date);
assetEmailCpService.updateById(req.getAssetEmailCpPo());
}
} else if (req.getType() == 4) { } else if (req.getType() == 4) {
//app //app
//创建任务流程 //创建任务流程
ifCq(req, assetTask); ifCq(req, assetTask);
getTaskStatus(req); getTaskStatus(req);
assetTaskDao.appsh(req);
if (req.getBtgyy()!=null){
assetTaskDao.appsh(req);
}else{
req.getAssetAppCpPo().setStatus(req.getStatus());
req.getAssetAppCpPo().setUpdateTime(date);
assetAppCpService.updateById(req.getAssetAppCpPo());
}
} }
AssetTask finalTask = assetTaskDao.getByTaskId(req.getTaskId()); AssetTask finalTask = assetTaskDao.getByTaskId(req.getTaskId());
//判断当前任务资产是否全部审核完成 //判断当前任务资产是否全部审核完成
@ -503,7 +626,7 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
//同步主表数据 web //同步主表数据 web
taskSaveOrDelete(req); taskSaveOrDelete(req);
syb(req); syb(req);
} else if( req.getBtgyy()!=null){ } else if (req.getBtgyy() != null) {
//不通过 状态为1 //不通过 状态为1
finalTask.setTaskStatus(1); finalTask.setTaskStatus(1);
String btgyy = req.getBtgyy(); String btgyy = req.getBtgyy();
@ -667,6 +790,7 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
} }
} }
//当前时间喝任务截至时间比较 //当前时间喝任务截至时间比较
private int extracted(AssetTask assetTask) { private int extracted(AssetTask assetTask) {
int status = 0; int status = 0;
@ -816,15 +940,20 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
} }
@Override @Override
public List<AssetdwHcBlResponse> dwHcBl(AssetdwHcRequest req) { public List<AssetdwHcBlResponse> dwHcBl(AssetdwHcRequest req) {
return assetTaskDao.dwHcBl(req); return assetTaskDao.dwHcBl(req);
} }
@Override @Override
public List<AssetTask> findByDwmc(String dwmc) { public AssetTask findByDwmc(String dwmc) {
return assetTaskDao.findByDwmc(dwmc); return assetTaskDao.findByDwmc(dwmc);
} }
@Override
public AssetTask findByTaskId(Integer taskId) {
return assetTaskDao.findBytaskId(taskId);
}
//创建任务流程 //创建任务流程
private void getTaskStatus(AssetCurrentShRequest req) { private void getTaskStatus(AssetCurrentShRequest req) {
AssetLc assetLc = new AssetLc(); AssetLc assetLc = new AssetLc();

@ -211,6 +211,7 @@
b.xtmc, b.xtmc,
b.dwmc as zcdwmc, b.dwmc as zcdwmc,
b.status, b.status,
b.update_time as updateTime,
b.id , b.id ,
b.task_id, b.task_id,
b.btgyy b.btgyy
@ -237,7 +238,7 @@
and b.xtmc = #{req.xtmc} and b.xtmc = #{req.xtmc}
</if> </if>
</where> </where>
order by FIELD(status,1,0,3,4,5) order by FIELD(status,1,4,3,0,5), b.update_time
</select> </select>
<select id="findBytaskIdandAssestId" resultType="com.ruoyi.tc.entity.po.AssetCurrentCpPo"> <select id="findBytaskIdandAssestId" resultType="com.ruoyi.tc.entity.po.AssetCurrentCpPo">
select * select *
@ -247,12 +248,12 @@
</select> </select>
<select id="dwHc" resultType="com.ruoyi.tc.entity.response.AssetdwHcResponse"> <select id="dwHc" resultType="com.ruoyi.tc.entity.response.AssetdwHcResponse">
select select
h.dwmc,h.task_id,h.latest_create_time,h.task_deadline,h.total,h.checked,h.notChecked,h.dsp,h.shthcs,h.taskStatus h.dwmc,h.task_id,h.latest_create_time,h.task_deadline,h.total,h.checked,h.notChecked,h.dsp,h.shthcs,h.taskStatus,h.checkedRatio
from( from(
SELECT SELECT
s.dwmc, s.dwmc,
s.task_id, s.task_id,
CURRENT_TIMESTAMP AS latest_create_time, -- 使用当前时间 s.latest_create_time, -- 使用当前时间
b.task_deadline, b.task_deadline,
SUM(s.total) AS total, SUM(s.total) AS total,
SUM(s.checked) AS checked, SUM(s.checked) AS checked,
@ -419,7 +420,7 @@
</select> </select>
<select id="findByTaskId" resultType="com.ruoyi.tc.entity.response.AssetTaskStatusResponse"> <select id="findByTaskId" resultType="com.ruoyi.tc.entity.AssetTask">
SELECT SELECT
a.STATUS, a.STATUS,
CASE CASE
@ -451,6 +452,7 @@
b.ssdw as zcdwmc, b.ssdw as zcdwmc,
b.status, b.status,
b.asset_id as id , b.asset_id as id ,
b.update_time as updateTime,
b.task_id, b.task_id,
b.btgyy b.btgyy
from asset_task a from asset_task a
@ -474,13 +476,7 @@
</if> </if>
</where> </where>
ORDER BY order by FIELD(status,1,4,3,0,5), b.update_time
CASE
WHEN b.STATUS = 1 THEN
0 ELSE 1
END,
b.STATUS ASC
</select> </select>
<select id="gzhZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse"> <select id="gzhZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
select select
@ -488,6 +484,7 @@
b.ssdw as zcdwmc, b.ssdw as zcdwmc,
b.status, b.status,
b.asset_id as id , b.asset_id as id ,
b.update_time as updateTime,
b.task_id, b.task_id,
b.btgyy b.btgyy
from asset_task a from asset_task a
@ -510,13 +507,7 @@
and b.gzhmc = #{req.xtmc} and b.gzhmc = #{req.xtmc}
</if> </if>
</where> </where>
ORDER BY order by FIELD(status,1,4,3,0,5), b.update_time
CASE
WHEN b.STATUS = 1 THEN
0 ELSE 1
END,
b.STATUS ASC
</select> </select>
<select id="emailZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse"> <select id="emailZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
select select
@ -524,6 +515,7 @@
b.ssdw as zcdwmc, b.ssdw as zcdwmc,
b.status, b.status,
b.asset_id as id, b.asset_id as id,
b.update_time as updateTime,
b.task_id, b.task_id,
b.btgyy b.btgyy
from asset_task a from asset_task a
@ -546,13 +538,7 @@
and b.dzyxhz = #{req.xtmc} and b.dzyxhz = #{req.xtmc}
</if> </if>
</where> </where>
ORDER BY order by FIELD(status,1,4,3,0,5), b.update_time
CASE
WHEN b.STATUS = 1 THEN
0 ELSE 1
END,
b.STATUS ASC
</select> </select>
<select id="appZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse"> <select id="appZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
select select
@ -560,6 +546,7 @@
b.ssdw as zcdwmc, b.ssdw as zcdwmc,
b.status, b.status,
b.asset_id as id, b.asset_id as id,
b.update_time as updateTime,
b.task_id, b.task_id,
b.btgyy b.btgyy
from asset_task a from asset_task a
@ -582,13 +569,7 @@
and b.app_name = #{req.xtmc} and b.app_name = #{req.xtmc}
</if> </if>
</where> </where>
ORDER BY order by FIELD(status,1,4,3,0,5), b.update_time
CASE
WHEN b.STATUS = 1 THEN
0 ELSE 1
END,
b.STATUS ASC
</select> </select>
<select id="getByTaskId" resultType="com.ruoyi.tc.entity.AssetTask" parameterType="int"> <select id="getByTaskId" resultType="com.ruoyi.tc.entity.AssetTask" parameterType="int">
select * from asset_task where id=#{taskId} select * from asset_task where id=#{taskId}
@ -939,6 +920,9 @@
<select id="findByDwmc" resultType="com.ruoyi.tc.entity.AssetTask" parameterType="java.lang.String"> <select id="findByDwmc" resultType="com.ruoyi.tc.entity.AssetTask" parameterType="java.lang.String">
select * from asset_task where dwmc like concat('%', #{dwmc}, '%') and task_status=1 select * from asset_task where dwmc like concat('%', #{dwmc}, '%') and task_status=1
</select> </select>
<select id="findBytaskId" resultType="com.ruoyi.tc.entity.AssetTask" parameterType="java.lang.Integer">
select * from asset_task where id =#{taskId}
</select>
<update id="xcxsh" <update id="xcxsh"
parameterType="com.ruoyi.tc.entity.request.AssetCurrentShRequest"> parameterType="com.ruoyi.tc.entity.request.AssetCurrentShRequest">
update asset_mini_programs_cp update asset_mini_programs_cp

Loading…
Cancel
Save