package com.steering.pss.qcm.DAL;

import com.steering.comm.db.DBCommon;
import com.steering.comm.tools.EntityTool;
import com.steering.pss.qcm.model.PscEntity;
import CoreFS.SA06.CoreReturnObject;
import CoreFS.SA08.CoreXmlSqlParsersFactory;

public class ComPscDAL extends DBCommon{
	
	public CoreReturnObject queryPscDesc(String strJSON){
		PscEntity comPsc = EntityTool.getEntityByJSONStr(strJSON, PscEntity.class);
		String sql = CoreXmlSqlParsersFactory.getSql("ComPscDAL.queryPscDesc");
		sql = EntityTool.fillSqlByEntity(sql, comPsc);
		return this.getData(sql);
	}
}
