This commit is contained in:
@@ -7,7 +7,6 @@ package org.redkale.test.sncp;
|
|||||||
|
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
import org.redkale.service.*;
|
import org.redkale.service.*;
|
||||||
import org.redkale.source.DataCallArrayAttribute;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -23,7 +22,7 @@ public interface SncpTestIService extends Service {
|
|||||||
|
|
||||||
public CompletableFuture<String> queryResultAsync(SncpTestBean bean);
|
public CompletableFuture<String> queryResultAsync(SncpTestBean bean);
|
||||||
|
|
||||||
public void insert(@RpcCall(DataCallArrayAttribute.class) SncpTestBean... beans);
|
public void insert(@RpcCall(RpcCallAttribute.class) SncpTestBean... beans);
|
||||||
|
|
||||||
public String updateBean(@RpcCall(SncpTestServiceImpl.CallAttribute.class) SncpTestBean bean);
|
public String updateBean(@RpcCall(SncpTestServiceImpl.CallAttribute.class) SncpTestBean bean);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import java.util.concurrent.*;
|
|||||||
import org.redkale.net.TransportFactory;
|
import org.redkale.net.TransportFactory;
|
||||||
import org.redkale.net.sncp.*;
|
import org.redkale.net.sncp.*;
|
||||||
import org.redkale.service.*;
|
import org.redkale.service.*;
|
||||||
import org.redkale.source.DataCallArrayAttribute;
|
|
||||||
import static org.redkale.test.sncp.SncpTest.*;
|
import static org.redkale.test.sncp.SncpTest.*;
|
||||||
import org.redkale.util.*;
|
import org.redkale.util.*;
|
||||||
|
|
||||||
@@ -84,7 +83,7 @@ public class SncpTestServiceImpl implements SncpTestIService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void insert(@RpcCall(DataCallArrayAttribute.class) SncpTestBean... beans) {
|
public void insert(@RpcCall(RpcCallAttribute.class) SncpTestBean... beans) {
|
||||||
for (SncpTestBean bean : beans) {
|
for (SncpTestBean bean : beans) {
|
||||||
bean.setId(System.currentTimeMillis());
|
bean.setId(System.currentTimeMillis());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user