| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package com.dk.mdm.mapper.mst;
- import com.dk.common.model.response.mst.StaffResponse;
- import com.dk.mdm.model.pojo.mst.Activity;
- import com.dk.common.mapper.BaseMapper;
- import com.dk.mdm.model.query.mst.ActivityQuery;
- import com.dk.mdm.model.response.mst.ActivityResponse;
- import com.dk.mdm.model.response.mst.UnitResponse;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- /**
- * 活动管理 Mapper
- */
- @Repository
- public interface ActivityMapper extends BaseMapper<Activity>{
- /**
- * @desc : 根据条件进行查询
- * @author : 常皓宁
- * @date : 2024/2/26 10:36
- */
- List<ActivityResponse> selectByCond(ActivityQuery activityQuery);
- /**
- * @desc : 根据条件进行查询(数量)
- * @author : 常皓宁
- * @date : 2024/2/26 10:36
- */
- Long countByCond(ActivityQuery activityQuery);
- /**
- * @desc : 根据Id查询
- * @author : 常皓宁
- * @date : 2024/4/16 15:33
- */
- ActivityResponse selectById(@Param("activityId") String activityId);
- }
|