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

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 com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.annotation.Log;
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.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.*;
import com.ruoyi.tc.entity.po.*;
import com.ruoyi.tc.entity.request.Acomma;
import com.ruoyi.tc.entity.AssetApp;
import com.ruoyi.tc.entity.AssetTask;
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.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.service.AssetAppCpService;
import com.ruoyi.tc.service.AssetAppJyService;
import com.ruoyi.tc.service.AssetAppService;
import com.ruoyi.tc.service.AssetTaskService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -30,12 +31,8 @@ import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static com.ruoyi.common.core.domain.AjaxResult.success;
/**
* (asset_app)
*
@ -55,6 +52,11 @@ public class AssetAppController extends BaseController {
@Resource
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));
}
//=================================================
/**
*
*/
@ -84,8 +87,8 @@ public class AssetAppController extends BaseController {
@PreAuthorize("@ss.hasAnyRoles('unit')")
@PostMapping("/unitEdit")
public AjaxResult unitEdit(@RequestBody @Valid AssetAppJyPo assetAppJyPo) {
AssetAppJyPo one = assetAppJyService.lambdaQuery().eq(AssetAppJyPo::getAppName,assetAppJyPo.getAppName())
.eq(AssetAppJyPo::getSsdw,assetAppJyPo.getSsdw()).isNull(AssetAppJyPo::getTaskId).one();
AssetAppJyPo one = assetAppJyService.lambdaQuery().eq(AssetAppJyPo::getAppName, assetAppJyPo.getAppName())
.eq(AssetAppJyPo::getSsdw, assetAppJyPo.getSsdw()).isNull(AssetAppJyPo::getTaskId).one();
assetAppJyPo.setAuditState("1");
assetAppJyPo.setAuditYy(null);
if (one != null) {
@ -93,8 +96,8 @@ public class AssetAppController extends BaseController {
assetAppJyPo.setAssetId(one.getAssetId());
assetAppJyService.updateById(assetAppJyPo);
} else {
assetAppJyPo.setAssetId(assetAppService.lambdaQuery().eq(AssetApp::getAppName,assetAppJyPo.getAppName())
.eq(AssetApp::getSsdw,assetAppJyPo.getSsdw()).one().getId());
assetAppJyPo.setAssetId(assetAppService.lambdaQuery().eq(AssetApp::getAppName, assetAppJyPo.getAppName())
.eq(AssetApp::getSsdw, assetAppJyPo.getSsdw()).one().getId());
assetAppJyService.save(assetAppJyPo);
}
return success();
@ -158,7 +161,7 @@ public class AssetAppController extends BaseController {
.isNotNull(AssetAppJyPo::getTaskId)
.ne(AssetAppJyPo::getStatus, 5)
.eq(AssetAppJyPo::getAssetId, byId.getAssetId()).one();
if(one!=null){
if (one != null) {
Integer status = one.getStatus();
Integer taskId = one.getTaskId();
Long appId = one.getAppId();
@ -211,6 +214,19 @@ public class AssetAppController extends BaseController {
@Log(title = "编辑app数据", businessType = BusinessType.UPDATE)
@PutMapping
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));
}
@ -262,13 +278,13 @@ public class AssetAppController extends BaseController {
ExcelUtil<AssetApp> util = new ExcelUtil<>(AssetApp.class);
List<AssetApp> list = util.importExcel(file.getInputStream());
if (list != null) {
list.forEach(x->{
list.forEach(x -> {
AssetApp one = assetAppService.lambdaQuery().eq(AssetApp::getSsdw, x.getSsdw())
.eq(AssetApp::getAppName, x.getAppName()).one();
if(one!=null){
if (one != null) {
x.setId(one.getId());
assetAppService.edit(x);
}else {
} else {
assetAppService.add(x);
}
});

@ -506,6 +506,19 @@ public class AssetCurrentController extends BaseController {
@PreAuthorize("@ss.hasAnyRoles('admin,common')")
@PutMapping
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());
StringBuilder a = new StringBuilder();
@ -652,14 +665,16 @@ public class AssetCurrentController extends BaseController {
}
});
//根据修改的单位名称查询任务表中是否有此单位的任务如果有修改资产中的任务id如果没有删除
List<AssetTask> dwmcList = assetTaskService.findByDwmc(assetCurrent.getDwmc());
if (dwmcList.isEmpty()) {
delete(assetCurrent);
}else{
AssetTask assetTask = assetTaskService.findByDwmc(assetCurrent.getDwmc());
if (assetTask != null) {
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();

@ -12,12 +12,12 @@ import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.AssetApp;
import com.ruoyi.tc.entity.AssetEmail;
import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.po.*;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.entity.request.AssetEmailPageRequest;
import com.ruoyi.tc.service.AssetEmailJyService;
import com.ruoyi.tc.service.AssetEmailService;
import com.ruoyi.tc.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -48,6 +48,11 @@ public class AssetEmailController extends BaseController {
@Resource
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)
@PutMapping
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));
}

@ -12,15 +12,12 @@ import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.AssetEmail;
import com.ruoyi.tc.entity.AssetMiniPrograms;
import com.ruoyi.tc.entity.po.AssetAppCpPo;
import com.ruoyi.tc.entity.po.AssetAppJyPo;
import com.ruoyi.tc.entity.po.AssetEmailJyPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsJyPo;
import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.po.*;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.entity.request.AssetMiniProgramsPageRequest;
import com.ruoyi.tc.service.AssetMiniProgramsJyService;
import com.ruoyi.tc.service.AssetMiniProgramsService;
import com.ruoyi.tc.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -51,6 +48,12 @@ public class AssetMiniProgramsController extends BaseController {
@Resource
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)
@PutMapping
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));
}

@ -11,15 +11,13 @@ import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tc.entity.AssetMiniPrograms;
import com.ruoyi.tc.entity.AssetOfficialAccount;
import com.ruoyi.tc.entity.po.AssetAppJyPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsJyPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountJyPo;
import com.ruoyi.tc.entity.AssetTask;
import com.ruoyi.tc.entity.po.*;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
import com.ruoyi.tc.entity.request.AssetAuditRequest;
import com.ruoyi.tc.entity.request.AssetOfficialAccountMenu;
import com.ruoyi.tc.entity.request.AssetOfficialAccountPageRequest;
import com.ruoyi.tc.service.AssetOfficialAccountJyService;
import com.ruoyi.tc.service.AssetOfficialAccountService;
import com.ruoyi.tc.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -54,6 +52,11 @@ public class AssetOfficialAccountController {
@Resource
private AssetOfficialAccountJyService assetOfficialAccountJyService;
@Resource
private AssetTaskService assetTaskService;
@Resource
private AssetOfficialAccountCpService assetOfficialAccountCpService;
/**
*
*
@ -252,6 +255,19 @@ public class AssetOfficialAccountController {
@Log(title = "编辑公众号数据", businessType = BusinessType.UPDATE)
@PutMapping
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));
}

@ -21,6 +21,7 @@ import com.ruoyi.tc.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@ -375,7 +376,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "单位端校验提交")
@PostMapping("/jyTj")
@Transactional(rollbackFor = Exception.class)
public AjaxResult tj(@RequestBody AssetCurrentJyPo assetCurrent) {
public AjaxResult tj(@RequestBody @Validated AssetCurrentJyPo assetCurrent) {
//根据资产id和任务id删除五张表数据
assetCurrentCpService.deletByAssetIdandTaskId(assetCurrent.getId(), assetCurrent.getTaskId());
assetBusinessFormCpService.deletByAssetIdandTaskId(assetCurrent.getId(), assetCurrent.getTaskId());
@ -462,7 +463,7 @@ public class AssetTaskController extends BaseController {
*/
@ApiOperation(value = "管理端审核")
@PostMapping("/sh")
public AjaxResult sh(@RequestBody AssetCurrentShRequest req) {
public AjaxResult sh(@RequestBody @Validated AssetCurrentShRequest req) {
return AjaxResult.success(assetTaskService.sh(req));
}
@ -546,6 +547,19 @@ public class AssetTaskController extends BaseController {
public AjaxResult gzhzc(@RequestBody AssetOfficialAccountCpPo assetOfficialAccountCpPo) {
//根据资产id和任务id删除数据
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数量
AssetTask assetTask = assetTaskDao.getByTaskId(assetOfficialAccountCpPo.getTaskId());
int ygt = Optional.ofNullable(assetTask.getYgt()).orElse(0);
@ -652,7 +666,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "小程序单位端校验提交")
@PostMapping("/xcxjyTj")
@Transactional(rollbackFor = Exception.class)
public AjaxResult xcxJyTj(@RequestBody AssetMiniProgramsJyPo assetMiniProgramsJyPo) {
public AjaxResult xcxJyTj(@RequestBody @Validated AssetMiniProgramsJyPo assetMiniProgramsJyPo) {
assetMiniProgramsCpService.deletByAssetIdandTaskId(assetMiniProgramsJyPo.getAssetId(), assetMiniProgramsJyPo.getTaskId());
//新增流程节点时间
AssetLc assetLc = new AssetLc();
@ -680,8 +694,21 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "公众号单位端校验提交")
@PostMapping("/gzhjyTj")
@Transactional(rollbackFor = Exception.class)
public AjaxResult gzhjyTj(@RequestBody AssetOfficialAccountJyPo assetOfficialAccountJyPo) {
public AjaxResult gzhjyTj(@RequestBody @Validated AssetOfficialAccountJyPo assetOfficialAccountJyPo) {
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.setTaskId(assetOfficialAccountJyPo.getTaskId());
@ -708,7 +735,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "资产移动应用程序单位端校验提交")
@PostMapping("/appjyTj")
@Transactional(rollbackFor = Exception.class)
public AjaxResult appjyTj(@RequestBody AssetAppJyPo assetAppJyPo) {
public AjaxResult appjyTj(@RequestBody @Validated AssetAppJyPo assetAppJyPo) {
//根据资产id和任务id删除数据
assetAppCpService.deletByAssetIdandTaskId(assetAppJyPo.getAssetId(), assetAppJyPo.getTaskId());
//新增流程节点时间
@ -737,7 +764,7 @@ public class AssetTaskController extends BaseController {
@ApiOperation(value = "电子邮件单位端校验提交")
@PostMapping("/emailjyTj")
@Transactional(rollbackFor = Exception.class)
public AjaxResult emailjyTj(@RequestBody AssetEmailJyPo assetEmailJyPo) {
public AjaxResult emailjyTj(@RequestBody @Validated AssetEmailJyPo assetEmailJyPo) {
//根据资产id和任务id删除数据
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.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.tc.baseClass.BaseClass;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ -144,7 +143,6 @@ public class AssetAppCpPo extends BaseClass implements Serializable {
private String bfyy;
@ApiModelProperty("不通过原因")
private String btgyy;

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

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

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

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

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

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

@ -3,7 +3,6 @@ package com.ruoyi.tc.entity.po;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.tc.baseClass.BaseClass;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ -73,6 +72,7 @@ public class AssetEmailCpPo extends BaseClass implements Serializable {
*
*/
@ApiModelProperty("安全防护系统(字典)")
private String aqfhxt;
/**
@ -85,12 +85,14 @@ public class AssetEmailCpPo extends BaseClass implements Serializable {
*
*/
@ApiModelProperty("数字证书厂商")
private String szzscs;
/**
* 线
*/
@ApiModelProperty("上线时间")
private String sxsj;
/**
@ -127,11 +129,13 @@ public class AssetEmailCpPo extends BaseClass implements Serializable {
*
*/
@ApiModelProperty("系统责任人电话")
private String xtzrrdh;
/**
*
*/
@ApiModelProperty("系统责任人邮箱")
private String xtzrryx;
/**

@ -13,9 +13,10 @@ import java.io.Serializable;
/**
* (asset_email_cp)
*
* @author du
* @since 2024/11/13 14:44
*/
*/
@Data
@ApiModel("电子邮件资产表")
@TableName(value = "asset_email_cp")
@ -23,7 +24,7 @@ public class AssetEmailJyPo extends BaseClass implements Serializable {
@ApiModelProperty("email_id")
@TableId(value = "email_id",type = IdType.AUTO)
@TableId(value = "email_id", type = IdType.AUTO)
private Long emailId;
@ApiModelProperty("资产id")
@ -34,109 +35,127 @@ public class AssetEmailJyPo extends BaseClass implements Serializable {
/**
*
*/
@Excel(name = "所属单位", sort = 1, width = 24)
@ApiModelProperty("所属单位")
private String ssdw;
/**
*
*/
@Excel(name = "电子邮箱后缀", sort = 2, width = 20)
@ApiModelProperty("电子邮箱后缀")
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("建设类型(字典)")
private String jslx;
/**
*
*/
@Excel(name = "邮件系统供应商", sort = 4, width = 24)
@ApiModelProperty("邮件系统供应商")
private String yjxtgys;
/**
*
*/
@Excel(name = "密码算法", sort = 5, width = 22)
@ApiModelProperty("密码算法")
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("邮件系统状态(字典)")
private String yjxtzc;
/**
*
*/
@Excel(name = "安全防护系统", sort = 7, dictType = "email_hasorno",comboReadDict = true)
@Excel(name = "安全防护系统", sort = 7, dictType = "email_hasorno", comboReadDict = true)
@ApiModelProperty("安全防护系统(字典)")
private String aqfhxt;
/**
* (
*/
@Excel(name = "安全备份环境", sort = 8, dictType = "email_hasorno",comboReadDict = true)
@Excel(name = "安全备份环境", sort = 8, dictType = "email_hasorno", comboReadDict = true)
@ApiModelProperty("安全备份环境(字典)")
private String aqbfhj;
/**
*
*/
@Excel(name = "数字证书厂商", sort = 9)
@ApiModelProperty("数字证书厂商")
private String szzscs;
/**
* 线
*/
@Excel(name = "上线时间", sort = 10)
@ApiModelProperty("上线时间")
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("所属行业(字典)")
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("重点行业(字典)")
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("行政区划(字典)")
private String xzqh;
/**
*
*/
@Excel(name = "简介",sort = 14, width = 28)
@Excel(name = "简介", sort = 14, width = 28)
@ApiModelProperty("简介")
private String jj;
/**
*
*/
@Excel(name = "系统责任人",sort = 15)
@Excel(name = "系统责任人", sort = 15)
@ApiModelProperty("系统责任人")
private String xtzrr;
/**
*
*/
@Excel(name = "系统责任人电话",sort = 16)
@Excel(name = "系统责任人电话", sort = 16)
@ApiModelProperty("系统责任人电话")
private String xtzrrdh;
/**
*
*/
@Excel(name = "系统责任人邮箱",sort = 17)
@Excel(name = "系统责任人邮箱", sort = 17)
@ApiModelProperty("系统责任人邮箱")
private String xtzrryx;
/**
*
*/
@Excel(name = "系统责任人地址",sort = 18)
@Excel(name = "系统责任人地址", sort = 18)
@ApiModelProperty("系统责任人地址")
private String xtzrrdz;

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

@ -26,7 +26,7 @@ public class AssetMiniProgramsJyPo extends BaseClass implements Serializable {
*
*/
@ApiModelProperty("mini_id")
@TableId(value = "mini_id",type = IdType.AUTO)
@TableId(value = "mini_id", type = IdType.AUTO)
private Long miniId;
@ -39,151 +39,176 @@ public class AssetMiniProgramsJyPo extends BaseClass implements Serializable {
/**
*
*/
@Excel(name = "所属单位", sort = 1, width = 22)
@ApiModelProperty("所属单位")
private String ssdw;
/**
*
*/
@Excel(name = "小程序名称", sort = 2, width = 22)
@ApiModelProperty("小程序名称")
private String xcxmc;
/**
* appid
*/
@Excel(name = "APPID", sort = 3, width = 22)
@ApiModelProperty("appid")
private String appId;
/**
*
*/
@Excel(name = "认证主体", sort = 4, width = 26)
@ApiModelProperty("认证主体")
private String rzzt;
/**
*
*/
@Excel(name = "统一社会信用代码", sort = 5)
@ApiModelProperty("统一社会信用代码")
private String tyshxydm;
/**
*
*/
@Excel(name = "小程序状态", sort = 6,dictType = "gzh_state",comboReadDict = true)
@Excel(name = "小程序状态", sort = 6, dictType = "gzh_state", comboReadDict = true)
@ApiModelProperty("小程序状态(字典)")
private String state;
/**
* ID
*/
@Excel(name = "账号原始ID", sort = 7)
@ApiModelProperty("账号原始ID")
private String ysId;
/**
* ()
*/
@Excel(name = "小程序包状态", sort = 8,dictType = "email_state",comboReadDict = true)
@Excel(name = "小程序包状态", sort = 8, dictType = "email_state", comboReadDict = true)
@ApiModelProperty("小程序包状态(字典)")
private String packState;
/**
* (
*/
@Excel(name = "认证状态", sort = 9,dictType = "gzh_rzzt",comboReadDict = true)
@Excel(name = "认证状态", sort = 9, dictType = "gzh_rzzt", comboReadDict = true)
@ApiModelProperty("认证状态(字典)")
private String rzState;
/**
*
*/
@Excel(name = "认证时间", sort = 10)
@ApiModelProperty("认证时间")
private String rzsj;
/**
*
*/
@Excel(name = "认证类型", sort = 11,dictType = "gzh_rzlx",comboReadDict = true)
@Excel(name = "认证类型", sort = 11, dictType = "gzh_rzlx", comboReadDict = true)
@ApiModelProperty("认证类型(字典)")
private String rzlx;
/**
* icp
*/
@ApiModelProperty("icp备案状态")
@Excel(name = "icp备案状态", sort = 12)
private String icpState;
/**
*
*/
@Excel(name = "域名白名单", sort = 13)
@ApiModelProperty("域命白名单")
private String ymbmd;
/**
*
*/
@Excel(name = "服务类目", sort = 14)
@ApiModelProperty("服务类目")
private String fwlm;
/**
*
*/
@Excel(name = "行业电子邮箱", sort = 15)
@ApiModelProperty("行业电子邮箱")
private String hydzyx;
/**
*
*/
@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;
/**
* ()
*/
@Excel(name = "重点行业",dictType = "app_zdhy",comboReadDict = true,sort = 17, width = 18)
@Excel(name = "重点行业", dictType = "app_zdhy", comboReadDict = true, sort = 17, width = 18)
@ApiModelProperty("重点行业(字典)")
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("行政区划(字典)")
private String xzqh;
/**
*
*/
@Excel(name = "系统简介",sort = 19, width = 24)
@Excel(name = "系统简介", sort = 19, width = 24)
@ApiModelProperty("系统简介")
private String xtjj;
/**
*
*/
@Excel(name = "系统责任人",sort = 20)
@Excel(name = "系统责任人", sort = 20)
@ApiModelProperty("系统责任人")
private String xtzrr;
/**
*
*/
@Excel(name = "系统责任人电话",sort = 21)
@Excel(name = "系统责任人电话", sort = 21)
@ApiModelProperty("系统责任人电话")
private String xtzrrdh;
/**
*
*/
@Excel(name = "系统责任人邮箱",sort = 22)
@Excel(name = "系统责任人邮箱", sort = 22)
@ApiModelProperty("系统责任人邮箱")
private String xtzrryx;
/**
*
*/
@Excel(name = "系统责任人地址",sort = 23,width = 24)
@Excel(name = "系统责任人地址", sort = 23, width = 24)
@ApiModelProperty("系统责任人地址")
private String xtzrrdz;
/**
* appid
*/
@Excel(name = "引用插件APPID",sort = 24)
@Excel(name = "引用插件APPID", sort = 24)
@ApiModelProperty("引用插件appid")
private String yycjAppid;
/**
*
*/
@Excel(name = "引用插件(开发者)",sort = 25)
@Excel(name = "引用插件(开发者)", sort = 25)
@ApiModelProperty("引用插件开发者")
private String yycjKfz;
/**

@ -10,6 +10,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;
@ -39,6 +40,7 @@ public class AssetOfficialAccountCpPo extends BaseClass implements Serializable
*
*/
@ApiModelProperty("所属单位")
private String ssdw;
@ -63,91 +65,109 @@ public class AssetOfficialAccountCpPo extends BaseClass implements Serializable
/**
*
*/
@ApiModelProperty("统一社会信用代码")
private String tyshxydm;
/**
*
*/
@ApiModelProperty("公众号状态(字典)")
private String gzhzt;
/**
* id
*/
@ApiModelProperty("公众号id")
private String gzhId;
/**
*
*/
@ApiModelProperty("公众号类型(字典)")
private String gzhlx;
/**
*
*/
@ApiModelProperty("认证状态(字典)")
private String rzState;
/**
*
*/
@ApiModelProperty("认证时间")
private String rzsj;
/**
*
*/
@ApiModelProperty("认证类型(字典)")
private String rzlx;
/**
*
*/
@ApiModelProperty("所属行业(字典)")
private String sshy;
/**
*
*/
@ApiModelProperty("重点行业(字典)")
private String zdhy;
/**
*
*/
@ApiModelProperty("行政区划(字典)")
private String xzqh;
/**
*
*/
@ApiModelProperty("系统简介")
private String xtjj;
/**
*
*/
@ApiModelProperty("系统责任人")
private String xtzrr;
/**
*
*/
@ApiModelProperty("系统责任人电话")
private String xtzrrdh;
/**
*
*/
@ApiModelProperty("系统责任人邮箱")
private String xtzrryx;
/**
*
*/
@ApiModelProperty("系统责任人地址")
private String xtzrrdz;
/**
*
*/
@ApiModelProperty("菜单名称")
private String cdmc;
/**
*
*/
@ApiModelProperty("菜单链接")
private String cdlj;
/**
*
*/
@ApiModelProperty("菜单类型")
private String cdlx;

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

@ -8,6 +8,8 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
@ -36,7 +38,7 @@ public class AssetSupplyChainCpPo extends BaseClass implements Serializable {
private Long assetId;
/**
* 1.2.3.4.5.6.
*/
*/ @NotNull
@ApiModelProperty("1.测评单位2.硬件供应商单位3.机房运维单位4.系统设计单位5.系统建设单位6.安全服务单位")
private Integer type;
/**

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

@ -8,6 +8,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
/**

@ -8,10 +8,12 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
/**
* (unit_other_contact)
*
* @author du
* @since 2024/11/13 14:44
*/
@ -20,14 +22,10 @@ import java.io.Serializable;
@TableName(value = "unit_other_contact_cp")
public class UnitOtherConcatJyPo extends BaseClass implements Serializable {
/**
* id
*/
@TableId(type = IdType.AUTO,value = "concat_id")
@TableId(type = IdType.AUTO, value = "concat_id")
@ApiModelProperty("主表id")
private Long concatId;

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

@ -1,9 +1,12 @@
package com.ruoyi.tc.entity.request;
import com.ruoyi.tc.entity.po.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.Valid;
/**
* @author dong
* @since 2024/11/20 16:29
@ -44,7 +47,6 @@ public class AssetCurrentShRequest {
@ApiModelProperty("资产id")
private Integer assetId;
/**
*
*/
@ -57,6 +59,39 @@ public class AssetCurrentShRequest {
@ApiModelProperty("审核状态0待核查1待审批3审核通过4审核不通过5已报废")
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;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
/**
* @author dong
@ -54,4 +58,13 @@ public class AssestTaskXqresponse {
*/
@ApiModelProperty("不通过原因")
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
*/
@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} ")
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.extension.plugins.pagination.Page;
import com.ruoyi.tc.entity.AssetCurrent;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
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);
@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
*/
@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} ")
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;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
@ -25,7 +26,7 @@ public interface AssetMiniProgramsCpMapper extends BaseMapper<AssetMiniProgramsC
* @param taskId id
*/
@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}")
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.ruoyi.tc.entity.po.AssetAppCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
@ -25,7 +26,7 @@ public interface AssetOfficialAccountCpMapper extends BaseMapper<AssetOfficialAc
* @param taskId id
*/
@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} ")
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.ruoyi.tc.entity.AssetTask;
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.AssetCurrentShRequest;
import com.ruoyi.tc.entity.request.AssetTaskPageRequest;
@ -300,6 +301,17 @@ public interface AssetTaskMapper extends BaseMapper<AssetTask> {
* @param dwmc
* @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 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);
/**
* 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.service.IService;
import com.ruoyi.tc.entity.AssetCurrent;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.request.AssetAuditPageRequest;
@ -55,12 +56,13 @@ public interface AssetCurrentCpService extends IService<AssetCurrentCpPo> {
AssetCurrentCpPo findByassetIdandTaskId(Integer assetId, Integer taskId);
/**
* id
* id
*
* @param id
* @return
*/
// Integer findByAssetId(Long id);
AssetCurrentCpPo findDwmc(Long id);
}

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

@ -1,6 +1,7 @@
package com.ruoyi.tc.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import java.util.List;
@ -20,7 +21,7 @@ public interface AssetEmailCpService extends IService<AssetEmailCpPo> {
* @param assetId 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);
/**
* 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.ruoyi.tc.entity.AssetApp;
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.AssetEmailPageRequest;

@ -1,6 +1,7 @@
package com.ruoyi.tc.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.po.AssetEmailCpPo;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import java.util.List;
@ -20,7 +21,7 @@ public interface AssetMiniProgramsCpService extends IService<AssetMiniProgramsCp
* @param assetId 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);
/**
* id
*
* @param id
* @return
*/
AssetMiniProgramsCpPo findDwmc(Long id);
}

@ -1,6 +1,7 @@
package com.ruoyi.tc.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tc.entity.po.AssetMiniProgramsCpPo;
import com.ruoyi.tc.entity.po.AssetOfficialAccountCpPo;
import java.util.List;
@ -19,7 +20,7 @@ public interface AssetOfficialAccountCpService extends IService<AssetOfficialAcc
* @param assetId 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
*/
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.AssetdwHcBlResponse;
import com.ruoyi.tc.entity.response.AssetdwHcResponse;
import io.swagger.models.auth.In;
import java.util.List;
@ -186,5 +187,13 @@ public interface AssetTaskService extends IService<AssetTask> {
* @param dwmc
* @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;
@Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) {
public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetAppCpMapper.deletByAssetIdandTaskId(assetId, taskId);
@ -46,6 +46,9 @@ public class AssetAppCpServiceImpl extends ServiceImpl<AssetAppCpMapper, AssetAp
public AssetAppCpPo findByassetIdandTaskId(Integer assetId, Integer 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.Unit;
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.mapper.AssetAppMapper;
import com.ruoyi.tc.service.AssetAppCpService;
@ -142,6 +143,19 @@ public class AssetAppServiceImpl extends ServiceImpl<AssetAppMapper, AssetApp> i
x.setAuditState(auditState);
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;
}

@ -2,6 +2,7 @@ package com.ruoyi.tc.service.impl;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
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.request.AssetAuditPageRequest;
import com.ruoyi.tc.mapper.AssetCurrentCpMapper;
@ -43,5 +44,13 @@ public class AssetCurrentCpServiceImpl extends ServiceImpl<AssetCurrentCpMapper,
public AssetCurrentCpPo findByassetIdandTaskId(Integer assetId, Integer 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) {
return baseMapper.findBydwmc(part);
}
}

@ -29,7 +29,7 @@ public class AssetEmailCpServiceImpl extends ServiceImpl<AssetEmailCpMapper, Ass
@Resource
private AssetEmailCpMapper assetEmailCpMapper;
@Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) {
public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetEmailCpMapper.deletByAssetIdandTaskId(assetId,taskId);
@ -50,4 +50,9 @@ public class AssetEmailCpServiceImpl extends ServiceImpl<AssetEmailCpMapper, Ass
public AssetEmailCpPo findByassetIdandTaskId(Integer assetId, Integer 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.service.impl.ServiceImpl;
import com.ruoyi.common.exception.ServiceException;
import com.ruoyi.tc.entity.AssetCurrent;
import com.ruoyi.tc.entity.AssetEmail;
import com.ruoyi.tc.entity.AssetTask;
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.request.AssetEmailPageRequest;
import com.ruoyi.tc.mapper.AssetEmailMapper;
@ -142,6 +144,21 @@ public class AssetEmailServiceImpl extends ServiceImpl<AssetEmailMapper, AssetEm
x.setAuditState(auditState);
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;
}
}

@ -21,7 +21,7 @@ public class AssetMiniProgramsCpServiceImpl extends ServiceImpl<AssetMiniProgram
@Resource
private AssetMiniProgramsCpMapper assetMiniProgramsCpMapper;
@Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) {
public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetMiniProgramsCpMapper.deletByAssetIdandTaskId(assetId,taskId);
@ -41,4 +41,10 @@ public class AssetMiniProgramsCpServiceImpl extends ServiceImpl<AssetMiniProgram
public AssetMiniProgramsCpPo findByassetIdandTaskId(Integer assetId, Integer 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.ruoyi.common.exception.ServiceException;
import com.ruoyi.tc.entity.AssetMiniPrograms;
import com.ruoyi.tc.entity.AssetTask;
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.request.AssetMiniProgramsPageRequest;
import com.ruoyi.tc.mapper.AssetMiniProgramsMapper;
import com.ruoyi.tc.service.AssetMiniProgramsCpService;
import com.ruoyi.tc.service.AssetMiniProgramsService;
import com.ruoyi.tc.service.AssetTaskService;
import com.ruoyi.tc.service.UnitService;
import org.springframework.stereotype.Service;
@ -26,7 +29,8 @@ import java.util.List;
*/
@Service("assetMiniProgramsService")
public class AssetMiniProgramsServiceImpl extends ServiceImpl<AssetMiniProgramsMapper, AssetMiniPrograms> implements AssetMiniProgramsService {
@Resource
private AssetTaskService assetTaskService;
@Resource
private AssetMiniProgramsCpService assetMiniProgramsCpService;
@ -130,6 +134,18 @@ public class AssetMiniProgramsServiceImpl extends ServiceImpl<AssetMiniProgramsM
x.setAuditState(auditState);
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;
}

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.tc.entity.AssetOfficialAccount;
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.request.AssetOfficialAccountPageRequest;
import com.ruoyi.tc.mapper.AssetMiniProgramsCpMapper;
@ -29,7 +30,7 @@ public class AssetOfficialAccountCpServiceImpl extends ServiceImpl<AssetOfficial
@Resource
private AssetOfficialAccountCpMapper assetOfficialAccountCpMapper;
@Override
public void deletByAssetIdandTaskId(Long assetId, int taskId) {
public void deletByAssetIdandTaskId(Long assetId, Integer taskId) {
assetOfficialAccountCpMapper.deletByAssetIdandTaskId(assetId,taskId);
@ -49,4 +50,10 @@ public class AssetOfficialAccountCpServiceImpl extends ServiceImpl<AssetOfficial
public AssetOfficialAccountCpPo findByassetIdandTaskId(Integer assetId, Integer 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.ruoyi.common.exception.ServiceException;
import com.ruoyi.tc.entity.AssetOfficialAccount;
import com.ruoyi.tc.entity.AssetTask;
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.request.AssetOfficialAccountPageRequest;
import com.ruoyi.tc.mapper.AssetOfficialAccountMapper;
import com.ruoyi.tc.service.AssetOfficialAccountCpService;
import com.ruoyi.tc.service.AssetOfficialAccountService;
import com.ruoyi.tc.service.AssetTaskService;
import com.ruoyi.tc.service.UnitService;
import org.springframework.stereotype.Service;
@ -26,7 +29,8 @@ import java.util.List;
*/
@Service("assetOfficialAccountService")
public class AssetOfficialAccountServiceImpl extends ServiceImpl<AssetOfficialAccountMapper, AssetOfficialAccount> implements AssetOfficialAccountService {
@Resource
private AssetTaskService assetTaskService;
@Resource
private UnitService unitService;
@ -162,6 +166,19 @@ public class AssetOfficialAccountServiceImpl extends ServiceImpl<AssetOfficialAc
x.setAuditState(auditState);
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;
}

@ -17,13 +17,10 @@ import com.ruoyi.tc.service.*;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.*;
import java.util.stream.Collectors;
/**
@ -399,7 +396,21 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
QueryWrapper<AssetOfficialAccountCpPo> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("asset_id", assetId);
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
@ -444,37 +455,149 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
public int sh(AssetCurrentShRequest req) {
//根据taskid获取当前任务的count数量
AssetTask assetTask = assetTaskDao.getByTaskId(req.getTaskId());
// 获取当前时间
LocalDateTime localDateTime = LocalDateTime.now();
// 转换为 Date
Date date = Date.from(localDateTime.atZone(ZoneId.systemDefault()).toInstant());
if (req.getType() == 0) {
//web资产
//是否超期
ifCq(req, assetTask);
//创建任务流程
getTaskStatus(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) {
//小程序资产
//创建任务流程
ifCq(req, assetTask);
getTaskStatus(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) {
//公众号资产
//创建任务流程
ifCq(req, assetTask);
getTaskStatus(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) {
//电子邮件
//创建任务流程
ifCq(req, assetTask);
getTaskStatus(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) {
//app
//创建任务流程
ifCq(req, assetTask);
getTaskStatus(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());
//判断当前任务资产是否全部审核完成
@ -503,7 +626,7 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
//同步主表数据 web
taskSaveOrDelete(req);
syb(req);
} else if( req.getBtgyy()!=null){
} else if (req.getBtgyy() != null) {
//不通过 状态为1
finalTask.setTaskStatus(1);
String btgyy = req.getBtgyy();
@ -667,6 +790,7 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
}
}
//当前时间喝任务截至时间比较
private int extracted(AssetTask assetTask) {
int status = 0;
@ -821,10 +945,15 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
}
@Override
public List<AssetTask> findByDwmc(String dwmc) {
public AssetTask findByDwmc(String dwmc) {
return assetTaskDao.findByDwmc(dwmc);
}
@Override
public AssetTask findByTaskId(Integer taskId) {
return assetTaskDao.findBytaskId(taskId);
}
//创建任务流程
private void getTaskStatus(AssetCurrentShRequest req) {
AssetLc assetLc = new AssetLc();

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

Loading…
Cancel
Save