- demo 项目,增加 redis 库
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user