代码调整
This commit is contained in:
@@ -119,10 +119,6 @@ public class ExportModelController extends BaseController {
|
|||||||
@RequestParam(value = "isUrl",required = false) Boolean isUrl,
|
@RequestParam(value = "isUrl",required = false) Boolean isUrl,
|
||||||
@RequestPart(value ="file",required = false) MultipartFile file) throws IOException {
|
@RequestPart(value ="file",required = false) MultipartFile file) throws IOException {
|
||||||
String methodDescribe = getMethodDescribe("exportWorld");
|
String methodDescribe = getMethodDescribe("exportWorld");
|
||||||
Pattern pattern = Pattern.compile(PatternRegex.SPECIAL_REGEX);
|
|
||||||
if(pattern.matcher(reportNumber).find() || pattern.matcher(crmName).find()){
|
|
||||||
throw new BusinessException(ValidMessage.SPECIAL_REGEX);
|
|
||||||
}
|
|
||||||
//获取监测点信息
|
//获取监测点信息
|
||||||
String bdname;
|
String bdname;
|
||||||
Integer pttype;
|
Integer pttype;
|
||||||
|
|||||||
Reference in New Issue
Block a user