/***文档注释***********************************************
 * 作者               :                   易鑫
 * 创建日期      :                   2017.10.24
 * 描述               :        			合同指定产线信息
 * 注意事项      :                   无
 * 遗留BUG :                   无
 * 修改日期      :                   
 * 修改人员      :                   
 * 修改内容      :                   
***********************************************************/
package market.Slm.ContractManagement.impl;

import java.util.List;

import market.Com.vo.CommonPage;
import market.Com.vo.ResultModel;
import market.Slm.ContractManagement.mapper.SlmContractModelLineMapper;
import market.Slm.ContractManagement.service.SlmContractModelLineService;
import market.Slm.ContractManagement.vo.SlmContractModelLine;

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

@RemoteService(path="SlmContractModelLineService")
public class SlmContractModelLineServiceImpl extends BaseServiceImpl<SlmContractModelLine,Object> implements SlmContractModelLineService {
	
	/**
	 * 合同范本行查询
	 * contract_model_no
	 * */
	public ResultModel doQueryWeb(CommonPage<SlmContractModelLine> sum) {
		ResultModel rm=new ResultModel();
		SlmContractModelLine heat=sum.getObject();
		try{
			List<SlmContractModelLine> list=this.getMapper(SlmContractModelLineMapper.class).findWithCondition(heat, null, null, 0, 0);
			rm.setData(list);
			rm.setState("200");
		}catch(Exception e){
			rm.setState("500");
			rm.setMsgInfo("查询失败");
		}
		return rm;
	}
	
}
