|
|
@@ -1312,6 +1312,7 @@ func (this *OilSupplierController) GetDictListByStatus() {
|
|
|
status := this.GetString("status")
|
|
|
majorAduit := this.GetString("majorAduit")
|
|
|
addId := this.GetString("addId")
|
|
|
+ isTecContract := this.GetString("isTecContract")
|
|
|
dictList := make(map[string]interface{})
|
|
|
dictSvc := items.GetItemsService(utils.DBE)
|
|
|
userSvc := baseUser.GetBaseUserService(utils.DBE)
|
|
|
@@ -1402,7 +1403,10 @@ func (this *OilSupplierController) GetDictListByStatus() {
|
|
|
//where = "Category='Unit' and ParentId in (100000001, 100000128)"
|
|
|
//00097005 直属机构 00265300 公司机关 00097004 机关附属机构
|
|
|
//where = "Category='Unit' and OuterPhone in (00097005,00265300,00097004)"
|
|
|
- where = "Category='Unit' and ParentId in (100000009, 100000004)"
|
|
|
+ where = "(Category='Unit' and ParentId in (100000009, 100000004))"
|
|
|
+ if isTecContract == "1" {
|
|
|
+ where += " or Id = 100000656"
|
|
|
+ }
|
|
|
orgsvc.GetEntities(&allunitorglist, where)
|
|
|
dictList["Allunitorglist"] = allunitorglist
|
|
|
|