src/main/java/com/lwb/hr/controller/EmployeeController.java

(开头部分) 3KB

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

package com.lwb.hr.controller;


import com.lwb.hr.entity.Employee;
import com.lwb.hr.entity.EmployeeView;
import com.lwb.hr.service.impl.EmployeeServiceImpl;
import com.lwb.hr.service.impl.EmployeeViewServiceImpl;
import com.lwb.hr.util.EncryptionUtil;
import com.lwb.hr.util.MTimeUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.io.OutputStream;

/**
 * <p>
 * 员工表 前端控制器
 * </p>
 *
 * @author 刘文博
 * @since 2021-05-12
 */
@Controller
@RequestMapping("/employee")
public class EmployeeController {

    @Autowired
    EmployeeViewServiceImpl employeeViewService;
    @Autowired
    EmployeeServiceImpl employeeService;




    @GetMapping("/welcome")
    public String welcome(){

        return "welcome";
    }

    @GetMapping("/oneself")
    public String showOneselfDetal(){

        return "user/oneself_detail";
    }

    @RequestMapping("/oneself/toupdate")
    public String showOneselftoUpdate(){

        return "user/oneself_update";
    }

后面还有 54 行代码,购买后查看完整代码

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

AI 解读

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

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