瀏覽代碼

去除验证工单状态大小写

章政 8 年之前
父節點
當前提交
913fcc9f2b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UAS-MES/PublicMethod/LogicHandler.cs

+ 1 - 1
UAS-MES/PublicMethod/LogicHandler.cs

@@ -222,7 +222,7 @@ namespace UAS_MES.PublicMethod
         /// <returns></returns>
         public static bool CheckMakeStatus(string iMaCode, out string ErrorMessage)
         {
-            string ma_statuscode = dh.getFieldDataByCondition(" make ", "ma_statuscode", "ma_code='" + iMaCode + "' ").ToString();
+            string ma_statuscode = dh.getFieldDataByCondition(" make ", "ma_statuscode", "Lower(ma_code)='" + iMaCode.ToLower() + "' ").ToString();
             ErrorMessage = "";
             if (ma_statuscode == "")
             {