ChannelProductMapper.java
588 Bytes
package com.sincere.wechatbusiness.mapper;
import com.sincere.wechatbusiness.model.ChannelProduct;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ChannelProductMapper {
List<ChannelProduct> getList(int id);
int insert(ChannelProduct channelProduct);
int update(ChannelProduct channelProduct);
int deleteChannelProduct(int id);
ChannelProduct getDetail(int id);
int updateChannelProductMsg(ChannelProduct channelProduct);
int updateProductOpenAddress(@Param("openAddress") int openAddress , @Param("id") int id);
}