BSP 脚本
parent
0107aab563
commit
fa91cf6804
@ -1,56 +0,0 @@
|
||||
//package cn.estsh.i3plus.pojo.bsp.common;
|
||||
//
|
||||
//import java.io.Serializable;
|
||||
//
|
||||
///**
|
||||
// * @author Castle
|
||||
// */
|
||||
//public class ReturnT<T> implements Serializable {
|
||||
// public static final long serialVersionUID = 42L;
|
||||
//
|
||||
// public static final int SUCCESS_CODE = 200;
|
||||
// public static final int FAIL_CODE = 500;
|
||||
//
|
||||
// public static final ReturnT<String> SUCCESS = new ReturnT<String>(null);
|
||||
// public static final ReturnT<String> FAIL = new ReturnT<String>(FAIL_CODE, null);
|
||||
//
|
||||
// private int code;
|
||||
// private String msg;
|
||||
// private T content;
|
||||
//
|
||||
// public ReturnT(){}
|
||||
// public ReturnT(int code, String msg) {
|
||||
// this.code = code;
|
||||
// this.msg = msg;
|
||||
// }
|
||||
//
|
||||
// public ReturnT(T content) {
|
||||
// this.code = SUCCESS_CODE;
|
||||
// this.content = content;
|
||||
// }
|
||||
//
|
||||
// public int getCode() {
|
||||
// return code;
|
||||
// }
|
||||
// public void setCode(int code) {
|
||||
// this.code = code;
|
||||
// }
|
||||
// public String getMsg() {
|
||||
// return msg;
|
||||
// }
|
||||
// public void setMsg(String msg) {
|
||||
// this.msg = msg;
|
||||
// }
|
||||
// public T getContent() {
|
||||
// return content;
|
||||
// }
|
||||
// public void setContent(T content) {
|
||||
// this.content = content;
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public String toString() {
|
||||
// return "ReturnT [code=" + code + ", msg=" + msg + ", content=" + content + "]";
|
||||
// }
|
||||
//
|
||||
//}
|
@ -0,0 +1,21 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.common.script.strategy;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2022/1/26 15:02
|
||||
* @Modify:
|
||||
**/
|
||||
public interface Script {
|
||||
/**
|
||||
* 脚本接口
|
||||
* @param script
|
||||
* @param paramMap
|
||||
* @param methodName
|
||||
* @return
|
||||
*/
|
||||
Map<String,Object> execute(String script,Map<String, Object> paramMap,String methodName) throws IllegalAccessException, InstantiationException;
|
||||
}
|
Loading…
Reference in New Issue