CraftOrdDesignMscPlGzBLL.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. namespace Core.StlMes.Client.SaleOrder.BLL
  9. {
  10. public class CraftOrdDesignMscPlGzBLL
  11. {
  12. private OpeBase _ob;
  13. public CraftOrdDesignMscPlGzBLL(OpeBase ob)
  14. {
  15. _ob = ob;
  16. }
  17. /// <summary>
  18. /// 查询质量设计钢种
  19. /// </summary>
  20. /// <param name="designMscPlGzEntity"></param>
  21. /// <returns></returns>
  22. public List<CraftOrdDesignMscPlGzEntity> Query(CraftOrdDesignMscPlGzEntity designMscPlGzEntity)
  23. {
  24. List<CraftOrdDesignMscPlGzEntity> designMscPlGzEntityList = EntityHelper.GetData<CraftOrdDesignMscPlGzEntity>(
  25. "com.steering.pss.sale.order.DAL.CraftOrdDesignMscPlGzDAL.query", new object[] { JSONFormat.Format(designMscPlGzEntity) }, _ob);
  26. return designMscPlGzEntityList;
  27. }
  28. /// <summary>
  29. /// 查询质量设计钢种
  30. /// </summary>
  31. /// <param name="designMscPlGzEntity"></param>
  32. /// <returns></returns>
  33. public List<CraftOrdDesignMscPlGzEntity> QueryGradeByDesignKey(CraftOrdDesignMscPlGzEntity designMscPlGzEntity)
  34. {
  35. List<CraftOrdDesignMscPlGzEntity> designMscPlGzEntityList = EntityHelper.GetData<CraftOrdDesignMscPlGzEntity>(
  36. "com.steering.pss.sale.order.DAL.CraftOrdDesignMscPlGzDAL.queryGradeByDesignKey", new object[] { JSONFormat.Format(designMscPlGzEntity) }, _ob);
  37. return designMscPlGzEntityList;
  38. }
  39. }
  40. }