Compare commits
No commits in common. "38bd34988715b98f43e7c39907de513a9711f7fa" and "ffae0661278ae7339dc356eaf3599af5d3fde168" have entirely different histories.
38bd349887
...
ffae066127
|
@ -1,13 +0,0 @@
|
||||||
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;
|
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE tb_fuse ADD COLUMN `district` int(2) DEFAULT 0 COMMENT '赋能场景类型:0市级、1基层场景';
|
|
@ -1,2 +0,0 @@
|
||||||
ALTER TABLE tb_fuse ADD COLUMN `district` int(2) DEFAULT 0 COMMENT '赋能场景类型:0市级、1基层场景',
|
|
||||||
ADD COLUMN `area` varchar(128) NULL COMMENT '基层赋能场景所属地区';
|
|
|
@ -1 +0,0 @@
|
||||||
ALTER TABLE `t_demand_data` ADD COLUMN `enclosure_name` longtext NULL COMMENT '附件名称' AFTER `apply_number`;
|
|
|
@ -1 +0,0 @@
|
||||||
alter table `sys_audit_team` ADD COLUMN `description` longtext NULL comment '审核组备注信息';
|
|
|
@ -339,10 +339,7 @@ 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 = "";
|
String string = stringBuilder.substring(0, stringBuilder.length() - 1);
|
||||||
if (stringBuilder.length() > 0) {
|
|
||||||
string = stringBuilder.substring(0, stringBuilder.length() - 1);
|
|
||||||
}
|
|
||||||
dto.setResourceType(string);
|
dto.setResourceType(string);
|
||||||
}, executor);
|
}, executor);
|
||||||
|
|
||||||
|
|
|
@ -270,8 +270,6 @@ 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);
|
||||||
|
|
||||||
if (dto.getFuseResourceList() != null) {
|
|
||||||
dto.getFuseResourceList().forEach(fuseResourceDTO -> {
|
dto.getFuseResourceList().forEach(fuseResourceDTO -> {
|
||||||
fuseResourceDTO.setId(IdWorker.getId(fuseResourceDTO));
|
fuseResourceDTO.setId(IdWorker.getId(fuseResourceDTO));
|
||||||
fuseResourceDTO.setFuseId(fuseEntity.getId());
|
fuseResourceDTO.setFuseId(fuseEntity.getId());
|
||||||
|
@ -279,8 +277,6 @@ public class TbFuseServiceImpl extends CrudServiceImpl<TbFuseDao, TbFuseEntity,
|
||||||
BeanUtils.copyProperties(fuseResourceDTO, entity);
|
BeanUtils.copyProperties(fuseResourceDTO, entity);
|
||||||
fuseResourceDao.insert(entity);
|
fuseResourceDao.insert(entity);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
if (dto.getFuseAttrList() != null) {
|
|
||||||
dto.getFuseAttrList().forEach(fuseAttrDTO -> {
|
dto.getFuseAttrList().forEach(fuseAttrDTO -> {
|
||||||
fuseAttrDTO.setId(IdWorker.getId(fuseAttrDTO));
|
fuseAttrDTO.setId(IdWorker.getId(fuseAttrDTO));
|
||||||
fuseAttrDTO.setFuseId(fuseEntity.getId());
|
fuseAttrDTO.setFuseId(fuseEntity.getId());
|
||||||
|
@ -288,7 +284,6 @@ public class TbFuseServiceImpl extends CrudServiceImpl<TbFuseDao, TbFuseEntity,
|
||||||
BeanUtils.copyProperties(fuseAttrDTO, entity);
|
BeanUtils.copyProperties(fuseAttrDTO, entity);
|
||||||
fuseAttrDao.insert(entity);
|
fuseAttrDao.insert(entity);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue