package com.yeejoin.amos.avic.face.service;


import java.util.List;

import org.springframework.stereotype.Component;
import org.typroject.tyboot.core.rdbms.annotation.Condition;
import org.typroject.tyboot.core.rdbms.annotation.Operator;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.avic.face.model.AvicCustomPathModel;
import com.yeejoin.amos.avic.face.orm.dao.AvicCustomPathMapper;
import com.yeejoin.amos.avic.face.orm.entity.AvicCustomPath;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 子杨
 * @since 2022-03-28
 */
@Component
public class AvicCustomPathService extends BaseService<AvicCustomPathModel,AvicCustomPath,AvicCustomPathMapper> {


        /**
         * 分页查询
         * @param string 
         */
        public Page<AvicCustomPathModel> queryForAvicCustomPathPage(Page<AvicCustomPathModel> page, @Condition(Operator.like) String pathName, String agencyCode)   {
        	return this.queryForPage(page, null, false, pathName, agencyCode);
        }

        /**
         * 列表查询 示例
         */
        public List<AvicCustomPathModel> queryForAvicCustomPathList(String agencyCode)   {
                return this.queryForList("" , false, agencyCode);
        }

		public AvicCustomPath queryForAvicCustomPathBySequenceNbr(String path) {
			return null;
		}
}
