update .gitignore
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Binary file not shown.
@ -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 |
Binary file not shown.
Reference in New Issue
Block a user