ShopZxMapper.java 816 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
package cn.wisenergy.mapper;


import cn.wisenergy.model.app.shopZx;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
licc's avatar
licc committed
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24

/**
 * Created by m1991 on 2021/2/24 14:50
 */
@Mapper
public interface ShopZxMapper extends BaseMapper<shopZx> {

    /**
     *  添加方法  zxUrl userId   zxName  zxField imgUrl
     * @param
     * @return 1
     */
    int zxadd(@Param("zxUrl") String zxUrl,@Param("userId") String userId,@Param("zxName") String zxName,@Param("zxField") String zxField,@Param("imgUrl") String imgUrl,@Param("zxAddress") String zxAddress);

m1991's avatar
m1991 committed
25
    /**
26
     * 查询资讯数据
m1991's avatar
m1991 committed
27
     */
28
    List<shopZx> selectPage(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);
29
}