ShopZxMapper.java 1.04 KB
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);

25
    /**分页 资讯内容倒叙查询
26
     * PageSize int,  --每页的记录数量,比如10条#{beginPos},#{pageSize}
27 28 29
     * @param
     * @return
     */
30
    List<shopZx> selectAll(@Param("PageSize") int PageSize,@Param("beginPos") int beginPos);
31 32 33 34 35 36

    //    /**查询方法
//     * @param
//     * @return
//     */
//    List<shopZx> selectAllNum(@Param("") int ,@Param("") int );
37 38

}