ITNfcSettingService.java 1.64 KB
Newer Older
吴卿华's avatar
吴卿华 committed
1 2 3
package com.zehong.system.service;

import java.util.List;
吴卿华's avatar
吴卿华 committed
4 5

import com.zehong.system.domain.TNfcRecord;
吴卿华's avatar
吴卿华 committed
6 7 8 9
import com.zehong.system.domain.TNfcSetting;

/**
 * settingService接口
吴卿华's avatar
吴卿华 committed
10
 *
吴卿华's avatar
吴卿华 committed
11 12 13
 * @author zehong
 * @date 2022-10-17
 */
吴卿华's avatar
吴卿华 committed
14
public interface ITNfcSettingService
吴卿华's avatar
吴卿华 committed
15 16 17
{
    /**
     * 查询setting
吴卿华's avatar
吴卿华 committed
18
     *
吴卿华's avatar
吴卿华 committed
19 20 21 22 23
     * @param nfcId settingID
     * @return setting
     */
    public TNfcSetting selectTNfcSettingById(Long nfcId);

zhangjianqian's avatar
zhangjianqian committed
24 25 26 27 28 29
    /**
     * 根据nfc获取详情
     * @param nfcNum
     * @return
     */
    public TNfcSetting getInfoByNfcNum(String nfcNum);
吴卿华's avatar
吴卿华 committed
30 31
    /**
     * 查询setting列表
吴卿华's avatar
吴卿华 committed
32
     *
吴卿华's avatar
吴卿华 committed
33 34 35 36 37 38 39
     * @param tNfcSetting setting
     * @return setting集合
     */
    public List<TNfcSetting> selectTNfcSettingList(TNfcSetting tNfcSetting);

    /**
     * 新增setting
吴卿华's avatar
吴卿华 committed
40
     *
吴卿华's avatar
吴卿华 committed
41 42 43 44 45 46 47
     * @param tNfcSetting setting
     * @return 结果
     */
    public int insertTNfcSetting(TNfcSetting tNfcSetting);

    /**
     * 修改setting
吴卿华's avatar
吴卿华 committed
48
     *
吴卿华's avatar
吴卿华 committed
49 50 51 52 53 54 55
     * @param tNfcSetting setting
     * @return 结果
     */
    public int updateTNfcSetting(TNfcSetting tNfcSetting);

    /**
     * 批量删除setting
吴卿华's avatar
吴卿华 committed
56
     *
吴卿华's avatar
吴卿华 committed
57 58 59 60 61 62 63
     * @param nfcIds 需要删除的settingID
     * @return 结果
     */
    public int deleteTNfcSettingByIds(Long[] nfcIds);

    /**
     * 删除setting信息
吴卿华's avatar
吴卿华 committed
64
     *
吴卿华's avatar
吴卿华 committed
65 66 67 68
     * @param nfcId settingID
     * @return 结果
     */
    public int deleteTNfcSettingById(Long nfcId);
吴卿华's avatar
吴卿华 committed
69 70 71 72 73 74 75

    /**
     * 巡检打卡查询列表
     * @param tNfcSetting
     * @return
     */
    List<TNfcRecord> punchClockList(TNfcSetting tNfcSetting);
吴卿华's avatar
吴卿华 committed
76 77 78 79 80 81 82

    /**
     * 巡检打卡详细信息
     * @param recordId
     * @return
     */
    TNfcRecord getPunchClockList(Long recordId);
吴卿华's avatar
吴卿华 committed
83
}