Exemple #1
0
        public bool M_Staff_Select(M_Staff_Entity mse)
        {
            DataTable dt = msdl.M_Staff_Select(mse);

            if (dt.Rows.Count > 0)
            {
                mse.StaffName             = dt.Rows[0]["StaffName"].ToString();
                mse.StoreCD               = dt.Rows[0]["StoreCD"].ToString();
                mse.StaffKana             = dt.Rows[0]["StaffKana"].ToString();
                mse.BMNCD                 = dt.Rows[0]["BMNCD"].ToString();
                mse.MenuCD                = dt.Rows[0]["MenuCD"].ToString();
                mse.KengenCD              = dt.Rows[0]["AuthorizationsCD"].ToString();
                mse.StoreAuthorizationsCD = dt.Rows[0]["StoreAuthorizationsCD"].ToString();
                mse.PositionCD            = dt.Rows[0]["PositionCD"].ToString();
                mse.JoinDate              = dt.Rows[0]["JoinDate"].ToString();
                mse.LeaveDate             = dt.Rows[0]["LeaveDate"].ToString();
                mse.Password              = dt.Rows[0]["Password"].ToString();
                mse.Remarks               = dt.Rows[0]["Remarks"].ToString();
                mse.DeleteFlg             = dt.Rows[0]["DeleteFlg"].ToString();
                mse.UsedFlg               = dt.Rows[0]["UsedFlg"].ToString();

                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemple #2
0
 public DataTable M_Staff_Select(M_Staff_Entity mse)
 {
     return(msdl.M_Staff_Select(mse));
 }