|
|
@@ -1311,7 +1311,8 @@ func (this *OilSupplierController) GetDictListByStatus() {
|
|
|
|
|
|
var unitorglist []organize.Base_Organize
|
|
|
//where := "Category='Unit'and Id not in (100000004,100000003,100000002) "
|
|
|
- where := "Category='Unit'and Id not in (100000880,100000201) "
|
|
|
+ //where := "Category='Unit'and Id not in (100000880,100000201) "
|
|
|
+ where := "Category='Unit'"
|
|
|
orgsvc.GetEntities(&unitorglist, where)
|
|
|
dictList["UnitOrgList"] = unitorglist
|
|
|
|
|
|
@@ -1371,7 +1372,8 @@ func (this *OilSupplierController) GetDictListByStatus() {
|
|
|
var allunitorglist []organize.Base_Organize
|
|
|
//where = "Category='Unit' and ParentId in (100000001, 100000128)"
|
|
|
//00097005 直属机构 00265300 公司机关 00097004 机关附属机构
|
|
|
- where = "Category='Unit' and OuterPhone in (00097005,00265300,00097004)"
|
|
|
+ //where = "Category='Unit' and OuterPhone in (00097005,00265300,00097004)"
|
|
|
+ where = "Category='Unit' and ParentId in (100000009, 100000004)"
|
|
|
orgsvc.GetEntities(&allunitorglist, where)
|
|
|
dictList["Allunitorglist"] = allunitorglist
|
|
|
|
|
|
@@ -1977,7 +1979,7 @@ func (this *OilSupplierController) GetFirAuditerByDept() {
|
|
|
userIds = strings.Trim(userIds, ",")
|
|
|
if userIds != "" {
|
|
|
// 企管法规处
|
|
|
- if unitId == "100000517" {
|
|
|
+ if unitId == "100000650" {
|
|
|
where := "Id in (" + userIds + ")"
|
|
|
svc.GetEntities(&userlist, where)
|
|
|
} else {
|