我有一个班级
public class datatonghop{
private float[] dinhMucChinh;
private String[] nhanCong;
public float[] getDinhMucChinh() {
return dinhMucChinh;
}
public void setDinhMucChinh(float[] dinhMucChinh) {
this.dinhMucChinh = dinhMucChinh;
}
public String[] getNhanCong() {
return nhanCong;
}
public void setNhanCong(String[] nhanCong) {
this.nhanCong = nhanCong;
}
}
和1课:我已经写下了addNumberFloat
方法
public class Report{
public void getReport(WritableSheet sheet,datatonghop db){
addNumberFloat(sheet, 4, 10, db.getDinhMucChinh()[0], libs_excel.boder_content_13_d_heso);
}
}
如何将数据库添加到float[] dinhMucChinh
并在主
getReport