src/main/java/com/yj/oa/project/service/attend/AttendServiceImpl.java
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.yj.oa.project.service.attend;
import com.yj.oa.common.constant.CsEnum;
import com.yj.oa.common.utils.DateUtils;
import com.yj.oa.common.utils.StringUtils;
import com.yj.oa.project.mapper.*;
import com.yj.oa.project.po.Attend;
import com.yj.oa.project.po.LeaveForm;
import com.yj.oa.project.po.User;
import com.yj.oa.project.po.WorkTime;
import com.yj.oa.project.service.workTime.WorkTimeUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.*;
/**
* @author 永健
*/
@Service
@Transactional
public class AttendServiceImpl implements IAttendService{
private Logger log = LoggerFactory.getLogger(AttendServiceImpl.class);
@Autowired
AttendMapper attendMapper;
@Autowired
WorkTimeMapper workTimeMapper;
@Autowired
UserMapper userMapper;
@Autowired
LeaveFormMapper leaveFormMapper;
/**
*
* @描述 批量删除
*
* @date 2018/9/18 21:13
*/
@Override
public int deleteByPrimaryKeys(Integer[] positionId) throws RuntimeException
{
try
{
return attendMapper.deleteByPrimaryKeys(positionId);
}
catch (RuntimeException e)
{
log.error("$$$$$ 删除公失败=[{}]", e);
throw new RuntimeException("操作失败!");
}
}
后面还有 188 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。