|
@@ -236,7 +236,8 @@ public class CommonController {
|
|
Matcher matcher = pattern.matcher(contractFile);
|
|
Matcher matcher = pattern.matcher(contractFile);
|
|
if (matcher.find()) {
|
|
if (matcher.find()) {
|
|
String extractedString = matcher.group(1);
|
|
String extractedString = matcher.group(1);
|
|
- jdbcService.update("更新","update sys_file set business_type = ? where id = ? ",businessType,extractedString);
|
|
|
|
|
|
+ String filePath="/admin/download/"+extractedString+"/"+contractFile.substring(contractFile.lastIndexOf('/') + 1);
|
|
|
|
+ jdbcService.update("更新","update sys_file set business_type = ?,file_path=? where id = ? ",businessType,filePath,extractedString);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|