소스 검색

去除验证工单状态大小写

章政 9 년 전
부모
커밋
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 == "")
             {