作者 yangfu

我审核的机会

... ... @@ -43,7 +43,7 @@ func (s SuplusApprove) NewApproveInstance(header *protocol.RequestHeader, proces
relativeId int64
userCompany *models.UserCompany
)
if userCompany, err = models.GetUserCompanyByUserId(header.UserId, header.CompanyId); err != nil {
if userCompany, err = models.GetUserCompanyByUserId(header.Uid, header.CompanyId); err != nil {
log.Error(err)
return
}
... ...
... ... @@ -386,6 +386,7 @@ func ChanceUpdate(header *protocol.RequestHeader, request *protocol.ChanceSubmit
//6.更新文件
{
if chanceData, err = models.GetChanceDataByChanceId(chance.Id); err == nil {
if err = utils.UpdateTableByMapWithOrmer(orm, chanceData, map[string]interface{}{
"Speechs": common.AssertJson(request.Speechs),
"Images": common.AssertJson(request.Pictures),
... ...