src/main/java/com/yj/oa/project/controller/AttendController.java

(开头部分) 8KB

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

package com.yj.oa.project.controller;

import com.yj.oa.common.utils.DateUtils;
import com.yj.oa.common.utils.StringUtils;
import com.yj.oa.framework.annotation.Operlog;
import com.yj.oa.framework.web.controller.BaseController;
import com.yj.oa.framework.web.page.TableDataInfo;
import com.yj.oa.framework.web.po.AjaxResult;
import com.yj.oa.project.mapper.LeaveFormMapper;
import com.yj.oa.project.po.Attend;
import com.yj.oa.project.po.WorkTime;
import com.yj.oa.project.service.attend.IAttendService;
import com.yj.oa.project.service.attendCount.IAttendCountService;
import com.yj.oa.project.service.workTime.IWorkTimeService;
import com.yj.oa.project.service.workTime.WorkTimeUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;

/**
 * @author 永健
 */
@Controller
@RequestMapping("/attend")
public class AttendController extends BaseController{
    private String prefix = "system/attend/";
    @Autowired
    IAttendService iAttendService;

    @Autowired
    IWorkTimeService iWorkTimeService;

    @Autowired
    IAttendCountService iAttendCountService;




    /**
     *
     * @描述: 跳转
     *
     * @params:
     * @return:
     * @date: 2018/10/2 18:12
     */

    @RequestMapping("/tolist")
    public String toList(Model model)
    {
        //考勤时间工作
        WorkTime workShif = iWorkTimeService.selectUsing();
后面还有 230 行代码,购买后查看完整代码

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

AI 解读 AI

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

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