38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace FineUIPro.Web.FingerMark
|
|
{
|
|
public partial class RegisterFinger : System.Web.UI.Page
|
|
{
|
|
protected string username = "";//接收用户名
|
|
protected string userId = "";//接收用户ID
|
|
protected string flag = "";
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
userId = Request.Params["userId"];
|
|
flag = Request.Params["flag"];
|
|
if (flag == "1")
|
|
{
|
|
var userInfo = BLL.HJGL_PersonManageService.GetWelderByWenId(userId);
|
|
if (userInfo != null)
|
|
{
|
|
username = userInfo.WED_Name;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
var userInfo = BLL.StoremanInfoService.GetStoremanById(userId);
|
|
if (userInfo != null)
|
|
{
|
|
username = userInfo.StoreName;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
} |