Browse Source

fix 修改接口

daiyihua 1 year ago
parent
commit
e6f4330728

+ 3 - 0
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/taihe/DHOutpatientController.java

@@ -393,6 +393,9 @@ public class DHOutpatientController {
                     break;
                     break;
             }
             }
             return response.succeed(data);
             return response.succeed(data);
+        } catch (YwtCommonException e) {
+            logger.error("DHOutpatientController#getPaymentList>>YwtCommonException(type={} , hisPatientId={} ):\n {}", type, hisPatientId, e.getMessage(), e);
+            return response.failed(BaseResponse.PARAMETER_ERROR, e.getMessage());
         } catch (Exception e) {
         } catch (Exception e) {
             logger.error("DHOutpatientController#getPaymentList(type={} , hisPatientId={} ):\n {}", type, hisPatientId, e.getMessage(), e);
             logger.error("DHOutpatientController#getPaymentList(type={} , hisPatientId={} ):\n {}", type, hisPatientId, e.getMessage(), e);
             return response.error(e.getMessage());
             return response.error(e.getMessage());