DutyRosterBaseDao.java
3.34 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package com.zteits.park.dao;
import java.util.List;
import com.zteits.clouds.api.apibase.bean.BizResult;
import com.zteits.clouds.api.dto.park.param.dutyroster.BerthRangeNoQueryByOrgIdReq;
import com.zteits.clouds.api.dto.park.param.dutyroster.DeleteParkForDutyRosterReq;
import com.zteits.clouds.api.dto.park.param.dutyroster.DutyRosteExchangeReq;
import com.zteits.clouds.api.dto.park.param.dutyroster.DutyRosterBaseQueryReq;
import com.zteits.park.domain.DutyRosterBase;
/**
* Copyright: Copyright (c) 2018 zteits
*
* @ClassName: com.zteits.park.dao
* @Description: 排班计划基础表dao层服务
* @version: v1.0.0
* @author: atao
* @date: 2018/8/15 下午3:34
* Modification History:
* Date Author Version Description
* ---------------------------------------------------------*
* 2018/8/15 atao v1.0.0 创建
*/
public interface DutyRosterBaseDao {
/**
* 保存排班计划基础数据
*
* @param
* @return
* @Author: atao
* @Date: 2018/8/15 下午3:14
*/
Integer saveDutyRosterBase(List<DutyRosterBase> dutyRosterBases);
/**
* 查询排班计划基础数据
* @return
*/
List<DutyRosterBase> queryDutyRosterBase(DutyRosterBaseQueryReq req);
/**
* 通过排班计划Id查询排班计划基础数据
* @return
*/
List<DutyRosterBase> queryDutyRosterBaseByPlanId(Long planId);
/**
* 通过排班计划Id查询排班计划基础数据
* @return
*/
Integer deleteutyRosterBaseByPlanId(Long orgId,List<Long> PlanIds,Integer dutyType);
/**
* 通过排班计划Id,车场编码删除排班计划中对应的车场
* @return
*/
Integer deleteParkByPlanIdAndPlNosForRosterBase(DeleteParkForDutyRosterReq req);
/**
* 查询剩余人数更新roster_plan
* @param planId
* @return
*/
Integer queryHaveChargerNumForUpdatePlan(Long planId);
/**
* 通过收费员编码删除数据
* @return
*/
Integer deleteutyRosterBaseByChargerCodes(Long orgId,List<String> chargerCodes,Integer dutyType);
/**
* 根据 组织Id 和 排班计划ID 将temp里面的数据 移到 base表中
* @param orgId
* @param planId
* @return
*/
Integer moveTempToBase(Long orgId,Long planId,Integer dutyType);
/**
* 查询已排班的停车场
* @param
* @return
* @Author: atao
* @Date: 2018/8/26 下午1:25
*
*/
List<String> queryHasDutyRosterParkLot(Long orgId,List<String> plNos,Integer dutyType);
/**
* 根据停车场查询收费员编码
* @param orgId
* @param plNos
* @return
*/
List<String> queryChargersByPlNos(Long orgId,List<String> plNos,Integer dutyType);
/**
* 根据收费员编码 更新排班信息
* @param chargerCode
* @param base
* @return
*/
Integer updateDutyRosterBaseByChargerCode(String chargerCode,DutyRosterBase base);
/**
* 永久调班,两个收费员调换工作区域
*
* @param
* @return
* @Author: atao
* @Date: 2018-11-23 16:36
*
*/
Integer exchangeDutyRoster(DutyRosteExchangeReq req);
/**
* 根据组织ID 查询泊位区间
* @param req
* @return
*/
List<String> queryBerthRangeNoByOrgId(BerthRangeNoQueryByOrgIdReq req);
}