feat(erp/shipment): 添加归档数据字段支持
- 在 ReplyShipmentInfo 结构体中新增 ArchiveData 字段 - 在 shipment 结构体中新增 ArchiveData 字段 - 调整 import 包引入顺序以符合代码规范
This commit is contained in:
		
							parent
							
								
									7cc2f3dc3d
								
							
						
					
					
						commit
						027c098279
					
				| @ -55,6 +55,7 @@ type ShipmentItem struct { | |||||||
| 	CreatedStaffId   int64      `json:"createdStaffId"` | 	CreatedStaffId   int64      `json:"createdStaffId"` | ||||||
| 	CreatedAt        *time.Time `json:"createdAt"` | 	CreatedAt        *time.Time `json:"createdAt"` | ||||||
| 	UpdatedAt        *time.Time `json:"updatedAt"` | 	UpdatedAt        *time.Time `json:"updatedAt"` | ||||||
|  | 	ArchiveData      int64      `json:"archiveData"` | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // List @TITLE 列表 | // List @TITLE 列表 | ||||||
|  | |||||||
| @ -1,8 +1,9 @@ | |||||||
| package shipment | package shipment | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
| 	"github.com/shopspring/decimal" |  | ||||||
| 	"time" | 	"time" | ||||||
|  | 
 | ||||||
|  | 	"github.com/shopspring/decimal" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| type ReplyShipmentInfo struct { | type ReplyShipmentInfo struct { | ||||||
| @ -78,4 +79,5 @@ type ReplyShipmentInfo struct { | |||||||
| 	SaleCurrencyRate             decimal.Decimal  `json:"saleCurrencyRate"` | 	SaleCurrencyRate             decimal.Decimal  `json:"saleCurrencyRate"` | ||||||
| 	BanFlag                      int64            `json:"banFlag"` | 	BanFlag                      int64            `json:"banFlag"` | ||||||
| 	IsExchangeSettlement         int64            `json:"isExchangeSettlement"` | 	IsExchangeSettlement         int64            `json:"isExchangeSettlement"` | ||||||
|  | 	ArchiveData                  int64            `json:"archiveData"` | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user