ComMenuMapper.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.dk.mdm.mapper.mst;
  2. import com.dk.mdm.model.pojo.mst.ComMenu;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.mdm.model.pojo.mst.MenuFrequency;
  5. import com.dk.mdm.model.query.mst.ComMenuQuery;
  6. import com.dk.mdm.model.response.mst.ComMenuResponse;
  7. import com.dk.mdm.model.vo.mst.ComMenuVO;
  8. import org.apache.ibatis.annotations.Param;
  9. import org.springframework.stereotype.Repository;
  10. import java.util.List;
  11. /**
  12. * 常用功能 Mapper
  13. */
  14. @Repository
  15. public interface ComMenuMapper extends BaseMapper<ComMenu>{
  16. /**
  17. * @desc : 根据条件进行查询
  18. * @author : 周兴
  19. * @date : 2024/3/29 10:42
  20. */
  21. List<ComMenuResponse> selectByCond(ComMenuQuery comMenuQuery);
  22. /**
  23. * @desc : 保存常用功能
  24. * @author : 周兴
  25. * @date : 2024-03-28 10:30
  26. */
  27. int save(List<ComMenu> comMenuList);
  28. /**
  29. * @desc : 保存常用功能(建户使用)
  30. * @author : 周兴
  31. * @date : 2024-05-08 10:30
  32. */
  33. int saveByCompany(ComMenuVO comMenuVO);
  34. /**
  35. * @desc : 删除该员工的功能
  36. * @author : 周兴
  37. * @date : 2024-03-29 10:30
  38. */
  39. int deleteMenuByStaff(@Param("staffId") String staffId);
  40. }