作者 yangfu

审批自动通过

@@ -446,6 +446,7 @@ func setChanceAutoPass(header *protocol.RequestHeader, chance *models.Chance, or @@ -446,6 +446,7 @@ func setChanceAutoPass(header *protocol.RequestHeader, chance *models.Chance, or
446 approveData.PublicData = protocol.PublicData{PublishStatus: protocol.PublicToCompany} 446 approveData.PublicData = protocol.PublicData{PublishStatus: protocol.PublicToCompany}
447 chance.ApproveData = common.AssertJson(approveData) 447 chance.ApproveData = common.AssertJson(approveData)
448 chance.ApproveTime = time.Now() 448 chance.ApproveTime = time.Now()
  449 + chance.ReviewStatus = protocol.ReviewStatusPass
449 450
450 if err = agg.SendApproveMsg(chance.UserId, "", 451 if err = agg.SendApproveMsg(chance.UserId, "",
451 header.CompanyId, chance.Id, chance.ChanceTypeId, protocol.ReviewStatusAutoPass); err != nil { 452 header.CompanyId, chance.Id, chance.ChanceTypeId, protocol.ReviewStatusAutoPass); err != nil {