package com.unis.crk.basic.service;

import com.unis.crk.basic.entity.WeightPerson;
import com.baomidou.mybatisplus.extension.service.IService;
import com.unis.crk.basic.entity.vo.WeightPersonVo;
import cn.hutool.json.JSONObject;
import java.util.Map;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * <p>
 * 监磅员 服务类
 * </p>
 *
 * @author TangSong
 * @since 2023-05-12
 */
public interface IWeightPersonService extends IService<WeightPerson> {
        /**
         *保存监磅员
         * @param entity  监磅员业务数据
         * @return
         */
        JSONObject saveT(WeightPerson entity);
        /**
         *修改监磅员
         * @param  entity 监磅员业务数据
         * @return
         */
        JSONObject update(WeightPerson entity);
        /**
         *删除监磅员数据
         * @param id 监磅员主键尖
         * @return
         */
        JSONObject delete(String id);

        /**
         * 按照条件查询监磅员信息
         * @param pageQuery
         * @throws Exception
         */
        IPage<Map<String,Object>> findPageVo(WeightPersonVo pageQuery) ;


 }
