|
@@ -97,7 +97,7 @@ public class InnerController extends BaseController {
|
|
}
|
|
}
|
|
if("aws".equals(CacheUtil.uploadType)){
|
|
if("aws".equals(CacheUtil.uploadType)){
|
|
RtkInfo rtkInfo = rtkInfoService.getByRtkSnCode(rtkSnCode);
|
|
RtkInfo rtkInfo = rtkInfoService.getByRtkSnCode(rtkSnCode);
|
|
- if(rtkInfo == null){
|
|
|
|
|
|
+ if(rtkInfo == null || rtkInfo.getStatus() == 1 || rtkInfo.getFailureTime().getTime() <= new Date().getTime()){
|
|
throw new BusinessException(ResultCode.RTK_SN_CODE_NOT_EXIT);
|
|
throw new BusinessException(ResultCode.RTK_SN_CODE_NOT_EXIT);
|
|
}
|
|
}
|
|
String clientIP = ServletUtil.getClientIP(request);
|
|
String clientIP = ServletUtil.getClientIP(request);
|