SysMechanicMapper.java 643 Bytes
package com.glsx.usercenter.mapper;

import org.apache.ibatis.annotations.Param;

import com.glsx.usercenter.pojo.user.SysMechanicEntity;

public interface SysMechanicMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(SysMechanicEntity record);

    int insertSelective(SysMechanicEntity record);

    SysMechanicEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysMechanicEntity record);

    int updateByPrimaryKey(SysMechanicEntity record);

	SysMechanicEntity selectByUserIdAndCheckStatus(@Param("userId") Integer userId,
			@Param("mechanicStatus") String mechanicStatus);
}