zjh
2025-02-28 1e91dc33009cfdc951b2642877f40280b51c3089
ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiGetMethodService.java
@@ -217,6 +217,7 @@
//    @Transactional
    public AjaxResult getHISDataNew(String type, Map<String, Object> params){
        try {
        LambdaQueryWrapper<HisApiConfig> lambdaQueryWrapper = new LambdaQueryWrapper<>();
        lambdaQueryWrapper.eq(HisApiConfig::getApiMethod, type);
        HisApiConfig hisApiConfig = hisApiConfigService.getOne(lambdaQueryWrapper);
@@ -248,6 +249,11 @@
        } else {
            return AjaxResult.error().put("result", JSONUtil.parseObj(responseJson));
        }
        } catch (Exception e) {
//            throw new RuntimeException(e);
            log.error(String.valueOf(e));
            return AjaxResult.error();
        }
    }
    public AjaxResult getLisData(String type,Map<String ,Object> params){