|
|
|
@@ -1,6 +1,21 @@
|
|
|
|
package com.example.rhizome.app.presentation.controller;
|
|
|
|
package com.example.rhizome.app.presentation.controller;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import static com.example.rhizome.app.presentation.controller.pageproperty.TransitionTargetPageNameKeyword.*;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
import java.util.logging.Level;
|
|
|
|
|
|
|
|
import java.util.logging.Logger;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
|
|
|
import org.springframework.ui.Model;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
|
|
|
|
|
|
import com.example.rhizome.aop.aspect.PermissionCheck;
|
|
|
|
import com.example.rhizome.aop.aspect.PermissionCheck;
|
|
|
|
import com.example.rhizome.aop.aspect.SessionCheck;
|
|
|
|
import com.example.rhizome.aop.aspect.SessionCheck;
|
|
|
|
import com.example.rhizome.app.domain.model.LoginUser;
|
|
|
|
import com.example.rhizome.app.domain.model.LoginUser;
|
|
|
|
@@ -12,22 +27,9 @@ import com.example.rhizome.app.presentation.controller.pageproperty.TransitionTa
|
|
|
|
import com.example.rhizome.app.presentation.form.DepartmentForm;
|
|
|
|
import com.example.rhizome.app.presentation.form.DepartmentForm;
|
|
|
|
import com.example.rhizome.app.presentation.form.LoginUserForm;
|
|
|
|
import com.example.rhizome.app.presentation.form.LoginUserForm;
|
|
|
|
import com.example.rhizome.app.presentation.form.MessageForm;
|
|
|
|
import com.example.rhizome.app.presentation.form.MessageForm;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
|
|
|
import org.springframework.ui.Model;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
import java.util.logging.Level;
|
|
|
|
|
|
|
|
import java.util.logging.Logger;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import static com.example.rhizome.app.presentation.controller.pageproperty.TransitionTargetPageNameKeyword.DELETE_EMPLOYEE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 削除処理のコントロータ
|
|
|
|
* 削除処理のコントローラ
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Controller
|
|
|
|
@Controller
|
|
|
|
public class DeleteEmployeeController {
|
|
|
|
public class DeleteEmployeeController {
|
|
|
|
|