Merge pull request '你好' (#1) from liaobiaojie_branch into master
commit
53ee69aae5
@ -1,78 +1,78 @@
|
||||
package com.yeqifu.bus.controller;
|
||||
package com.yeqifu.bus.controller;// 定义包名
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.stereotype.Controller; // 导入Spring的Controller注解
|
||||
import org.springframework.web.bind.annotation.RequestMapping;// 导入Spring的RequestMapping注解
|
||||
|
||||
/**
|
||||
* 业务管理的路由器
|
||||
* @Author: 落亦-
|
||||
* @Date: 2019/12/5 9:33
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("bus")
|
||||
@Controller// 标注为Spring的控制器组件
|
||||
@RequestMapping("bus")// 定义类级别的请求路径前缀为"bus"
|
||||
public class BusinessController {
|
||||
|
||||
/**
|
||||
* 跳转到客户管理页面
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("toCustomerManager")
|
||||
@RequestMapping("toCustomerManager")// 定义方法的请求路径为"toCustomerManager"
|
||||
public String toCustomerManager(){
|
||||
return "business/customer/customerManager";
|
||||
}
|
||||
}// 返回视图名称,跳转到客户管理页面
|
||||
|
||||
/**
|
||||
* 跳转到供应商管理页面
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("toProviderManager")
|
||||
@RequestMapping("toProviderManager")// 定义方法的请求路径为"toProviderManager"
|
||||
public String toProviderManager(){
|
||||
return "business/provider/providerManager";
|
||||
}
|
||||
}// 返回视图名称,跳转到供应商管理页面
|
||||
|
||||
/**
|
||||
* 跳转到商品管理页面
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("toGoodsManager")
|
||||
@RequestMapping("toGoodsManager")// 定义方法的请求路径为"toGoodsManager"
|
||||
public String toGoodsManager(){
|
||||
return "business/goods/goodsManager";
|
||||
}
|
||||
}// 返回视图名称,跳转到商品管理页面
|
||||
|
||||
/**
|
||||
* 跳转到进货管理页面
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("toInportManager")
|
||||
@RequestMapping("toInportManager")// 定义方法的请求路径为"toInportManager"
|
||||
public String toInportManager(){
|
||||
return "business/inport/inportManager";
|
||||
}
|
||||
}// 返回视图名称,跳转到进货管理页面
|
||||
|
||||
/**
|
||||
* 跳转到退货管理页面
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("toOutportManager")
|
||||
@RequestMapping("toOutportManager")// 定义方法的请求路径为"toOutportManager"
|
||||
public String toOutportManager(){
|
||||
return "business/outport/outportManager";
|
||||
}
|
||||
}// 返回视图名称,跳转到退货管理页面
|
||||
|
||||
/**
|
||||
* 跳转到商品销售管理页面
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("toSalesManager")
|
||||
@RequestMapping("toSalesManager")// 定义方法的请求路径为"toSalesManager"
|
||||
public String toSalesManager(){
|
||||
return "business/sales/salesManager";
|
||||
}
|
||||
}// 返回视图名称,跳转到商品销售管理页面
|
||||
|
||||
/**
|
||||
* 跳转到商品销售管理页面
|
||||
* 跳转到商品销售退货管理页面
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("toSalesbackManager")
|
||||
@RequestMapping("toSalesbackManager")// 定义方法的请求路径为"toSalesbackManager"
|
||||
public String toSalesbackManager(){
|
||||
return "business/salesback/salesbackManager";
|
||||
}
|
||||
}// 返回视图名称,跳转到商品销售退货管理页面
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in new issue