36b8f35c2669b169faa41a6f4c6aa3901a36d563.svn-base 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using CoreFS.CA06;
  10. using System.Collections;
  11. using Infragistics.Win.UltraWinGrid;
  12. namespace Core.LZMes.Client.QCM
  13. {
  14. public partial class QCM030717 : FrmBase
  15. {
  16. public QCM030717()
  17. {
  18. InitializeComponent();
  19. }
  20. public string bacthno = "";
  21. private void QCM0307_Load(object sender, EventArgs e)
  22. {
  23. try
  24. {
  25. this.dataSet7.Clear();
  26. CoreClientParam ccp = new CoreClientParam();
  27. ccp.ServerName = "QCM.QCM03.QCM0302.QcmJhyPhyresultServiceImpl";
  28. ccp.MethodName = "getPRejudgeInfo";
  29. ccp.ServerParams = new object[] { bacthno };
  30. ccp.SourceDataTable = this.dataSet7.Tables[0];
  31. this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal);
  32. }
  33. catch (Exception ex)
  34. {
  35. System.Diagnostics.Debug.WriteLine(ex.ToString());
  36. MessageBox.Show("系统出错,请联系管理人员", "警告");
  37. }
  38. }
  39. private void button2_Click(object sender, EventArgs e)
  40. {
  41. try
  42. {
  43. this.Close();
  44. }
  45. catch (System.Exception ex)
  46. {
  47. System.Diagnostics.Debug.WriteLine(ex.ToString());
  48. }
  49. }
  50. private void button1_Click(object sender, EventArgs e)
  51. {
  52. foreach(UltraGridRow ugr in this.ultraGrid6.Rows)
  53. {
  54. if(ugr.Cells["CHECK"].Text.ToString() == "True")
  55. {
  56. string billetid = ugr.Cells["BILLETID"].Value.ToString();
  57. CoreClientParam ccp = new CoreClientParam();
  58. ccp.ServerName = "QCM.QCM03.QCM0307.QcmRejudgeApplyServiceImpl";
  59. ccp.MethodName = "JudgeF";
  60. ccp.ServerParams = new object[] { billetid,this.UserInfo.GetUserName(),"4"};
  61. ccp.SourceDataTable = this.dataSet7.Tables[0];
  62. this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal);
  63. }
  64. }
  65. doQuery();
  66. }
  67. private void doQuery()
  68. {
  69. try
  70. {
  71. this.dataSet7.Clear();
  72. CoreClientParam ccp = new CoreClientParam();
  73. ccp.ServerName = "QCM.QCM03.QCM0302.QcmJhyPhyresultServiceImpl";
  74. ccp.MethodName = "getPRejudgeInfo";
  75. ccp.ServerParams = new object[] { bacthno };
  76. ccp.SourceDataTable = this.dataSet7.Tables[0];
  77. this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal);
  78. }
  79. catch (Exception ex)
  80. {
  81. System.Diagnostics.Debug.WriteLine(ex.ToString());
  82. MessageBox.Show("系统出错,请联系管理人员", "警告");
  83. }
  84. }
  85. private void button3_Click(object sender, EventArgs e)
  86. {
  87. doQuery();
  88. }
  89. private void button4_Click(object sender, EventArgs e)
  90. {
  91. foreach(UltraGridRow ugr in this.ultraGrid6.Rows)
  92. {
  93. if(ugr.Cells["CHECK"].Text.ToString() == "True")
  94. {
  95. string billetid = ugr.Cells["BILLETID"].Value.ToString();
  96. CoreClientParam ccp = new CoreClientParam();
  97. ccp.ServerName = "QCM.QCM03.QCM0307.QcmRejudgeApplyServiceImpl";
  98. ccp.MethodName = "JudgeF";
  99. ccp.ServerParams = new object[] { billetid,this.UserInfo.GetUserName(),"3"};
  100. ccp.SourceDataTable = this.dataSet7.Tables[0];
  101. this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal);
  102. }
  103. }
  104. doQuery();
  105. }
  106. }
  107. }