Exemple #1
0
        /// <summary>
        /// 更新终端的版本(程序版本和数据版本)
        /// </summary>
        /// <param name="customerID">客户ID</param>
        /// <param name="userID">用户ID</param>
        /// <param name="unitID">门店ID</param>
        /// <param name="appVersion">程序版本</param>
        /// <param name="dbVersion">数据版本</param>
        /// <returns></returns>
        public bool ModifyPosVersion(string customerID, string userID, string unitID, string SN, string appVersion, string dbVersion)
        {
            LoggingSessionInfo ls          = new BaseInfouAuthService().GetLoggingSessionInfo(customerID, userID, unitID);
            PosService         pos_service = new PosService();

            return(pos_service.ModifyPosVersion(ls, SN, appVersion, dbVersion));
        }