com.zyy.common.mapper.MethodMapper Maven / Gradle / Ivy
package com.zyy.common.mapper;
import com.zyy.common.model.Request;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import java.util.List;
@Repository
public interface MethodMapper extends Mapper {
@Select("select request_id from dlg_sso.request where app = #{app} and is_valid = 0")
List selectIdByApp(@Param("app") String app);
@Update("")
void deleteByIdList(@Param("idList") List idList);
}