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

public class SlmOrdDesignMscCftRGzDAL extends DBCommon{
	
	/**
	 * 查询质量设计工艺与钢种关系
	 * @param strDesignMscCftRGzJSON
	 * @return
	 */
	public CoreReturnObject query(String strDesignMscCftRGzJSON){
		DesignMscCftRGzEntity designMscCftRGz = EntityTool.getEntityByJSONStr(strDesignMscCftRGzJSON, DesignMscCftRGzEntity.class);
		String sql = CoreXmlSqlParsersFactory.getSql("SlmOrdDesignMscCftRGzDAL.query");
		sql = EntityTool.fillSqlByEntity(sql, designMscCftRGz);
		return this.getData(sql);
	}
}
