Browse Source

fix: PtuserId

2637309949 4 years ago
parent
commit
ad42adabec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      internal/logic/add_mkt_logic.go

+ 1 - 0
internal/logic/add_mkt_logic.go

@@ -51,6 +51,7 @@ func (l *AddMktLogic) AddMkt(in *transform.MktReq) (*transform.MktRes, error) {
 		mkt.QuaoYji = sql.NullInt64{Int64: in.QuaoYji, Valid: true}
 		mkt.LoadUser = sql.NullString{String: in.MkId, Valid: true}
 		mkt.StuFollowUpMonthly = sql.NullInt64{Int64: 1309, Valid: true}
+		mkt.PtuserId = sql.NullInt64{Int64: in.PartTimeUserId, Valid: true}
 		_, err := l.svcCtx.MktResourceModel.Insert(mkt)
 		if err != nil {
 			l.Logger.Error(err)