QcmZgPhyresultBLL.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using Core.Mes.Client.Comm.Tool;
  2. using Core.StlMes.Client.Judge.Commons;
  3. using Core.StlMes.Client.Judge.Models;
  4. using Core.StlMes.Client.Judge.ViewModels;
  5. using CoreFS.CA06;
  6. using System.Collections.Generic;
  7. namespace Core.StlMes.Client.Judge.BLLs
  8. {
  9. /// <summary>
  10. /// 数据库表QCM_ZG_PHYRESULT所对应的BLL类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
  11. /// 作者:tgcx-test 时间:2016-10-09
  12. /// </summary>
  13. public class QcmZgPhyresultBLL
  14. {
  15. private OpeBase _ob;
  16. public QcmZgPhyresultBLL(OpeBase ob)
  17. {
  18. _ob = ob;
  19. }
  20. /// <summary>
  21. /// 查询
  22. /// </summary>
  23. public List<QcmZgPhyResultCtrlEntity> Query(string stoveNo, JudgeType judgeType)
  24. {
  25. List<QcmZgPhyResultCtrlEntity> qcmZgPhyresultEntity = EntityHelper.GetData<QcmZgPhyResultCtrlEntity>(
  26. "com.steering.pss.judge.DAL.QcmZgPhyresultDAL.Query", new object[] { stoveNo, (int)judgeType }, _ob);
  27. return qcmZgPhyresultEntity;
  28. }
  29. /// <summary>
  30. /// 通过主键查询
  31. /// </summary>
  32. public List<QcmZgPhyresultEntity> QueryByPk(string PhyResultId, string PhyResultSeq)
  33. {
  34. List<QcmZgPhyresultEntity> qcmZgPhyresultEntity = EntityHelper.GetData<QcmZgPhyresultEntity>(
  35. "com.steering.pss.judge.DAL.QcmZgPhyresultDAL.QueryByPk", new object[] { PhyResultId, PhyResultSeq }, _ob);
  36. return qcmZgPhyresultEntity;
  37. }
  38. }
  39. }