package cn.cerc.mis.core;

import cn.cerc.core.DataSet;
import cn.cerc.db.core.IHandle;

public interface IService extends IHandle {

    DataSet execute(DataSet dataIn) throws ServiceException;

    boolean checkSecurity(IHandle handle);

    // 仅用于 Delphi Client 调用
    @Deprecated
    String getJSON(DataSet dataOut);

    @Deprecated
    default IStatus execute(DataSet dataIn, DataSet dataOut) throws ServiceException {
        dataOut = this.execute(dataIn);
        return new ServiceStatus(dataOut.getState(), dataOut.getMessage());
    }

}

@@ -319,232 +319,6 @@
 );%0A%0A
-    @Deprecated%0A    default IStatus execute(DataSet dataIn, DataSet dataOut) throws ServiceException %7B%0A        dataOut = this.execute(dataIn);%0A        return new ServiceStatus(dataOut.getState(), dataOut.getMessage());%0A    %7D%0A%0A
 %7D%0A

Update IService.java