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.DesignMscJgPlEntity;
import CoreFS.SA06.CoreReturnObject;
import CoreFS.SA08.CoreXmlSqlParsersFactory;

public class SlmOrdDesignMscJgPlDAL extends DBCommon{
	
	/**
	 * 查询接箍制程
	 * @param strDesignMscJgPlJSON
	 * @return
	 */
	public CoreReturnObject query(String strDesignMscJgPlJSON){
		DesignMscJgPlEntity designMscJgPlEntity = EntityTool.getEntityByJSONStr(strDesignMscJgPlJSON, DesignMscJgPlEntity.class);
		String sql = CoreXmlSqlParsersFactory.getSql("SlmOrdDesignMscJgPlDAL.query");
		sql = EntityTool.fillSqlByEntity(sql, designMscJgPlEntity);
		return this.getData(sql);
	}
}
