diff --git a/cmd/model/artworkStatement.go b/cmd/model/artworkStatement.go index 8afa5aa..65fc0ba 100644 --- a/cmd/model/artworkStatement.go +++ b/cmd/model/artworkStatement.go @@ -6,7 +6,7 @@ type StatementBatch struct { StType int32 `gorm:"column:st_type;unqiueIndex:sttype_uid_batchtime_idx;comment:对账单类型 1=版权 2=物权;"` ArtistUid string `gorm:"column:artist_uid;unqiueIndex:sttype_uid_batchtime_idx;comment:画家uid"` ArtistRealName string `gorm:"column:artist_real_name;comment:画家真实姓名;"` - FlowStatus int32 `gorm:"column:flow_status;comment:流程状态 1=未生成 2=已生成未签署 3=已签署"` + FlowStatus int32 `gorm:"column:flow_status;default:1;comment:流程状态 1=未生成 2=已生成未签署 3=已签署"` BatchTime string `gorm:"column:batch_time;unqiueIndex:sttype_uid_batchtime_idx;comment:批次时间;"` MinPrice float32 `gorm:"column:min_price;comment:委托销售底价"` GuaranteePrice float32 `gorm:"column:guarantee_price;comment:以收取保证金;"`