SlmOrdDesignMscBLL.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 Core.StlMes.Client.SaleOrder;
  8. using CoreFS.CA06;
  9. namespace Core.StlMes.Client.SaleOrder.BLL
  10. {
  11. public class SlmOrdDesignMscBLL
  12. {
  13. private OpeBase _ob;
  14. public SlmOrdDesignMscBLL(OpeBase ob)
  15. {
  16. _ob = ob;
  17. }
  18. /// <summary>
  19. /// 查询质量设计MSC
  20. /// </summary>
  21. /// <param name="designMscEntity"></param>
  22. /// <returns></returns>
  23. public List<SlmOrdDesignMscEntity> Query(SlmOrdDesignMscEntity designMscEntity)
  24. {
  25. List<SlmOrdDesignMscEntity> designMscEntityList = EntityHelper.GetData<SlmOrdDesignMscEntity>(
  26. "com.steering.pss.sale.order.DAL.SlmOrdDesignMscDAL.query", new object[] { JSONFormat.Format(designMscEntity) }, _ob);
  27. return designMscEntityList;
  28. }
  29. /// <summary>
  30. /// 通过DESIGN_KEY查询质量设计MSC
  31. /// </summary>
  32. /// <param name="designMscEntity"></param>
  33. /// <returns></returns>
  34. public List<SlmOrdDesignMscEntity> QueryMscByDesignKey(SlmOrdDesignMscEntity designMscEntity)
  35. {
  36. List<SlmOrdDesignMscEntity> designMscEntityList = EntityHelper.GetData<SlmOrdDesignMscEntity>(
  37. "com.steering.pss.sale.order.DAL.SlmOrdDesignMscDAL.queryMscByDesignKey", new object[] { JSONFormat.Format(designMscEntity) }, _ob);
  38. return designMscEntityList;
  39. }
  40. }
  41. }