src/main/java/com/yj/oa/project/service/attendCount/AttendCountServiceImpl.java

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package com.yj.oa.project.service.attendCount;

import com.yj.oa.common.utils.myThread.MyAttendCountThread;
import com.yj.oa.project.mapper.*;
import com.yj.oa.project.po.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.*;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * @author 永健
 */
@Service
@Transactional
public class AttendCountServiceImpl implements IAttendCountService{
    private Logger log = LoggerFactory.getLogger(AttendCountServiceImpl.class);


    @Autowired
    AttendCountMapper attendCountMapper;

    @Autowired
    AttendMapper attendMapper;

    @Autowired
    WorkTimeMapper workTimeMapper;

    @Autowired
    UserMapper userMapper;
    @Autowired
    LeaveFormMapper leaveFormMapper;

    @Autowired
    ThreadPoolExecutor threadPoolExecutor;


    /**
     *
     * @描述 批量删除
     *
     * @date 2018/9/18 21:13
     */
    @Override
    public int deleteByPrimaryKeys(Integer[] positionId) throws RuntimeException
    {
        try
        {
            return attendCountMapper.deleteByPrimaryKeys(positionId);
        }
        catch (RuntimeException e)
        {
            log.error("$$$$$ 删除公失败=[{}]", e);
            throw new RuntimeException("操作失败!");
        }
后面还有 109 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。