郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.gk.hotwork.specialWork.repository;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.hotwork.specialWork.entity.WorkGroundBreakingInfo;
import com.gk.hotwork.specialWork.model.query.WorkGroundBreakingQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface WorkGroundBreakingInfoRepository extends BaseMapper<WorkGroundBreakingInfo> {
 
    /**
     * 批量删除
     * @param idList
     * @param status
     * @return
     */
    int updateStatutsByIds(@Param("idList") List<Long> idList, @Param("status") byte status);
 
    /**
     * 条件查询
     * @param query
     * @return
     */
    List<WorkGroundBreakingInfo> listByConditions(@Param("query") WorkGroundBreakingQuery query);
}