|
@@ -284,7 +284,8 @@ public class ApiGisSurveyController {
|
|
|
final String URI_PATH = request.getRequestURI();
|
|
|
final String strPlatform = CommTool.getPlatformByAgent(strClientType, strUserAgent);
|
|
|
final String strUserId = (String) request.getAttribute(TokenAuthenticationService.HEADER_USERID);
|
|
|
- if (StringUtils.isAnyBlank(operator, jobId, nature) || StringUtils.length(jobId) > 64 || CollectionUtils.isEmpty(files)) {
|
|
|
+ if (StringUtils.isAnyBlank(operator, jobId, nature) || StringUtils.length(jobId) > 64
|
|
|
+ || CollectionUtils.isEmpty(files) || resetNo == null) {
|
|
|
throw new SelfException(ResponseCode.STATUS_ERROR_PARAM_FORMAT.toStrCode()
|
|
|
, String.format(ApiURI.EXCEPTION_FORMAT
|
|
|
, strPlatform
|