PointsMapper.java
586 Bytes
package com.huaheng.pc.config.points.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.config.points.domain.Points;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * 货架 数据层
 *
 * @author ricard
 * @date 2019-12-26
 */
public interface PointsMapper extends BaseMapper<Points> {
    //修改货架位置信息
    int updatePoints(Points points);
    //修改所有货架的状态为初始状态
    int updateAll();
    int updateIsEmpty(@Param("list") List<String> list, @Param("isEmpty") Integer isEmpty);
}