/***文档注释***********************************************
 * 作者               :                   易鑫
 * 创建日期      :                   2017.11.21
 * 描述               :        			分条采样实绩
 * 注意事项      :                   无
 * 遗留BUG :                   无
 * 修改日期      :                   
 * 修改人员      :                   
 * 修改内容      :                   
***********************************************************/

package market.Mes.Lengthwise.Performance.impl;

import market.Com.vo.CommonPage;
import market.Com.vo.ResultModel;
import market.Mes.Lengthwise.Performance.mapper.MesCrSlittingSamplingMapper;
import market.Mes.Lengthwise.Performance.service.MesCrSlittingSamplingService;
import market.Mes.Lengthwise.Performance.vo.MesCrSlittingM;
import market.Mes.Lengthwise.Performance.vo.MesCrSlittingSampling;

import com.hnshituo.basic.service.impl.BaseServiceImpl;
import com.hnshituo.basic.spring.remoting.annotation.RemoteService;

@RemoteService(path="MesCrSlittingSamplingService")
public class MesCrSlittingSamplingServiceImpl extends BaseServiceImpl<MesCrSlittingSampling,Object> implements MesCrSlittingSamplingService {
	/**
	 * 工艺参数采样值查询
	 * */
	public ResultModel doQueryWeb(CommonPage<MesCrSlittingM> oci){
		ResultModel rm=new ResultModel();
		try{
			rm.setState("200");
			rm.setData(this.getMapper(MesCrSlittingSamplingMapper.class).doQuery(oci.getObject()));
		}catch(Exception ex){
			ex.printStackTrace();
			rm.setState("500");
			rm.setMsgInfo("查询失败!"+ex.getMessage());
		}
		return rm;
	}
}
