首页>代码>SSM+jQuery EasyUI后台管理系统>/sypro/src/sy/controller/RepairController.java
package sy.controller;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import sy.httpModel.Json;
import sy.service.RepairServiceI;


/**   
*    
* 项目名称:sypro   
* 类名称:RepairController   
* 类描述:   修复数据控制器
* 创建人:君无邪   
* 创建时间:2015年11月15日 下午4:58:21   
* 修改备注:  https://www.java214.com 
* @version    1.0
*    
*/ 
@Controller
@RequestMapping("/repairController")
public class RepairController extends BaseController {

	private static final Logger logger = Logger.getLogger(RepairController.class);

	private RepairServiceI repairService;

	public RepairServiceI getRepairService() {
		return repairService;
	}

	@Autowired
	public void setRepairService(RepairServiceI repairService) {
		this.repairService = repairService;
	}

	/**
	 * 修复数据
	 * 
	 * @return json
	 */
	@RequestMapping(params = "repair")
	@ResponseBody
	synchronized public Json repair() {
		Json j = new Json();
		repairService.repair();
		j.setSuccess(true);
		return j;
	}

}
最近下载更多
erqiu2013  LV18 2023年12月27日
张朕朕  LV3 2023年9月1日
王国平  LV7 2022年9月12日
137455054  LV9 2022年5月13日
myfz0662  LV10 2022年3月23日
幸运疯子  LV13 2021年12月16日
刘亦菲9527  LV15 2021年12月1日
zql666  LV9 2021年9月26日
zhoulang123  LV8 2021年9月4日
anzai123  LV3 2021年8月20日
最近浏览更多
暂无贡献等级
1303891  LV1 4月14日
123dwda 3月17日
暂无贡献等级
aachl1  LV5 1月16日
夜起星河  LV8 2023年12月29日
erqiu2013  LV18 2023年12月27日
WBelong  LV7 2023年12月19日
微信网友_6743904013045760  LV1 2023年11月20日
Henew168  LV2 2023年11月19日
要保持微笑  LV4 2023年11月15日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友