1340bc69eea5af4e82cb320c6c49cc4f3d24856e.svn-base 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package UIK.UIK02;
  2. import java.sql.ResultSet;
  3. import java.sql.SQLException;
  4. import java.util.ArrayList;
  5. import java.util.Hashtable;
  6. import UIB.COM.XmlSqlParsersFactory;
  7. import CoreFS.SA01.CoreIComponent;
  8. import CoreFS.SA06.CoreReturnObject;
  9. /**
  10. * 酸轧实绩查询
  11. *
  12. * @author siy
  13. * @date 2010-9-19
  14. */
  15. public class UIK020050 extends CoreIComponent {
  16. /**
  17. * 查询酸轧作业实绩冷轧卷基础信息
  18. *
  19. * @return
  20. * @throws SQLException
  21. */
  22. public CoreReturnObject queryColdCoilResult(String rollManaNo,
  23. String beginTime, String endTime, String coilNo)
  24. throws SQLException {
  25. CoreReturnObject cro = new CoreReturnObject();
  26. String sql = XmlSqlParsersFactory.getSql("UIK020050_01.SELECT");
  27. cro = this.getDao("KgDao").ExcuteQuery(sql,
  28. new Object[] { rollManaNo, beginTime, endTime, coilNo });
  29. return cro;
  30. }
  31. /**
  32. * 查询酸轧作业实绩
  33. *
  34. * @return
  35. * @throws SQLException
  36. */
  37. public CoreReturnObject queryAcidRollingResult(String rollManaNo,
  38. String beginTime, String endTime, String coilNo)
  39. throws SQLException {
  40. CoreReturnObject cro = new CoreReturnObject();
  41. String sql = XmlSqlParsersFactory.getSql("UIK020030_02.SELECT");
  42. cro = this.getDao("KgDao").ExcuteQuery(sql,
  43. new Object[] { rollManaNo, beginTime, endTime, coilNo });
  44. return cro;
  45. }
  46. /**
  47. * 查询酸轧作业实绩缺陷信息
  48. *
  49. * @return
  50. * @throws SQLException
  51. */
  52. public CoreReturnObject queryRollingDefectResult(String rollManaNo,
  53. String beginTime, String endTime, String coilNo)
  54. throws SQLException {
  55. CoreReturnObject cro = new CoreReturnObject();
  56. String sql = XmlSqlParsersFactory.getSql("UIK020030_03.SELECT");
  57. cro = this.getDao("KgDao").ExcuteQuery(sql,
  58. new Object[] { rollManaNo, beginTime, endTime, coilNo });
  59. return cro;
  60. }
  61. }