package com.steering.pss.sale.order.DAL;

import com.steering.comm.db.DBCommon;
import com.steering.comm.tools.EntityTool;
import com.steering.pss.sale.order.model.DesignMscJgPlStiEntity;
import CoreFS.SA06.CoreReturnObject;
import CoreFS.SA08.CoreXmlSqlParsersFactory;

public class CraftOrdDesignMscJgPlStiDAL extends DBCommon{
	
	/**
	 * 查询接箍工序
	 * @param strDesignMscJgPlStiJSON
	 * @return
	 */
	public CoreReturnObject query(String strDesignMscJgPlStiJSON){
		DesignMscJgPlStiEntity designMscJgPlStiEntity = EntityTool.getEntityByJSONStr(strDesignMscJgPlStiJSON, DesignMscJgPlStiEntity.class);
		String sql = CoreXmlSqlParsersFactory.getSql("CraftOrdDesignMscJgPlStiDAL.query");
		sql = EntityTool.fillSqlByEntity(sql, designMscJgPlStiEntity);
		return this.getData(sql);
	}
}
