Commit 9933b2b4 authored by danfuman's avatar danfuman

Merge branch 'dev20230707' of http://192.168.60.201/root/dsk-operate-sys into dev20230707

parents 7901ff1b 693869ef
......@@ -14,6 +14,12 @@ import javax.validation.constraints.NotNull;
@Data
public class OpRegionalEconomicDataRegionalListDto {
/**
* id
*/
@NotNull(message = "id 不能为空")
private Integer id;
/**
* 省Id
*/
......
......@@ -237,8 +237,16 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
@Transactional
public int deleteBusinessInfoByIds(Long[] ids) {
//删除项目详情,用户关联项目,项目工作代办,项目联系人,项目跟进记录,项目标签,项目相关企业
return businessInfoMapper.deleteBusinessInfoByIds(ids);
//TODO 删除项目上传的文件
int deleteBusiness = businessInfoMapper.deleteBusinessInfoByIds(ids);
//删除项目上传的文件
for (Long id : ids) {
try {
FileUtils.delFolder(RuoYiConfig.getUploadPath() + id);
} catch (Exception e) {
e.printStackTrace();
}
}
return deleteBusiness;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment