예제 #1
0
        /// <summary>
        ///     查询是否已核对
        /// </summary>
        /// <param name="wonoStr">工单号</param>
        /// <returns></returns>
        private static bool IsChecked(string wonoStr)
        {
            var sql       = $"SELECT checked FROM tf_sgdantwo WHERE shigongdanhao='{wonoStr}'";
            var isChecked = SqlHelper.ExecuteScalar(SqlHelper.GetConnSting(), CommandType.Text, sql);

            return(isChecked != null && (bool)isChecked);
        }