| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Text;
- using Core.Mes.Client.Comm.Format;
- using Core.Mes.Client.Comm.Server;
- using Core.Mes.Client.Comm.Tool;
- using CoreFS.CA06;
- namespace Core.StlMes.Client.SaleOrder.BLL
- {
- public class CraftFileApplyBLL
- {
- private OpeBase _ob;
- public CraftFileApplyBLL(OpeBase ob)
- {
- _ob = ob;
- }
- public List<CraftFileApplyEntity> Query(CraftFileApplyEntity craftFileApply)
- {
- return EntityHelper.GetData<CraftFileApplyEntity>(
- "com.steering.pss.sale.order.DAL.CraftFileApplyDAL.query", new object[] { JSONFormat.Format(craftFileApply) }, _ob);
- }
- public void Save(List<CraftFileApplyEntity> craftFileApplyList)
- {
- ArrayList list = new ArrayList();
- foreach (CraftFileApplyEntity craftFileApply in craftFileApplyList)
- {
- list.Add(JSONFormat.Format(craftFileApply));
- }
- ServerHelper.SetData("com.steering.pss.sale.order.DAL.CraftFileApplyDAL.save",
- new object[] { list }, _ob);
- }
- public DataTable GetSampeCnt(CraftFileApplyEntity craftFileApply)
- {
- DataTable dt = ServerHelper.GetData("com.steering.pss.sale.order.DAL.CraftFileApplyDAL.getSampeCnt",
- new object[] { JSONFormat.Format(craftFileApply) }, _ob);
- return dt;
- }
- public DataTable GetMatchCraftFile(string ordLnPk)
- {
- DataTable dt = ServerHelper.GetData("com.steering.pss.sale.order.DAL.CraftFileApplyDAL.getMatchCraftFile",
- new object[] { ordLnPk }, _ob);
- return dt;
- }
- }
- }
|