wzp
2023-03-02 374ce4ffd0c459bb4067e8d5765f972668aff9b1
web/web/GwMoRoute.aspx.cs
@@ -12,7 +12,11 @@
public partial class _GwMoRoute : PageBase<SysUser>, IRequiresSessionState
{
    private List<GwOp> OpList;
    private int _userId = -1;
    private string _userType = "";
    private string _account = "";
    public GwSp GwSp { get; protected set; }
    public string SpID
@@ -30,6 +34,11 @@
    protected void Page_Load(object sender, EventArgs e)
    {
        this.CheckRight("306", FailedOperation.ErrorMsgOnly);
        _userId = this.AppContext.SessionObject.UserID;
        _userType = this.AppContext.SessionObject.UserType;
        _account = this.AppContext.SessionObject.Account;
        using (GwSpDao gwSpDao = new GwSpDao())
        {
            if (!string.IsNullOrEmpty(this.SpID))
@@ -83,7 +92,9 @@
        StringBuilder stringBuilder = new StringBuilder();
        using (GwSpDao gwSpDao = new GwSpDao())
        {
            List<GwSp> list = gwSpDao.LoadInfoList("", "", "");
            string permissionsSQL = new GwClientDao().GetClientPermissions(_userId, _userType, null);
            List<GwSp> list = gwSpDao.LoadInfoList("", "", "", permissionsSQL);
            if (list.Count == 0)
            {
                stringBuilder.Append("<option value=\"\">暂无帐号</option>");