update .gitignore

This commit is contained in:
hupeng
2019-12-30 12:21:50 +08:00
parent 83fd2dc728
commit 52412a8d8c
12 changed files with 4 additions and 60 deletions

View File

@ -43,7 +43,7 @@ public class YxUserAddressServiceImpl extends BaseServiceImpl<YxUserAddressMappe
@Override
public YxUserAddress getUserDefaultAddress(int uid) {
QueryWrapper<YxUserAddress> wrapper = new QueryWrapper<>();
wrapper.eq("is_default",1).eq("uid",uid);
wrapper.eq("is_default",1).eq("uid",uid).eq("is_del",0).last("limit 1");
return getOne(wrapper);
}

View File

@ -6,7 +6,7 @@ spring:
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://localhost:3306/yshop?serverTimezone=Asia/Shanghai&useSSL=false
username: yshop
password:
password:
# 初始化配置
initial-size: 3

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB