wushunjie
杜函宇 10 months ago
parent d8213b2758
commit 6c2fee47bf

@ -103,7 +103,7 @@ public class BmsDeclarationRecords extends BaseInfoEntity {
*/
@JSONField(serialize = false)
@ApiModelProperty(value = "审批状态")
@Excel(name = "审批状态", readConverterExp = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@Excel(name = "审批状态", readConverterExp = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
/**

@ -33,6 +33,6 @@ public class BmsBigStrongAwardUpdateDto extends BmsBigStrongAward implements Ser
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -26,6 +26,6 @@ public class BmsBrandingAwardUpdateDto extends BmsBrandingAward {
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -23,7 +23,7 @@ public class BmsCarrierConstructionAwardUpdateDto extends BmsCarrierConstruction
@Excel(name = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -26,7 +26,7 @@ public class BmsCreditManagementUpdateDto extends BmsCreditManagement {
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -49,8 +49,8 @@ public class BmsDeclarationRecordsDto extends BmsDeclarationRecords {
@ApiModelProperty(value = "模板名称")
private String templateName;
@ApiModelProperty(value = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@Excel(name = "审批状态",readConverterExp = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@Excel(name = "审批状态",readConverterExp = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private List<Long> statusStr;
@ApiModelProperty(value = "0=未填报,1=已填报")

@ -27,7 +27,7 @@ public class BmsIndustrialInternetAwardUpdateDto extends BmsIndustrialInternetAw
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -26,7 +26,7 @@ public class BmsIntegrationIndustriesUpdateDto extends BmsIntegrationIndustries
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -25,7 +25,7 @@ public class BmsLogisticsDevelopmentAwardUpdateDto extends BmsLogisticsDevelopme
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -26,6 +26,6 @@ public class BmsManufacturingServicesAwardUpdateDto extends BmsManufacturingServ
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -20,6 +20,6 @@ public class BmsOutQuitProductsUpdateDto extends BmsOutQuitProducts {
private Long declarationRecordsId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -26,6 +26,6 @@ public class BmsPlatformConstructionAwardUpdateDto extends BmsPlatformConstructi
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -33,7 +33,7 @@ public class BmsProjectSettlementAwardUpdateDto extends BmsProjectSettlementAwar
@ApiModelProperty(value = "项目id")
private Long projectId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
}

@ -20,7 +20,7 @@ public class BmsSceneOpeningAwardUpdateDto extends BmsSceneOpeningAward {
@ApiModelProperty(value = "记录id")
private Long declarationRecordsId;
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
@ApiModelProperty(value = "审批状态:0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审不通过,9=终审不通过10=初审驳回")
private Long status;
@ApiModelProperty(value = "项目id")

@ -96,7 +96,7 @@ public class BmsDeclarationRecordsQueryVo implements Serializable {
private Long detailId;
@ApiModelProperty(value = "审批状态")
@Excel(name = "审批状态", readConverterExp = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,7=复审不通过,8=初审驳回,9=终审不通过10=退回修改")
@Excel(name = "审批状态", readConverterExp = "0=待填报,1=初审中,2=复审中,3=终审中,5=评审通过,6=已填报,7=复审不通过,8=初审驳回,9=终审不通过10=退回修改")
private Long status;
}

@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.jjh.declaration.entity.BmsBigStrongAward;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsFundingDetail;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsBigStrongAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsBigStrongAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsFundingDetailAddDto;
@ -45,6 +46,9 @@ public class BmsBigStrongAwardServiceImpl extends ServiceImpl<BmsBigStrongAwardM
@Resource
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
@Resource
private JProjectService jProjectService;
/**
@ -109,11 +113,15 @@ public class BmsBigStrongAwardServiceImpl extends ServiceImpl<BmsBigStrongAwardM
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交做大做强奖补申请");
declarationRecords.setDetailId(bmsBigStrongAward.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsBigStrongAwardAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsBigStrongAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsBigStrongAwardAddDto.getDeclarationId());
addProject.setStatus(1);
@ -136,6 +144,7 @@ public class BmsBigStrongAwardServiceImpl extends ServiceImpl<BmsBigStrongAwardM
// 申请审批
iCommonService.insertAuditRecord(declarationRecords.getId(), 0);
}
return num;
}

@ -7,15 +7,13 @@ import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsBigStrongAward;
import com.ruoyi.jjh.declaration.entity.BmsBrandingAward;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsBrandingAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsBrandingAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsBrandingAwardMapper;
import com.ruoyi.jjh.declaration.service.IBmsBrandingAwardService;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -46,6 +44,9 @@ public class BmsBrandingAwardServiceImpl extends ServiceImpl<BmsBrandingAwardMap
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -92,11 +93,16 @@ public class BmsBrandingAwardServiceImpl extends ServiceImpl<BmsBrandingAwardMap
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交品牌打造奖补申请");
declarationRecords.setDetailId(bmsBrandingAward.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsBrandingAwardAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsBrandingAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
iBmsDeclarationRecordsService.updateById(declarationRecords);
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsBrandingAwardAddDto.getDeclarationId());
addProject.setStatus(1);
@ -109,6 +115,7 @@ public class BmsBrandingAwardServiceImpl extends ServiceImpl<BmsBrandingAwardMap
iBmsDeclarationRecordsService.updateById(declarationRecords);
// 审批状态
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -7,15 +7,13 @@ import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsBrandingAward;
import com.ruoyi.jjh.declaration.entity.BmsCarrierConstructionAward;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsCarrierConstructionAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsCarrierConstructionAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsCarrierConstructionAwardMapper;
import com.ruoyi.jjh.declaration.service.IBmsCarrierConstructionAwardService;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -47,6 +45,9 @@ public class BmsCarrierConstructionAwardServiceImpl extends ServiceImpl<BmsCarri
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -94,10 +95,15 @@ public class BmsCarrierConstructionAwardServiceImpl extends ServiceImpl<BmsCarri
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交载体建设奖补申请");
declarationRecords.setDetailId(bmsCarrierConstructionAward.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsCarrierConstructionAwardAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsCarrierConstructionAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsCarrierConstructionAwardAddDto.getDeclarationId());
addProject.setStatus(1);
@ -113,6 +119,7 @@ public class BmsCarrierConstructionAwardServiceImpl extends ServiceImpl<BmsCarri
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -7,15 +7,13 @@ import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsBrandingAward;
import com.ruoyi.jjh.declaration.entity.BmsCreditManagement;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsCreditManagementAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsCreditManagementUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsCreditManagementMapper;
import com.ruoyi.jjh.declaration.service.IBmsCreditManagementService;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -47,6 +45,9 @@ public class BmsCreditManagementServiceImpl extends ServiceImpl<BmsCreditManagem
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -93,11 +94,15 @@ public class BmsCreditManagementServiceImpl extends ServiceImpl<BmsCreditManagem
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交信用管理奖补申请");
declarationRecords.setDetailId(bmsCreditManagement.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsCreditManagementAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsCreditManagementAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsCreditManagementAddDto.getDeclarationId());
addProject.setStatus(1);
@ -113,6 +118,7 @@ public class BmsCreditManagementServiceImpl extends ServiceImpl<BmsCreditManagem
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -7,15 +7,13 @@ import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsBrandingAward;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsIndustrialInternetAward;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsIndustrialInternetAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsIndustrialInternetAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsIndustrialInternetAwardMapper;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsIndustrialInternetAwardService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -45,6 +43,9 @@ public class BmsIndustrialInternetAwardServiceImpl extends ServiceImpl<BmsIndust
private IBmsDeclarationRecordsService iBmsDeclarationRecordsService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
* 5G+
*
@ -91,8 +92,15 @@ public class BmsIndustrialInternetAwardServiceImpl extends ServiceImpl<BmsIndust
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交5G+工业互联网奖补申请");
declarationRecords.setDetailId(bmsIndustrialInternetAward.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsIndustrialInternetAwardAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsIndustrialInternetAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
@ -108,6 +116,7 @@ public class BmsIndustrialInternetAwardServiceImpl extends ServiceImpl<BmsIndust
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -4,18 +4,12 @@ import cn.hutool.core.bean.BeanUtil;
import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsIndustrialInternetAward;
import com.ruoyi.jjh.declaration.entity.BmsIntegrationIndustries;
import com.ruoyi.jjh.declaration.entity.BmsLogisticsDevelopmentAward;
import com.ruoyi.jjh.declaration.entity.*;
import com.ruoyi.jjh.declaration.entity.dto.BmsIntegrationIndustriesAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsIntegrationIndustriesUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsIntegrationIndustriesMapper;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsIntegrationIndustriesService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -46,6 +40,9 @@ public class BmsIntegrationIndustriesServiceImpl extends ServiceImpl<BmsIntegrat
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -93,9 +90,14 @@ public class BmsIntegrationIndustriesServiceImpl extends ServiceImpl<BmsIntegrat
declarationRecords.setMatter("提交两业融合奖补申请");
declarationRecords.setDetailId(bmsIntegrationIndustries.getId());
declarationRecords.setId(bmsIntegrationIndustriesAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsIntegrationIndustriesAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsIntegrationIndustriesAddDto.getDeclarationId());
addProject.setStatus(1);
@ -121,9 +123,9 @@ public class BmsIntegrationIndustriesServiceImpl extends ServiceImpl<BmsIntegrat
jProjectService.save(addProject);
declarationRecords.setJjhProjectId(addProject.getId());
iBmsDeclarationRecordsService.updateById(declarationRecords);
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -7,15 +7,13 @@ import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsIntegrationIndustries;
import com.ruoyi.jjh.declaration.entity.BmsLogisticsDevelopmentAward;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsLogisticsDevelopmentAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsLogisticsDevelopmentAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsLogisticsDevelopmentAwardMapper;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsLogisticsDevelopmentAwardService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -49,6 +47,9 @@ public class BmsLogisticsDevelopmentAwardServiceImpl extends ServiceImpl<BmsLogi
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -95,11 +96,16 @@ public class BmsLogisticsDevelopmentAwardServiceImpl extends ServiceImpl<BmsLogi
// 新增申请记录
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交物流发展奖补申请");
declarationRecords.setStatus(1L);
declarationRecords.setDetailId(bmsLogisticsDevelopmentAward.getId());
declarationRecords.setId(bmsLogisticsDevelopmentAwardAddDto.getDeclarationId());
declarationRecords.setDetailId(bmsLogisticsDevelopmentAward.getId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsLogisticsDevelopmentAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsLogisticsDevelopmentAwardAddDto.getDeclarationId());
addProject.setStatus(1);
@ -116,6 +122,7 @@ public class BmsLogisticsDevelopmentAwardServiceImpl extends ServiceImpl<BmsLogi
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -7,15 +7,13 @@ import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsLogisticsDevelopmentAward;
import com.ruoyi.jjh.declaration.entity.BmsManufacturingServicesAward;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsManufacturingServicesAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsManufacturingServicesAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsManufacturingServicesAwardMapper;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsManufacturingServicesAwardService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -45,6 +43,9 @@ public class BmsManufacturingServicesAwardServiceImpl extends ServiceImpl<BmsMan
private IBmsDeclarationRecordsService iBmsDeclarationRecordsService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -91,10 +92,15 @@ public class BmsManufacturingServicesAwardServiceImpl extends ServiceImpl<BmsMan
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交制造服务业有效投入奖补申请");
declarationRecords.setDetailId(bmsManufacturingServicesAward.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsManufacturingServicesAwardAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsManufacturingServicesAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//新增项目
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsManufacturingServicesAwardAddDto.getDeclarationId());
@ -112,6 +118,7 @@ public class BmsManufacturingServicesAwardServiceImpl extends ServiceImpl<BmsMan
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -12,10 +12,7 @@ import com.ruoyi.jjh.declaration.entity.dto.BmsOutQuitProductsUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsOutQuitProductsMapper;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsOutQuitProductsService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -44,6 +41,8 @@ public class BmsOutQuitProductsServiceImpl extends ServiceImpl<BmsOutQuitProduct
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
* 2024退
*
@ -78,10 +77,15 @@ public class BmsOutQuitProductsServiceImpl extends ServiceImpl<BmsOutQuitProduct
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交2024年度淘汰落后和退出低端低效产能装备清单");
declarationRecords.setDetailId(products.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsOutQuitProductsAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsOutQuitProductsAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsOutQuitProductsAddDto.getDeclarationId());
addProject.setStatus(1);
@ -115,6 +119,7 @@ public class BmsOutQuitProductsServiceImpl extends ServiceImpl<BmsOutQuitProduct
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -4,18 +4,12 @@ import cn.hutool.core.bean.BeanUtil;
import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsCarrierConstructionAward;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsLogisticsDevelopmentAward;
import com.ruoyi.jjh.declaration.entity.BmsPlatformConstructionAward;
import com.ruoyi.jjh.declaration.entity.*;
import com.ruoyi.jjh.declaration.entity.dto.BmsPlatformConstructionAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsPlatformConstructionAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsPlatformConstructionAwardMapper;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsPlatformConstructionAwardService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -48,6 +42,8 @@ public class BmsPlatformConstructionAwardServiceImpl extends ServiceImpl<BmsPlat
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -93,9 +89,15 @@ public class BmsPlatformConstructionAwardServiceImpl extends ServiceImpl<BmsPlat
// 新增申请记录
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交平台建设奖补申请");
declarationRecords.setStatus(1L);
declarationRecords.setDetailId(bmsPlatformConstructionAward.getId());
declarationRecords.setId(bmsPlatformConstructionAwardAddDto.getDeclarationId());
declarationRecords.setDetailId(bmsPlatformConstructionAward.getId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsPlatformConstructionAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
@ -111,6 +113,7 @@ public class BmsPlatformConstructionAwardServiceImpl extends ServiceImpl<BmsPlat
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

@ -53,7 +53,8 @@ public class BmsProjectSettlementAwardServiceImpl extends ServiceImpl<BmsProject
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private JProjectService jProjectService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -113,10 +114,15 @@ public class BmsProjectSettlementAwardServiceImpl extends ServiceImpl<BmsProject
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交落户奖补申请");
declarationRecords.setDetailId(projectSettlementAward.getId());
declarationRecords.setStatus(1L);
declarationRecords.setId(bmsProjectSettlementAwardAddDto.getDeclarationId());
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsProjectSettlementAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsProjectSettlementAwardAddDto.getDeclarationId());
addProject.setStatus(1);
@ -137,6 +143,7 @@ public class BmsProjectSettlementAwardServiceImpl extends ServiceImpl<BmsProject
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(), 0);
}
return num;
}

@ -7,15 +7,13 @@ import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.jjh.declaration.entity.BmsDeclarationRecords;
import com.ruoyi.jjh.declaration.entity.BmsIndustrialInternetAward;
import com.ruoyi.jjh.declaration.entity.BmsSceneOpeningAward;
import com.ruoyi.jjh.declaration.entity.BmsTemplateRecord;
import com.ruoyi.jjh.declaration.entity.dto.BmsSceneOpeningAwardAddDto;
import com.ruoyi.jjh.declaration.entity.dto.BmsSceneOpeningAwardUpdateDto;
import com.ruoyi.jjh.declaration.entity.vo.BmsBigStrongAwardQueryVo;
import com.ruoyi.jjh.declaration.entity.vo.DeclarationRecordsVo;
import com.ruoyi.jjh.declaration.mapper.BmsSceneOpeningAwardMapper;
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
import com.ruoyi.jjh.declaration.service.IBmsSceneOpeningAwardService;
import com.ruoyi.jjh.declaration.service.IBmsTemplateInfoService;
import com.ruoyi.jjh.declaration.service.ICommonService;
import com.ruoyi.jjh.declaration.service.*;
import com.ruoyi.jjh.ent.entity.JProject;
import com.ruoyi.jjh.ent.service.JProjectService;
import org.springframework.beans.factory.annotation.Autowired;
@ -48,6 +46,9 @@ public class BmsSceneOpeningAwardServiceImpl extends ServiceImpl<BmsSceneOpening
@Resource
private IBmsTemplateInfoService iBmsTemplateInfoService;
@Resource
private IBmsTemplateRecordService iBmsTemplateRecordService;
/**
*
*
@ -93,11 +94,17 @@ public class BmsSceneOpeningAwardServiceImpl extends ServiceImpl<BmsSceneOpening
BmsDeclarationRecords declarationRecords = new BmsDeclarationRecords();
declarationRecords.setMatter("提交场景开放奖补申请");
declarationRecords.setStatus(1L);
declarationRecords.setDetailId(bmsSceneOpeningAward.getId());
declarationRecords.setId(bmsSceneOpeningAwardAddDto.getDeclarationId());
iBmsDeclarationRecordsService.updateById(declarationRecords);
//如果该申报任务是不需要审批的则修改状态为已填报
BmsTemplateRecord tes = iBmsTemplateRecordService.getById(iBmsDeclarationRecordsService.getById(bmsSceneOpeningAwardAddDto.getDeclarationId()).getTemplateRecordId());
if(tes.getIsApproval() == 0){
declarationRecords.setStatus(6L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
}else {
declarationRecords.setStatus(1L);
iBmsDeclarationRecordsService.updateById(declarationRecords);
//获取某个在线记录id可以添加到项目库的数据
JProject addProject = iBmsDeclarationRecordsService.getAddProject(bmsSceneOpeningAwardAddDto.getDeclarationId());
addProject.setStatus(1);
@ -116,6 +123,7 @@ public class BmsSceneOpeningAwardServiceImpl extends ServiceImpl<BmsSceneOpening
// 生成审核
iCommonService.insertAuditRecord(declarationRecords.getId(),0);
}
return num;
}

Loading…
Cancel
Save