package com.nq.dao;
|
|
import com.nq.pojo.SitePayType;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Mapper
|
@Repository
|
public interface ISitePayTypeMapper {
|
|
void add(@Param("payTypeName") String payTypeName);
|
|
Integer getPayTypeByPayTypeName(@Param("payTypeName") String payTypeName);
|
|
SitePayType getById(@Param("id") int id);
|
|
void update(SitePayType payType);
|
|
List<SitePayType> listByAdmin(@Param("payTypeName") String payTypeName);
|
|
void del(Integer id);
|
|
List<SitePayType> listAll();
|
}
|