This commit is contained in:
Redkale
2020-05-16 09:09:43 +08:00
parent 081773163b
commit 02cf587fcf
2 changed files with 2 additions and 4 deletions

View File

@@ -7,7 +7,6 @@ package org.redkale.test.sncp;
import java.util.concurrent.CompletableFuture;
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 void insert(@RpcCall(DataCallArrayAttribute.class) SncpTestBean... beans);
public void insert(@RpcCall(RpcCallAttribute.class) SncpTestBean... beans);
public String updateBean(@RpcCall(SncpTestServiceImpl.CallAttribute.class) SncpTestBean bean);
}

View File

@@ -12,7 +12,6 @@ import java.util.concurrent.*;
import org.redkale.net.TransportFactory;
import org.redkale.net.sncp.*;
import org.redkale.service.*;
import org.redkale.source.DataCallArrayAttribute;
import static org.redkale.test.sncp.SncpTest.*;
import org.redkale.util.*;
@@ -84,7 +83,7 @@ public class SncpTestServiceImpl implements SncpTestIService {
}
@Override
public void insert(@RpcCall(DataCallArrayAttribute.class) SncpTestBean... beans) {
public void insert(@RpcCall(RpcCallAttribute.class) SncpTestBean... beans) {
for (SncpTestBean bean : beans) {
bean.setId(System.currentTimeMillis());
}