All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kel.service.impl.ReasoningServiceImpl Maven / Gradle / Ivy

The newest version!
package com.kel.service.impl;

import java.sql.SQLException;
import java.util.Map;

import com.kel.handler.ReasoningHandler;
import com.kel.model.ReasoningModel;
import com.kel.service.ReasoningService;

/**
 * Description :
 * 

* Created by shin on 2018/11/19 18:53. */ public class ReasoningServiceImpl implements ReasoningService { private ReasoningHandler reasoningHandler = new ReasoningHandler(); @Override public String reasoning(ReasoningModel reasoningModel, Map data) throws SQLException { return reasoningHandler.handler(reasoningModel.getConditionStr(), data) ? reasoningModel.getSureResult() : reasoningModel.getFailResult(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy