Compare commits

...

5 Commits

Author SHA1 Message Date
wangliwen b3af80bb0a Merge branch 'dev' 2022-12-14 15:17:14 +08:00
wangliwen 99df97a174 Merge branch 'dev' of http://192.168.124.50:3000/wangliwen/share-platform into dev 2022-12-14 15:16:28 +08:00
dinggang 38bd349887 Merge branch 'dev' of http://192.168.124.50:3000/wangliwen/share-platform into dev 2022-12-14 15:15:17 +08:00
dinggang 2a00f826a8 npe 2022-12-14 15:14:51 +08:00
wangliwen fd680542a5 ... 2022-12-14 15:14:34 +08:00
8 changed files with 41 additions and 16 deletions

View File

@ -0,0 +1,13 @@
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
drop table IF EXISTS `sys_audit_team`;
create TABLE `sys_audit_team` (
`id` bigint NOT NULL comment '主键ID',
`creator` bigint NOT NULL comment '创建人',
`create_date` datetime NOT NULL comment '创建时间',
`name` longtext NOT NULL comment '审核组名称',
`member` json NOT NULL comment '审核组成员id数组',
`index` varchar(255) NULL comment '审核组索引',
PRIMARY KEY (`id`)
) comment = '流程审核组组员';
SET FOREIGN_KEY_CHECKS = 1;

View File

@ -1 +0,0 @@
ALTER TABLE tb_fuse ADD COLUMN `district` int(2) DEFAULT 0 COMMENT '赋能场景类型0市级、1基层场景';

View File

@ -0,0 +1,2 @@
ALTER TABLE tb_fuse ADD COLUMN `district` int(2) DEFAULT 0 COMMENT '赋能场景类型0市级、1基层场景',
ADD COLUMN `area` varchar(128) NULL COMMENT '基层赋能场景所属地区';

View File

@ -0,0 +1 @@
ALTER TABLE `t_demand_data` ADD COLUMN `enclosure_name` longtext NULL COMMENT '附件名称' AFTER `apply_number`;

View File

@ -0,0 +1 @@
alter table `sys_audit_team` ADD COLUMN `description` longtext NULL comment '审核组备注信息';

View File

@ -219,6 +219,7 @@ public class HistoryController {
detailDTO.setExecutionId(task.getExecutionId()); detailDTO.setExecutionId(task.getExecutionId());
detailDTO.setProcessDefinitionId(task.getProcessDefinitionId()); detailDTO.setProcessDefinitionId(task.getProcessDefinitionId());
detailDTO.setComment("待审核"); detailDTO.setComment("待审核");
detailDTO.setTaskId(task.getId());
final List<HistoryDetailDTO> taskHandleDetailInfo_ = new ArrayList<>(); final List<HistoryDetailDTO> taskHandleDetailInfo_ = new ArrayList<>();
taskHandleDetailInfo_.add(detailDTO); taskHandleDetailInfo_.add(detailDTO);
taskHandleDetailInfo_.addAll(list); taskHandleDetailInfo_.addAll(list);

View File

@ -339,7 +339,10 @@ public class ActTaskService extends BaseServiceImpl {
StringBuilder stringBuilder = new StringBuilder(); StringBuilder stringBuilder = new StringBuilder();
List<String> resourcesName = resourceDao.selectResourcesTypeByIds(resourceIds); List<String> resourcesName = resourceDao.selectResourcesTypeByIds(resourceIds);
resourcesName.forEach(x -> stringBuilder.append(x).append(",")); resourcesName.forEach(x -> stringBuilder.append(x).append(","));
String string = stringBuilder.substring(0, stringBuilder.length() - 1); String string = "";
if (stringBuilder.length() > 0) {
string = stringBuilder.substring(0, stringBuilder.length() - 1);
}
dto.setResourceType(string); dto.setResourceType(string);
}, executor); }, executor);

View File

@ -270,20 +270,25 @@ public class TbFuseServiceImpl extends CrudServiceImpl<TbFuseDao, TbFuseEntity,
fuseEntity.setVisits(0L); fuseEntity.setVisits(0L);
fuseEntity.setApplyCount(0L); fuseEntity.setApplyCount(0L);
int result = fuseDao.insert(fuseEntity); int result = fuseDao.insert(fuseEntity);
dto.getFuseResourceList().forEach(fuseResourceDTO -> {
fuseResourceDTO.setId(IdWorker.getId(fuseResourceDTO)); if (dto.getFuseResourceList() != null) {
fuseResourceDTO.setFuseId(fuseEntity.getId()); dto.getFuseResourceList().forEach(fuseResourceDTO -> {
TbFuseResourceEntity entity = new TbFuseResourceEntity(); fuseResourceDTO.setId(IdWorker.getId(fuseResourceDTO));
BeanUtils.copyProperties(fuseResourceDTO, entity); fuseResourceDTO.setFuseId(fuseEntity.getId());
fuseResourceDao.insert(entity); TbFuseResourceEntity entity = new TbFuseResourceEntity();
}); BeanUtils.copyProperties(fuseResourceDTO, entity);
dto.getFuseAttrList().forEach(fuseAttrDTO -> { fuseResourceDao.insert(entity);
fuseAttrDTO.setId(IdWorker.getId(fuseAttrDTO)); });
fuseAttrDTO.setFuseId(fuseEntity.getId()); }
TbFuseAttrEntity entity = new TbFuseAttrEntity(); if (dto.getFuseAttrList() != null) {
BeanUtils.copyProperties(fuseAttrDTO, entity); dto.getFuseAttrList().forEach(fuseAttrDTO -> {
fuseAttrDao.insert(entity); fuseAttrDTO.setId(IdWorker.getId(fuseAttrDTO));
}); fuseAttrDTO.setFuseId(fuseEntity.getId());
TbFuseAttrEntity entity = new TbFuseAttrEntity();
BeanUtils.copyProperties(fuseAttrDTO, entity);
fuseAttrDao.insert(entity);
});
}
return result; return result;
} }