PlnOrderZgSBLL.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using Core.Mes.Client.Comm.Server;
  2. using Core.Mes.Client.Comm.Tool;
  3. using CoreFS.CA06;
  4. using Newtonsoft.Json;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. namespace Core.StlMes.Client.SaleOrder.BLL
  10. {
  11. /// <summary>
  12. /// 数据库表PLN_ORDER_ZG_S所对应的BLL类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
  13. /// 作者:tgcx-test 时间:2017-01-10
  14. /// </summary>
  15. public class PlnOrderZgSBLL
  16. {
  17. private OpeBase _ob;
  18. public PlnOrderZgSBLL(OpeBase ob)
  19. {
  20. _ob = ob;
  21. }
  22. /// <summary>
  23. /// 查询
  24. /// </summary>
  25. public List<PlnOrderZgSEntity> Query(string[] parms)
  26. {
  27. List<PlnOrderZgSEntity> plnOrderZgSEntity = EntityHelper.GetData<PlnOrderZgSEntity>(
  28. "com.steering.pss.sale.order.DAL.PlnOrderZgSDAL.Query", new object[] { parms }, _ob);
  29. return plnOrderZgSEntity;
  30. }
  31. /// <summary>
  32. /// 通过主键查询
  33. /// </summary>
  34. public List<PlnOrderZgSEntity> QueryByPk(string ProPlanId, string GxPlanNo)
  35. {
  36. List<PlnOrderZgSEntity> plnOrderZgSEntity = EntityHelper.GetData<PlnOrderZgSEntity>(
  37. "com.steering.pss.sale.order.DAL.PlnOrderZgSDAL.QueryByPk", new object[] { ProPlanId, GxPlanNo }, _ob);
  38. return plnOrderZgSEntity;
  39. }
  40. }
  41. }