forked from free-lancers/electricity_bill_calc_service
		
	[计算相关]计算线损以及调整线损(完成)
This commit is contained in:
		| @@ -7,25 +7,27 @@ import ( | ||||
| ) | ||||
|  | ||||
| type ReportIndex struct { | ||||
| 	Id                    string          `json:"id"` | ||||
| 	Park                  string          `json:"parkId" db:"park_id"` | ||||
| 	Period                types.DateRange `json:"period"` | ||||
| 	Category              int16           `json:"category"` | ||||
| 	MeterType             int16           `json:"meter04kvType" db:"meter_04kv_type"` | ||||
| 	PricePolicy           int16           `json:"pricePolicy"` | ||||
| 	BasisPooled           int16           `json:"basisPooled"` | ||||
| 	AdjustPooled          int16           `json:"adjustPooled"` | ||||
| 	LossPooled            int16           `json:"lossPooled"` | ||||
| 	PublicPooled          int16           `json:"publicPooled"` | ||||
| 	Published             bool            `json:"published"` | ||||
| 	PublishedAt           *types.DateTime `json:"publishedAt" db:"published_at"` | ||||
| 	Withdraw              int16           `json:"withdraw"` | ||||
| 	LastWithdrawAppliedAt *types.DateTime `json:"lastWithdrawAppliedAt" db:"last_withdraw_applied_at"` | ||||
| 	LastWithdrawAuditAt   *types.DateTime `json:"lastWithdrawAuditAt" db:"last_withdraw_audit_at"` | ||||
| 	Status                *int16          `json:"status"` | ||||
| 	Message               *string         `json:"message"` | ||||
| 	CreatedAt             types.DateTime  `json:"createdAt" db:"created_at"` | ||||
| 	LastModifiedAt        types.DateTime  `json:"lastModifiedAt" db:"last_modified_at"` | ||||
| 	Id                          string          `json:"id"` | ||||
| 	Park                        string          `json:"parkId" db:"park_id"` | ||||
| 	Period                      types.DateRange `json:"period"` | ||||
| 	Category                    int16           `json:"category"` | ||||
| 	MeterType                   int16           `json:"meter04kvType" db:"meter_04kv_type"` | ||||
| 	PricePolicy                 int16           `json:"pricePolicy"` | ||||
| 	BasisPooled                 int16           `json:"basisPooled"` | ||||
| 	AdjustPooled                int16           `json:"adjustPooled"` | ||||
| 	LossPooled                  int16           `json:"lossPooled"` | ||||
| 	PublicPooled                int16           `json:"publicPooled"` | ||||
| 	Published                   bool            `json:"published"` | ||||
| 	PublishedAt                 *types.DateTime `json:"publishedAt" db:"published_at"` | ||||
| 	Withdraw                    int16           `json:"withdraw"` | ||||
| 	LastWithdrawAppliedAt       *types.DateTime `json:"lastWithdrawAppliedAt" db:"last_withdraw_applied_at"` | ||||
| 	LastWithdrawAuditAt         *types.DateTime `json:"lastWithdrawAuditAt" db:"last_withdraw_audit_at"` | ||||
| 	Status                      *int16          `json:"status"` | ||||
| 	Message                     *string         `json:"message"` | ||||
| 	CreatedAt                   types.DateTime  `json:"createdAt" db:"created_at"` | ||||
| 	LastModifiedAt              types.DateTime  `json:"lastModifiedAt" db:"last_modified_at"` | ||||
| 	AuthorizedLossRate          float64         `json:"authorized_loss_rate" db:"authorized_loss_rate"` | ||||
| 	AuthorizedLossRateIncrement float64         `json:"authorized_loss_rate_increment" db:"authorized_loss_rate_increment"` | ||||
| } | ||||
|  | ||||
| type ReportSummary struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user