From 6135498971ee5a76621f9f574927bc45bd2ad36a Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 07 五月 2019 00:33:42 +0800
Subject: [PATCH] 调整web服务docker文件

---
 java110-service/src/main/java/com/java110/service/smo/impl/QueryServiceSMOImpl.java |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/java110-service/src/main/java/com/java110/service/smo/impl/QueryServiceSMOImpl.java b/java110-service/src/main/java/com/java110/service/smo/impl/QueryServiceSMOImpl.java
index 3849b2b..3f43c05 100644
--- a/java110-service/src/main/java/com/java110/service/smo/impl/QueryServiceSMOImpl.java
+++ b/java110-service/src/main/java/com/java110/service/smo/impl/QueryServiceSMOImpl.java
@@ -17,6 +17,8 @@
 import com.java110.service.dao.IQueryServiceDAO;
 import com.java110.service.smo.IQueryServiceSMO;
 import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.HttpStatus;
 import org.springframework.http.ResponseEntity;
@@ -34,6 +36,10 @@
 @Service("queryServiceSMOImpl")
 @Transactional
 public class QueryServiceSMOImpl extends LoggerEngine implements IQueryServiceSMO {
+
+
+    private final static Logger logger = LoggerFactory.getLogger(QueryServiceSMOImpl.class);
+
 
     @Autowired
     private IQueryServiceDAO queryServiceDAOImpl;
@@ -54,7 +60,9 @@
             List<String> sysParams = currentServiceSql.getParamList();
             for(String param : sysParams) {
                 if(!dataQuery.getRequestParams().containsKey(param)){
-                    throw new BusinessException(ResponseConstant.RESULT_PARAM_ERROR,"璇锋眰鍙傛暟閿欒锛岃姹傛姤鏂囦腑鏈寘鍚弬鏁� " + param + " 淇℃伅");
+                    //2019-04-10 杩欓噷淇敼涓轰笉鎶涘嚭寮傚父鑰屾槸鍐欎负绌哄瓧绗︿覆
+                    //throw new BusinessException(ResponseConstant.RESULT_PARAM_ERROR,"璇锋眰鍙傛暟閿欒锛岃姹傛姤鏂囦腑鏈寘鍚弬鏁� " + param + " 淇℃伅");
+                    dataQuery.getRequestParams().put(param,"");
                 }
             }
             dataQuery.setServiceSql(currentServiceSql);

--
Gitblit v1.8.0