|
@@ -88,8 +88,7 @@ public class ExportTemplateServiceImpl implements ExportTemplateService {
|
|
|
|
|
|
@Transactional
|
|
@Transactional
|
|
@Override
|
|
@Override
|
|
- public void addFile(User user, String templateName, String type, MultipartFile dataFile) {
|
|
|
|
- Long rootOrgId = user.getRootOrgId();
|
|
|
|
|
|
+ public void addFile(User user,Long rootOrgId, String templateName, String type, MultipartFile dataFile) {
|
|
if (StringUtils.isBlank(templateName)) {
|
|
if (StringUtils.isBlank(templateName)) {
|
|
throw new StatusException("10001", "模板名称不能为空");
|
|
throw new StatusException("10001", "模板名称不能为空");
|
|
}
|
|
}
|