新增服务中心

This commit is contained in:
wuminglong 2019-07-26 14:17:47 +08:00
parent e560b0dceb
commit 2b93561eaa
4 changed files with 66 additions and 1 deletions

View File

@ -25,7 +25,7 @@ import com.bmw.quartz.service.ISysJobService;
/**
* 调度任务信息操作处理
*
* @author ruoyi
* @author bmw
*/
@Controller
@RequestMapping("/monitor/job")

35
bmw-servicecenter/pom.xml Normal file
View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>bmw</artifactId>
<groupId>com.bmw</groupId>
<version>3.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>bmw-servicecentre</artifactId>
<description>
服务中心模块
</description>
<dependencies>
<!-- Mysql驱动包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<!-- 通用工具-->
<dependency>
<groupId>com.bmw</groupId>
<artifactId>bmw-common</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,29 @@
package com.bmw.servicecenter.controller;
import com.bmw.common.core.controller.BaseController;
import com.bmw.common.core.page.TableDataInfo;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @author mwu
* @date 2019/7/26
*/
@Controller
@RequestMapping("/order")
public class OrderViewController extends BaseController {
@RequiresPermissions("order:list:view")
@GetMapping ("/list")
@ResponseBody
public TableDataInfo list()
{
System.out.println("订单列表");
return null;
}
}

View File

@ -213,6 +213,7 @@
<module>bmw-quartz</module>
<module>bmw-generator</module>
<module>bmw-common</module>
<module>bmw-servicecenter</module>
</modules>
<packaging>pom</packaging>