|
@@ -129,7 +129,7 @@ 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 (oJsonParam == null || CollectionUtils.isEmpty(oJsonParam.getSubitemKeys()) || bindRes.hasErrors() || !oJsonParam.checkValid()) {
|
|
|
+ if (oJsonParam == null || oJsonParam.getSubitemKeys() == null || bindRes.hasErrors() || !oJsonParam.checkValid()) {
|
|
|
throw new SelfException(ResponseCode.STATUS_ERROR_JSON_FORMAT.toStrCode()
|
|
|
, String.format(ApiURI.EXCEPTION_FORMAT
|
|
|
, strPlatform
|