Skip to content

Commit

Permalink
test: fix test, and update persistence-core
Browse files Browse the repository at this point in the history
  • Loading branch information
GaoYushanTw committed Mar 2, 2021
1 parent 43a3859 commit 2d440ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

dependencies {
compileOnly 'org.projectlombok:lombok:1.18.2'
api 'com.happy3w:persistence-core:0.0.4'
api 'com.happy3w:persistence-core:0.0.5'
api 'org.apache.poi:poi-ooxml:3.17'
implementation 'org.slf4j:slf4j-api:1.7.25'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.happy3w.persistence.core.rowdata.config.NumFormatCfg;
import com.happy3w.persistence.core.rowdata.obj.ObjRdTableDef;
import com.happy3w.persistence.core.rowdata.simple.RdColumnDef;
import com.happy3w.persistence.core.rowdata.simple.RdTableDef;
import com.happy3w.persistence.core.rowdata.simple.ListRdTableDef;
import com.happy3w.persistence.excel.ExcelUtil;
import com.happy3w.persistence.excel.SheetPage;
import com.happy3w.persistence.excel.rdci.FillForegroundColorCfg;
Expand Down Expand Up @@ -98,7 +98,7 @@ private ExtConfigs createExtConfigs(IRdConfig...configs) {
public void should_read_write_success_with_rddef() throws IOException {
List<Student> orgStudentList = createTestData();

RdTableDef rdTableDef = new RdTableDef();
ListRdTableDef rdTableDef = new ListRdTableDef();
rdTableDef.config(new NumFormatCfg("#.00"))
.setColumns(Arrays.asList(RdColumnDef.builder() // 按照Excel中出现的Title顺序填写
.title("名字")
Expand Down

0 comments on commit 2d440ff

Please sign in to comment.