作者 yangfu

业务表同步

@@ -46,7 +46,7 @@ func (tableService *TableService) QueryBusinessTable(ctx *domain.Context, cmd *q @@ -46,7 +46,7 @@ func (tableService *TableService) QueryBusinessTable(ctx *domain.Context, cmd *q
46 byteCoreService := domainService.ByteCoreService{} 46 byteCoreService := domainService.ByteCoreService{}
47 response, err := byteCoreService.QueryBusinessTable(bytelib.ReqQueryBusinessTable{ 47 response, err := byteCoreService.QueryBusinessTable(bytelib.ReqQueryBusinessTable{
48 TableFullName: cmd.TableFullName, 48 TableFullName: cmd.TableFullName,
49 - PageNumber: cmd.PageNumber, 49 + PageNumber: cmd.PageNumber - 1, // 分页从0开始
50 PageSize: cmd.PageSize, 50 PageSize: cmd.PageSize,
51 }) 51 })
52 if err != nil { 52 if err != nil {