package com.matrix.system.shopXcx.dao; 
 | 
  
 | 
import com.matrix.core.pojo.PaginationVO; 
 | 
import com.matrix.system.shopXcx.bean.ShopWxtemplateMsg; 
 | 
import org.apache.ibatis.annotations.Param; 
 | 
  
 | 
import java.util.List; 
 | 
import java.util.Map; 
 | 
  
 | 
/** 
 | 
 * @description 微信模板消息 
 | 
 * @author  
 | 
 * @date 2020-01-01 10:57 
 | 
 */ 
 | 
public interface ShopWxtemplateMsgDao{ 
 | 
  
 | 
    public int insert(@Param("item") ShopWxtemplateMsg shopWxtemplateMsg); 
 | 
        
 | 
       public int batchInsert(@Param("list") List<ShopWxtemplateMsg> shopWxtemplateMsgList); 
 | 
        
 | 
    public int updateByMap(Map<String, Object> modifyMap); 
 | 
     
 | 
    public int updateByModel(@Param("record") ShopWxtemplateMsg shopWxtemplateMsg); 
 | 
     
 | 
    public int deleteByIds(@Param("list") List<String> list); 
 | 
     
 | 
    public int deleteById(Integer id); 
 | 
  
 | 
    public ShopWxtemplateMsg selectByCode(@Param("code") Integer code, @Param("companyId") Long companyId); 
 | 
  
 | 
    public int deleteByModel(@Param("record") ShopWxtemplateMsg shopWxtemplateMsg); 
 | 
     
 | 
    public List<ShopWxtemplateMsg> selectInPage(@Param("record") ShopWxtemplateMsg shopWxtemplateMsg, @Param("pageVo") PaginationVO pageVo); 
 | 
  
 | 
    public List<ShopWxtemplateMsg> selectByModel(@Param("record") ShopWxtemplateMsg shopWxtemplateMsg); 
 | 
     
 | 
    public int selectTotalRecord(@Param("record") ShopWxtemplateMsg shopWxtemplateMsg); 
 | 
     
 | 
    public ShopWxtemplateMsg  selectById(Integer id); 
 | 
     
 | 
    public ShopWxtemplateMsg  selectForUpdate(Integer id); 
 | 
  
 | 
    int updateStateByStateAndIds(@Param("list")List<String> ids, @Param("status")Integer status); 
 | 
} 
 |