feat: 支持系统单位和多语言配置
通过系统环境维护单位及语言开关,并调整相关页面和接口以使用当前配置。
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
public static bool GetProjectUnitTypeByProjectIdUnitId(string projectId, string unitId)
|
||||
{
|
||||
bool isShow = false;
|
||||
if (unitId != Const.UnitId_SEDIN)
|
||||
if (unitId != CommonService.GetThisUnitId())
|
||||
{
|
||||
var pUnit = Funs.DB.Project_ProjectUnit.FirstOrDefault(e => e.ProjectId == projectId && e.UnitId == unitId);
|
||||
if (pUnit != null)
|
||||
|
||||
Reference in New Issue
Block a user