|
@@ -538,7 +538,7 @@ func (this *OilSupplierCertSubController) AddGoodsByFilter() {
|
|
|
datamain.CreateUserId, _ = utils.StrTo(this.User.Id).Int()
|
|
datamain.CreateUserId, _ = utils.StrTo(this.User.Id).Int()
|
|
|
unitsvc := organize.GetOrganizeService(utils.DBE)
|
|
unitsvc := organize.GetOrganizeService(utils.DBE)
|
|
|
unitid := unitsvc.GetMyUnitDepartmentId(this.User.DepartmentId)
|
|
unitid := unitsvc.GetMyUnitDepartmentId(this.User.DepartmentId)
|
|
|
- if unitid == "100000095" { // 100000095 企管法规处(内控与风险管理处)
|
|
|
|
|
|
|
+ if unitid == "100000517" { // 100000517 企管法规处(内控与风险管理处)
|
|
|
datamain.CertSubStatus = "1"
|
|
datamain.CertSubStatus = "1"
|
|
|
}
|
|
}
|
|
|
//插入准入范围表
|
|
//插入准入范围表
|
|
@@ -696,7 +696,7 @@ func (this *OilSupplierCertSubController) AddTechBus() {
|
|
|
datamain.CreateUserId, _ = utils.StrTo(this.User.Id).Int()
|
|
datamain.CreateUserId, _ = utils.StrTo(this.User.Id).Int()
|
|
|
unitsvc := organize.GetOrganizeService(utils.DBE)
|
|
unitsvc := organize.GetOrganizeService(utils.DBE)
|
|
|
unitid := unitsvc.GetMyUnitDepartmentId(this.User.DepartmentId)
|
|
unitid := unitsvc.GetMyUnitDepartmentId(this.User.DepartmentId)
|
|
|
- if unitid == "100000095" {
|
|
|
|
|
|
|
+ if unitid == "100000517" {
|
|
|
datamain.CertSubStatus = "1"
|
|
datamain.CertSubStatus = "1"
|
|
|
}
|
|
}
|
|
|
svc.InsertEntityBytbl(OilSupplierCertSubName, &datamain)
|
|
svc.InsertEntityBytbl(OilSupplierCertSubName, &datamain)
|