- demo 项目,增加 redis 库

This commit is contained in:
YunaiV
2019-09-24 19:18:13 +08:00
parent 580b23885d
commit 2c7e1a97df
26 changed files with 300 additions and 21 deletions

View File

@@ -5,6 +5,8 @@ spring:
driver-class-name: com.mysql.jdbc.Driver
username: testb5f4
password: F4df4db0ed86@11
# redis
redis:
# mybatis-plus
mybatis-plus:
@@ -17,3 +19,4 @@ mybatis-plus:
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
mapperLocations: classpath*:mapper/*.xml
typeAliasesPackage: cn.iocoder.mall.demo.business.dataobject

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cn.iocoder.mall.demo.business.dao.DemoProductMapper">
<mapper namespace="cn.iocoder.mall.demo.business.dao.mysql.DemoProductMapper">
<update id="updateQuantityReduce">
UPDATE product