|
|
|
@ -1,37 +0,0 @@
|
|
|
|
|
package top.ezzd.controller;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
|
|
import top.ezzd.pojo.Apply;
|
|
|
|
|
import top.ezzd.pojo.DepartmentMember;
|
|
|
|
|
import top.ezzd.service.DepartmentMemberService;
|
|
|
|
|
/**
|
|
|
|
|
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵIJ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա
|
|
|
|
|
* @author SmallHappy
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Controller
|
|
|
|
|
public class DepartmentMemberController {
|
|
|
|
|
@Resource
|
|
|
|
|
private DepartmentMemberService departmentMemberServiceImpl;
|
|
|
|
|
@RequestMapping("sdmByDname")
|
|
|
|
|
public String selectDepartmentMemberByDepartmentName(HttpSession session){
|
|
|
|
|
//<2F><>session<6F>л<EFBFBD>ȡapply<6C>еIJ<D0B5><C4B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
Apply apply = (Apply)session.getAttribute("apply");
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5>㽫<EFBFBD><E3BDAB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
|
|
|
|
List <DepartmentMember> result = departmentMemberServiceImpl.SelectDepartmentMemberServiceByDepartmentName(apply.getDepartment());
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>session<6F><6E>
|
|
|
|
|
session.setAttribute("member", result);
|
|
|
|
|
//<2F>ض<EFBFBD><D8B6><EFBFBD><EFBFBD>ҵIJ<D2B5><C4B2><EFBFBD>ҳ<EFBFBD><D2B3><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD>ˢ<EFBFBD><CBA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
return "redirect:/dispatcher?page=md";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|