diff --git a/src/super/implement/medium_settlement_with_flow_implement.go b/src/super/implement/medium_settlement_with_flow_implement.go index b4475b2..ae97424 100644 --- a/src/super/implement/medium_settlement_with_flow_implement.go +++ b/src/super/implement/medium_settlement_with_flow_implement.go @@ -15,7 +15,7 @@ type MediumSettlementWithFlowDb struct { } func (m MediumSettlementWithFlowDb) MediumSettlementWithFlowInsertBySession(session *xorm.Session, mediumSettlementWithFlow *model.MediumSettlementWithFlow) (int64, error) { - insertAffected, err := session.InsertOne(m) + insertAffected, err := session.InsertOne(mediumSettlementWithFlow) if err != nil { return 0, err }