|
|
@ -204,6 +204,9 @@ func (s *Rpc) AddBaseOrganization(ctx context.Context, in *BaseOrganizationProto
|
|
|
|
LogUtil.Error(ErrorConst.SqlUpdateError, "执行MaxOrgSortId时发生严重错误:"+err.Error())
|
|
|
|
LogUtil.Error(ErrorConst.SqlUpdateError, "执行MaxOrgSortId时发生严重错误:"+err.Error())
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if model.SortId > 9999 {
|
|
|
|
|
|
|
|
model.SortId = 9999
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
model.BUse = 1
|
|
|
|
model.BUse = 1
|
|
|
|
_, err = BaseOrganizationDao.AddBaseOrganization(*model)
|
|
|
|
_, err = BaseOrganizationDao.AddBaseOrganization(*model)
|
|
|
|