...
|
...
|
@@ -120,6 +120,10 @@ public class TkReportFormConfigController extends BaseController { |
120
|
120
|
|
121
|
121
|
private ResponseResult<ReportFormConfigDTO> saveOrUpdate(ReportFormConfigDTO configDTO)
|
122
|
122
|
throws ThingsboardException, SchedulerException {
|
|
123
|
+ if(null !=configDTO.getName() && (configDTO.getName().contains("/") || configDTO.getName().contains("\\")))
|
|
124
|
+ {
|
|
125
|
+ throw new TkDataValidationException(ErrorMessage.REPORT_NAME_ERROR.getMessage());
|
|
126
|
+ }
|
123
|
127
|
configDTO.setTenantId(getCurrentUser().getCurrentTenantId());
|
124
|
128
|
Long startTs = configDTO.getQueryCondition().getStartTs();
|
125
|
129
|
Long endTs = configDTO.getQueryCondition().getEndTs();
|
...
|
...
|
|