Kaynağa Gözat

增加重置点号入参数判断

欧阳劲驰 1 ay önce
ebeveyn
işleme
35e252b9c7

+ 2 - 1
src/main/java/com/shkpr/service/alambizplugin/controller/ApiGisSurveyController.java

@@ -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