Browse Source

站点重置BUG修改

callm 1 day ago
parent
commit
fc6181e117
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS_MES_ZT/FunctionCode/Special/Special_Reset.cs

+ 1 - 1
UAS_MES_ZT/FunctionCode/Special/Special_Reset.cs

@@ -52,7 +52,7 @@ namespace UAS_MES_NEW.Special
         private void ReSN(string sncode, string stepcode)
         {   
             string stname = dh.getFieldDataByCondition("step", "st_name", "st_code = '" + stepcode +  "'").ToString();
-            dh.ExecuteSql("update makeserial set MS_STEPCODE = '',MS_CHECKNO = '', ms_status=1,ms_outboxcode='',ms_nextstepcode= '"+ stepcode + "',ms_stepcode='' where ms_sncode='" + sncode + "' and ms_nextmacode is null", "update");
+            dh.ExecuteSql("update makeserial set MS_CHECKNO = '', ms_status=1,ms_outboxcode='',ms_nextstepcode= '"+ stepcode + "',ms_stepcode='' where ms_sncode='" + sncode + "' and ms_nextmacode is null", "update");
             //if (checkBox1.Checked)
             //{
             //    dh.ExecuteSql("update makeserial set ms_bs = '',ms_key='',ms_keyid='',MS_HARDWREID='',MS_KEYSTATEID='',MS_BIOS='',ms_ec='',ms_uuid='',MS_KEYPARTNUMBER='',ms_bt='',ms_mac='',ms_imei='' where ms_sncode = '" + sncode + "' and ms_makecode = '" + ms_makecode.Text + "'", "update");