| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 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.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<ComMenu>{
- /**
- * @desc : 根据条件进行查询
- * @author : 周兴
- * @date : 2024/3/29 10:42
- */
- List<ComMenuResponse> selectByCond(ComMenuQuery comMenuQuery);
- /**
- * @desc : 保存常用功能
- * @author : 周兴
- * @date : 2024-03-28 10:30
- */
- int save(List<ComMenu> 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);
- }
|