|
@@ -15,7 +15,7 @@ type MediumSettlementWithFlowDb struct { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (m MediumSettlementWithFlowDb) MediumSettlementWithFlowInsertBySession(session *xorm.Session, mediumSettlementWithFlow *model.MediumSettlementWithFlow) (int64, error) { |
|
|
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 { |
|
|
if err != nil { |
|
|
return 0, err |
|
|
return 0, err |
|
|
} |
|
|
} |
|
|