DutyRosterBaseSMapper.java
1.54 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
package com.zteits.park.mapper.smapper;
import java.util.List;
import com.zteits.clouds.api.dto.park.param.dutyroster.BerthRangeNoQueryByOrgIdReq;
import com.zteits.clouds.api.dto.park.param.dutyroster.DutyRosteExchangeReq;
import org.apache.ibatis.annotations.Param;
public interface DutyRosterBaseSMapper {
/**
* 根据 组织Id 和 排班计划ID 将temp里面的数据 移到 base表中
* @param orgId
* @param planId
* @return
*/
Integer moveTempToBase(@Param("orgId") Long orgId,@Param("planId") Long planId,@Param("dutyType")Integer dutyType);
/**
* 查询已排班的停车场编号
* @return
*/
List<String> queryHasDutyRosterParkLot(@Param("orgId")Long orgId,@Param("plNos")List<String> plNos,@Param("dutyType")Integer dutyType);
/**
* 根据停车场查询收费员编码
* @return
*/
List<String> queryChargersByPlNos(@Param("orgId")Long orgId,@Param("plNos")List<String> plNos,@Param("dutyType")Integer dutyType);
/**
* 永久调班,两个收费员调换工作区域
*
* @param
* @return
* @Author: atao
* @Date: 2018-11-23 16:36
*
*/
Integer exchangeDutyRoster(DutyRosteExchangeReq req);
/**
* 根据组织ID 查询泊位区间
* @param req
* @return
*/
List<String> queryBerthRangeNoByOrgId(BerthRangeNoQueryByOrgIdReq req);
/**
* 询剩余人数更新roster_plan
* @param planId
* @return
*/
Integer queryHaveChargerNumForUpdatePlan(@Param("planId") Long planId);
}