Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚本章
dm_project
Commits
5df3f0c7
Commit
5df3f0c7
authored
Dec 03, 2020
by
machengbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商城 模块 mybatis-plus 的配置
parent
3dbf6660
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
270 additions
and
257 deletions
+270
-257
pom.xml
jz-dm-mall/pom.xml
+2
-2
DatabaseConfig.java
...l/src/main/java/com/jz/dm/mall/config/DatabaseConfig.java
+254
-254
FinanceTradeFlowController.java
...moduls/controller/finance/FinanceTradeFlowController.java
+0
-1
FinanceTradeFlow.java
...n/java/com/jz/dm/mall/moduls/entity/FinanceTradeFlow.java
+3
-0
application-test.yml
jz-dm-mall/src/main/resources/application-test.yml
+11
-0
No files found.
jz-dm-mall/pom.xml
View file @
5df3f0c7
...
...
@@ -74,10 +74,10 @@
</dependency>
<!-- spring boot 和mybatis -->
<dependency>
<
!--<
dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
</dependency>
</dependency>
-->
<!-- mybatis plus -->
<dependency>
...
...
jz-dm-mall/src/main/java/com/jz/dm/mall/config/DatabaseConfig.java
View file @
5df3f0c7
This diff is collapsed.
Click to expand it.
jz-dm-mall/src/main/java/com/jz/dm/mall/moduls/controller/finance/FinanceTradeFlowController.java
View file @
5df3f0c7
...
...
@@ -37,7 +37,6 @@ public class FinanceTradeFlowController extends BaseController {
@GetMapping
(
value
=
"/getAccountMoney"
)
@ApiOperation
(
value
=
"充值----获取账户余额"
,
notes
=
"获取账户余额"
)
public
Result
<
OrderDto
>
getAccountMoney
(
HttpServletRequest
req
)
throws
Exception
{
return
new
Result
<>();
}
...
...
jz-dm-mall/src/main/java/com/jz/dm/mall/moduls/entity/FinanceTradeFlow.java
View file @
5df3f0c7
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
io.swagger.annotations.ApiModel
;
...
...
@@ -20,6 +22,7 @@ public class FinanceTradeFlow implements Serializable {
/**
* 交易流水id
*/
@TableId
(
value
=
"trade_flow_id"
,
type
=
IdType
.
AUTO
)
private
Long
tradeFlowId
;
/**
* 订单id
...
...
jz-dm-mall/src/main/resources/application-test.yml
View file @
5df3f0c7
...
...
@@ -56,3 +56,14 @@ spring:
-
192.168.31.167:6382
-
192.168.31.167:6383
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment