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

public class CraftOrdDesignMscBlDAL extends DBCommon{
	
	/**
	 * 查询质量设计备料
	 * @param strDesignMscBlJSON
	 * @return
	 */
	public CoreReturnObject query(String strDesignMscBlJSON){
		DesignMscBlEntity designMscBlEntity = EntityTool.getEntityByJSONStr(strDesignMscBlJSON, DesignMscBlEntity.class);
		String sql = CoreXmlSqlParsersFactory.getSql("CraftOrdDesignMscBlDAL.query");
		sql = EntityTool.fillSqlByEntity(sql, designMscBlEntity);
		return this.getData(sql);
	}
}
