首页>代码>ssm百货商城销售管理系统 >/department_store/src/com/controller/admin/AdminTypeController.java
package com.controller.admin;
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 com.service.admin.AdminTypeService;
@Controller
@RequestMapping("/adminType")
public class AdminTypeController extends BaseController{
	@Autowired
	private AdminTypeService adminTypeService;
	/**
	 * 到添加类型页面
	 */
	@RequestMapping("/toAddType")
	public String toAddType(Model model) {
		return adminTypeService.toAddType(model);
	}
	/**
	 * 添加类型
	 */
	@RequestMapping("/addType")
	public String addType(String typename,Model model,HttpSession session) {
		return adminTypeService.addType(typename, model, session);
	}
	/**
	 *到删除页面
	 */
	@RequestMapping("/toDeleteType")
	public String toDeleteType(Model model) {
		return adminTypeService.toDeleteType(model);
	}
	/**
	 * 删除类型
	 */
	@RequestMapping("/deleteType")
	public String deleteType(Integer id,Model model) {
		return adminTypeService.deleteType(id, model);
	}
	
}
最近下载更多
mds123456  LV2 11月5日
wuying8208  LV15 9月3日
lilily1119  LV4 4月28日
answer123  LV8 3月28日
jgkghj  LV2 3月20日
xmx123  LV5 2月26日
ningningnn  LV2 2月23日
yunYUN123  LV1 2月20日
qwe123456asd  LV3 2月3日
LITIANYU084414  LV11 1月1日
最近浏览更多
hongdongdong  LV12 前天
13807592443 12月4日
暂无贡献等级
limenghaoqwer 11月25日
暂无贡献等级
3263394665  LV9 11月25日
lisi12312 11月25日
暂无贡献等级
azaniya 11月21日
暂无贡献等级
jswlsq 11月21日
暂无贡献等级
limin123  LV6 11月20日
zxc131313  LV12 11月19日
微笑刺客  LV14 11月16日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友