CraftOrdDesignMscPlPrcBLL.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Core.Mes.Client.Comm.Format;
  6. using Core.Mes.Client.Comm.Tool;
  7. using CoreFS.CA06;
  8. using System.Data;
  9. using Core.Mes.Client.Comm.Server;
  10. namespace Core.StlMes.Client.SaleOrder.BLL
  11. {
  12. public class CraftOrdDesignMscPlPrcBLL
  13. {
  14. private OpeBase _ob;
  15. public CraftOrdDesignMscPlPrcBLL(OpeBase ob)
  16. {
  17. _ob = ob;
  18. }
  19. /// <summary>
  20. /// 查询质量设计工序
  21. /// </summary>
  22. /// <param name="designMscPlPrcEntity"></param>
  23. /// <returns></returns>
  24. public List<CraftOrdDesignMscPlPrcEntity> Query(CraftOrdDesignMscPlPrcEntity designMscPlPrcEntity)
  25. {
  26. List<CraftOrdDesignMscPlPrcEntity> designMscPlPrcEntityList = EntityHelper.GetData<CraftOrdDesignMscPlPrcEntity>(
  27. "com.steering.pss.sale.order.DAL.CraftOrdDesignMscPlPrcDAL.query", new object[] { JSONFormat.Format(designMscPlPrcEntity) }, _ob);
  28. return designMscPlPrcEntityList;
  29. }
  30. /// <summary>
  31. /// 通过DESIGN_KEY查询质量设计工序
  32. /// </summary>
  33. /// <param name="designMscPlPrcEntity"></param>
  34. /// <returns></returns>
  35. public List<CraftOrdDesignMscPlPrcEntity> QueryProcessByDesignKey(CraftOrdDesignMscPlPrcEntity designMscPlPrcEntity)
  36. {
  37. List<CraftOrdDesignMscPlPrcEntity> designMscPlPrcEntityList = EntityHelper.GetData<CraftOrdDesignMscPlPrcEntity>(
  38. "com.steering.pss.sale.order.DAL.CraftOrdDesignMscPlPrcDAL.queryProcessByDesignKey", new object[] { JSONFormat.Format(designMscPlPrcEntity) }, _ob);
  39. return designMscPlPrcEntityList;
  40. }
  41. public DataTable queryProcess(string designKey, string mscPline)
  42. {
  43. DataTable dt = ServerHelper.GetData("com.steering.pss.sale.order.DAL.CraftOrdDesignMscPlPrcDAL.queryProcess",
  44. new object[] { designKey, mscPline }, _ob);
  45. return dt;
  46. }
  47. public DataTable queryProcessNkIndex(string designKey, string mscPline, string processCode)
  48. {
  49. DataTable dt = ServerHelper.GetData("com.steering.pss.sale.order.DAL.CraftOrdDesignMscPlPrcDAL.queryProcessNkIndex",
  50. new object[]{designKey, mscPline, processCode}, _ob);
  51. return dt;
  52. }
  53. }
  54. }