Browse Source

修改优化测试项

callm 5 days ago
parent
commit
a14d2bfaef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS_MES_JC/FunctionCode/Make/Make_TestCollectionModule.cs

+ 1 - 1
UAS_MES_JC/FunctionCode/Make/Make_TestCollectionModule.cs

@@ -186,7 +186,7 @@ namespace UAS_MES_NEW.Make
             if (e.KeyCode == Keys.Enter)
             if (e.KeyCode == Keys.Enter)
             {
             {
                 bool needdata = false;
                 bool needdata = false;
-                if (dh.getFieldDataByCondition("product", "pr_needdata", "pr_code=(select ms_prodcode from makeserial where ms_sncode='" + ms_sncode.Text + "')").ToString() == "-1")
+                if (dh.getFieldDataByCondition("make left join craft on ma_prodcode=cr_prodcode and cr_code=ma_craftcode left join craftdetail on cd_crid=cr_id  ", "cd_bintest", "ma_code='" + ma_code.Text + "' and cd_stepcode='" + User.CurrentStepCode + "'").ToString() == "-1")
                 {
                 {
                     needdata = true;
                     needdata = true;
                 }
                 }