服务器为tomcat7,编译JSP文件时,不支持泛型省略,特此改正。

This commit is contained in:
ap007 2021-07-26 15:18:55 +08:00
parent c8ab517256
commit fa598bbf35
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@
InputStream is = null;
//当一次传多个图片时会多次执行这个页面下面for循环只是将参数读取出来将普通数据封装为map然后将map传给写入数据库的方法。
Map<String,String> params = new HashMap<>();
Map<String,String> params = new HashMap<String,String>();
for (FileItem fileItem : items) {
if (fileItem.isFormField()) { // >> 普通数据
String fieldValue = fileItem.getString("utf-8");

View File

@ -90,7 +90,8 @@ public class CorpusSourceCheck {
if("-2".equals(fcStage)){
return "获取状态信息出现错误,请联系系统管理员!";
}
if ("AP".equals(fcStage)||"1".equals(fcStage)) {
//1是终审成功2是合同签署两个可能并行故都可以通过
if ("AP".equals(fcStage)||"1".equals(fcStage)||"2".equals(fcStage)) {
sResult = "S";
} else {
sResult = "资金方尚未审批结束,请稍后再试!";