This commit is contained in:
redkale
2024-09-23 11:23:40 +08:00
parent 6162e71d29
commit 9235cd035a
4 changed files with 32 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
package org.redkale.test.source;
import java.math.BigInteger;
import java.util.Set;
import org.redkale.convert.json.JsonConvert;
import org.redkale.persistence.Id;
@@ -18,6 +19,8 @@ public class FullBean {
private String name;
private String[] remarks;
private byte[] img;
private BigInteger number;
@@ -48,6 +51,8 @@ public class FullBean {
private Double money2;
private Set<Integer> ids;
public long getSeqid() {
return seqid;
}
@@ -65,6 +70,23 @@ public class FullBean {
return this;
}
public String[] getRemarks() {
return remarks;
}
public void setRemarks(String[] remarks) {
this.remarks = remarks;
}
public Set<Integer> getIds() {
return ids;
}
public FullBean setIds(Set<Integer> ids) {
this.ids = ids;
return this;
}
public byte getBit() {
return bit;
}

View File

@@ -5,6 +5,7 @@
package org.redkale.test.source;
import java.math.BigInteger;
import java.util.Set;
import org.redkale.convert.json.JsonConvert;
import org.redkale.persistence.Id;
@@ -18,6 +19,8 @@ public class FullBean2 {
public String name;
public String[] remarks;
public byte[] img;
public BigInteger number;
@@ -35,7 +38,7 @@ public class FullBean2 {
public double money;
public byte bit;
public Boolean flag2;
public Short status2;
@@ -48,6 +51,8 @@ public class FullBean2 {
public Double money2;
public Set<Integer> ids;
@Override
public String toString() {
return JsonConvert.root().convertTo(this);

View File

@@ -34,7 +34,7 @@ public class FullBeanDynFunc extends EntityFullFunc<FullBean> {
setFieldValue(4, row, rs); // number: BigInteger
setFieldValue(4, row, rs); // bit: Byte
rs.setFlag(row.getBoolean(5, false));
rs.setStatus(row.getShort(6, (short) 0));
rs.setId(row.getInteger(7, 0));