package com.dk.mdm.mapper.mst; import com.dk.mdm.model.pojo.mst.ComMenu; import com.dk.common.mapper.BaseMapper; import com.dk.mdm.model.pojo.mst.MenuFrequency; import com.dk.mdm.model.query.mst.ComMenuQuery; import com.dk.mdm.model.query.mst.StaffQuery; import com.dk.mdm.model.response.mst.ComMenuResponse; import com.dk.mdm.model.vo.mst.ComMenuVO; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * 常用功能 Mapper */ @Repository public interface ComMenuMapper extends BaseMapper{ /** * @desc : 根据条件进行查询 * @author : 周兴 * @date : 2024/3/29 10:42 */ List selectByCond(ComMenuQuery comMenuQuery); /** * @desc : 保存常用功能 * @author : 周兴 * @date : 2024-03-28 10:30 */ int save(List comMenuList); /** * @desc : 保存常用功能(建户使用) * @author : 周兴 * @date : 2024-05-08 10:30 */ int saveByCompany(ComMenuVO comMenuVO); /** * @desc : 删除该员工的功能 * @author : 周兴 * @date : 2024-03-29 10:30 */ int deleteMenuByStaff(@Param("staffId") String staffId); /** * @desc : 删除该公司的常用功能 * @author : 周兴 * @date : 2024-03-29 10:30 */ int deleteMenuByCpId(Integer cpId); /** * @desc : 插入常用菜单 * @author : 周兴 * @date : 2024/6/14 10:42 */ void insertComMenu(ComMenuVO comMenuVO); }