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

public class SlmOrdDesignMscJgBlDAL extends DBCommon{
	
	/**
	 * 查询接箍备料
	 * @param strDesignMscJgBlJSON
	 * @return
	 */
	public CoreReturnObject query(String strDesignMscJgBlJSON){
		DesignMscJgBlEntity designMscJgBlEntity = EntityTool.getEntityByJSONStr(strDesignMscJgBlJSON, DesignMscJgBlEntity.class);
		String sql = CoreXmlSqlParsersFactory.getSql("SlmOrdDesignMscJgBlDAL.query");
		sql = EntityTool.fillSqlByEntity(sql, designMscJgBlEntity);
		return this.getData(sql);
	}
}
