Commit b58cbf91 by chenxi

合并develop代码到主干

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@36978 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 51cf180b
......@@ -7,10 +7,11 @@
<parent>
<groupId>com.glsx</groupId>
<artifactId>car-service</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>
<artifactId>car-service-common</artifactId>
<version>1.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>car-service-common</name>
......@@ -309,6 +310,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
......
......@@ -251,9 +251,9 @@ public interface Constants {
/**
* 自动创建商户默认密码
*/
String MERCHANT_DAFAULT_PASSWORD = "123456";
String MERCHANT_DAFAULT_PASSWORD = "Gl@123987";
String DEFAULT_PASSWORD = "123456";
String DEFAULT_PASSWORD = "Gl@123987";
/*
* session中的用户id
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>car-service</artifactId>
<groupId>com.glsx</groupId>
<version>1.0.1</version>
<version>1.0.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
......@@ -25,7 +25,7 @@
<dependency>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.1</version>
<version>1.0.2-SNAPSHOT</version>
</dependency>
<!--导出工具-->
<dependency>
......
......@@ -190,9 +190,19 @@ public class CarOrderServiceImpl extends BaseOrderService implements CarOrderSer
*/
@Override
public PagedResp<SysOrder> getList(CarOrderQueryReq req) {
Integer pageIndex = req.getPageIndex();
if (req.getPageSize() == null) {
req.setPageSize(10);
}
if (req.getPageIndex() == null) {
req.setPageIndex(1);
}
Integer pageSize = req.getPageSize();
if (pageIndex != null && pageSize != null) {
pageSize = pageSize > 50 ? 50 : pageSize;
req.setPageSize(pageSize);
PageHelper.startPage(pageIndex, pageSize, true);
}
this.wrapReqUserType(req);
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>car-service</artifactId>
<groupId>com.glsx</groupId>
<version>1.0.1</version>
<version>1.0.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
......@@ -31,7 +31,7 @@
<dependency>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.1</version>
<version>1.0.2-SNAPSHOT</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>car-service</artifactId>
<groupId>com.glsx</groupId>
<version>1.0.1</version>
<version>1.0.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
......@@ -23,7 +23,7 @@
<dependency>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.1</version>
<version>1.0.2-SNAPSHOT</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
......
......@@ -32,6 +32,7 @@ import java.util.Map;
* @Description TODO PC端管理服务提供商
* @date 2019/8/8 16:16
*/
@AuthCheck
@RestController
@RequestMapping(value = "/provider")
public class ProviderController extends BaseController {
......
......@@ -3,6 +3,7 @@
*/
package com.glsx.usercenter.controller;
import com.glsx.common.annotation.AuthCheck;
import com.glsx.common.annotation.Log;
import com.glsx.common.constants.Constants;
import com.glsx.common.constants.ResultObject;
......@@ -28,6 +29,7 @@ import java.util.Map;
* @Description: TODO(这里用一句话描述这个类的作用)
* @date 2019年1月4日
*/
@AuthCheck
@RestController
@RequestMapping(value = "/sysMenu")
public class SysMenuController extends BaseController {
......
......@@ -15,7 +15,7 @@
</parent>
<artifactId>car-service</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<name>car-service</name>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!