项目人员信息档案新增、导入补充:机构划分、组织单元、人员分类、员工子组、备注信息
This commit is contained in:
@@ -163,7 +163,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static List<Model.Base_Unit> GetThisUnitDropDownList()
|
||||
{
|
||||
var list = (from x in Funs.DB.Base_Unit where x.UnitId == Const.UnitId_TCC select x).ToList();
|
||||
var list = (from x in Funs.DB.Base_Unit where x.UnitId == Const.UnitId_XJYJ select x).ToList();
|
||||
return list;
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace BLL
|
||||
List<Model.Base_Unit> unitList = new List<Model.Base_Unit>();
|
||||
if (string.IsNullOrEmpty(unitId))
|
||||
{
|
||||
unitId = Const.UnitId_TCC;
|
||||
unitId = Const.UnitId_XJYJ;
|
||||
}
|
||||
var unitIdList = GetChildrenUnitId(unitId);
|
||||
if (unitIdList.Count() > 0)
|
||||
@@ -216,7 +216,7 @@ namespace BLL
|
||||
if (isThisUnit)
|
||||
{
|
||||
list = (from x in Funs.DB.Base_Unit
|
||||
where x.IsBranch == true || x.UnitId == Const.UnitId_TCC
|
||||
where x.IsBranch == true || x.UnitId == Const.UnitId_XJYJ
|
||||
select x).OrderBy(x => x.UnitCode).ToList();
|
||||
}
|
||||
return list;
|
||||
@@ -923,7 +923,7 @@ namespace BLL
|
||||
{
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var q = (from x in db.Base_Unit where x.UnitId != BLL.Const.UnitId_TCC orderby x.UnitCode select x).ToList();
|
||||
var q = (from x in db.Base_Unit where x.UnitId != BLL.Const.UnitId_XJYJ orderby x.UnitCode select x).ToList();
|
||||
return q;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user