zhangnaisong
2023-08-03 8a6b8211f09d0371483341fbe7906d3952d6da27
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package com.ruoyi.app.patrolplan.service.impl;
 
import java.util.List;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.app.patrolplan.mapper.ArdAppPatrolpointMapper;
import com.ruoyi.app.patrolplan.domain.ArdAppPatrolpoint;
import com.ruoyi.app.patrolplan.service.IArdAppPatrolpointService;
 
import javax.annotation.Resource;
 
/**
 * app巡检计划点位Service业务层处理
 *
 * @author ard
 * @date 2023-08-02
 */
@Service
public class ArdAppPatrolpointServiceImpl implements IArdAppPatrolpointService {
    @Resource
    private ArdAppPatrolpointMapper ardAppPatrolpointMapper;
 
    /**
     * 查询app巡检计划点位
     *
     * @param id app巡检计划点位主键
     * @return app巡检计划点位
     */
    @Override
    public ArdAppPatrolpoint selectArdAppPatrolpointById(String id) {
        return ardAppPatrolpointMapper.selectArdAppPatrolpointById(id);
    }
 
    /**
     * 查询app巡检计划点位列表
     *
     * @param ardAppPatrolpoint app巡检计划点位
     * @return app巡检计划点位
     */
    @Override
    public List<ArdAppPatrolpoint> selectArdAppPatrolpointList(ArdAppPatrolpoint ardAppPatrolpoint) {
        return ardAppPatrolpointMapper.selectArdAppPatrolpointList(ardAppPatrolpoint);
    }
 
    /**
     * 新增app巡检计划点位
     *
     * @param ardAppPatrolpoint app巡检计划点位
     * @return 结果
     */
    @Override
    public int insertArdAppPatrolpoint(ArdAppPatrolpoint ardAppPatrolpoint) {
            return ardAppPatrolpointMapper.insertArdAppPatrolpoint(ardAppPatrolpoint);
    }
 
    /**
     * 修改app巡检计划点位
     *
     * @param ardAppPatrolpoint app巡检计划点位
     * @return 结果
     */
    @Override
    public int updateArdAppPatrolpoint(ArdAppPatrolpoint ardAppPatrolpoint) {
        return ardAppPatrolpointMapper.updateArdAppPatrolpoint(ardAppPatrolpoint);
    }
 
    /**
     * 批量删除app巡检计划点位
     *
     * @param ids 需要删除的app巡检计划点位主键
     * @return 结果
     */
    @Override
    public int deleteArdAppPatrolpointByIds(String[] ids) {
        return ardAppPatrolpointMapper.deleteArdAppPatrolpointByIds(ids);
    }
 
    /**
     * 删除app巡检计划点位信息
     *
     * @param id app巡检计划点位主键
     * @return 结果
     */
    @Override
    public int deleteArdAppPatrolpointById(String id) {
        return ardAppPatrolpointMapper.deleteArdAppPatrolpointById(id);
    }
}