Commit 4b65d01d authored by ysongq's avatar ysongq

Merge branch 'dm_dev' of http://gitlab.ioubuy.cn/yaobenzhang/dm_project into dm_dev

parents e1db4b78 5df3f0c7
...@@ -74,10 +74,10 @@ ...@@ -74,10 +74,10 @@
</dependency> </dependency>
<!-- spring boot 和mybatis --> <!-- spring boot 和mybatis -->
<dependency> <!--<dependency>
<groupId>org.mybatis.spring.boot</groupId> <groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId> <artifactId>mybatis-spring-boot-starter</artifactId>
</dependency> </dependency>-->
<!-- mybatis plus --> <!-- mybatis plus -->
<dependency> <dependency>
......
...@@ -37,7 +37,6 @@ public class FinanceTradeFlowController extends BaseController { ...@@ -37,7 +37,6 @@ public class FinanceTradeFlowController extends BaseController {
@GetMapping(value = "/getAccountMoney") @GetMapping(value = "/getAccountMoney")
@ApiOperation(value = "充值----获取账户余额", notes = "获取账户余额") @ApiOperation(value = "充值----获取账户余额", notes = "获取账户余额")
public Result<OrderDto> getAccountMoney(HttpServletRequest req) throws Exception { public Result<OrderDto> getAccountMoney(HttpServletRequest req) throws Exception {
return new Result<>(); return new Result<>();
} }
......
package com.jz.dm.mall.moduls.entity; package com.jz.dm.mall.moduls.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
...@@ -20,6 +22,7 @@ public class FinanceTradeFlow implements Serializable { ...@@ -20,6 +22,7 @@ public class FinanceTradeFlow implements Serializable {
/** /**
* 交易流水id * 交易流水id
*/ */
@TableId(value = "trade_flow_id",type = IdType.AUTO)
private Long tradeFlowId; private Long tradeFlowId;
/** /**
* 订单id * 订单id
......
...@@ -56,3 +56,14 @@ spring: ...@@ -56,3 +56,14 @@ spring:
- 192.168.31.167:6382 - 192.168.31.167:6382
- 192.168.31.167:6383 - 192.168.31.167:6383
- 192.168.31.167:6384 - 192.168.31.167:6384
#mybatis的配置
mybatis:
#配置mapper.xml文件所在路径
mapper-locations: classpath:mapperconf/*.xml
#配置映射类所在的包名
type-aliases-package: com.jz.dm.mall.moduls.entity
logging:
level:
com.jz.manage: debug
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment