feat: 微信公众号扫码登录
This commit is contained in:
@@ -245,13 +245,13 @@ public class SchisandraSmsConfig implements Serializable {
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Column("created_time")
|
||||
@Column(value = "created_time",onInsertValue = "now()")
|
||||
private Date createdTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Column("update_time")
|
||||
@Column(value = "update_time",onUpdateValue = "now()")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
|
||||
@@ -59,7 +59,7 @@ public class SchisandraSysConfig implements Serializable {
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Column("create_date")
|
||||
@Column(value = "create_date",onInsertValue = "now()")
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
@@ -71,7 +71,7 @@ public class SchisandraSysConfig implements Serializable {
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Column("update_date")
|
||||
@Column(value = "update_date",onUpdateValue = "now()")
|
||||
private Date updateDate;
|
||||
|
||||
/**
|
||||
|
||||
@@ -55,7 +55,7 @@ public class SchisandraSysLog implements Serializable {
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Column("create_date")
|
||||
@Column(value = "create_date",onInsertValue = "now()")
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
|
||||
@@ -89,13 +89,13 @@ public class SchisandraSysOauth implements Serializable {
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Column("created_time")
|
||||
@Column(value = "created_time",onInsertValue = "now()")
|
||||
private Date createdTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Column("update_time")
|
||||
@Column(value = "update_time",onUpdateValue = "now()")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,7 +40,7 @@ public class SchisandraSysConfigServiceImpl implements SchisandraSysConfigServic
|
||||
*/
|
||||
@Override
|
||||
public int insert(SchisandraSysConfig schisandraSysConfig) {
|
||||
return this.schisandraSysConfigDao.insert(schisandraSysConfig);
|
||||
return this.schisandraSysConfigDao.insert(schisandraSysConfig,true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -7,7 +7,6 @@ import com.schisandra.system.infra.basic.service.SchisandraSysLogService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 表服务实现类
|
||||
@@ -40,7 +39,7 @@ public class SchisandraSysLogServiceImpl implements SchisandraSysLogService {
|
||||
*/
|
||||
@Override
|
||||
public int insert(SchisandraSysLog schisandraSysLog) {
|
||||
return this.schisandraSysLogDao.insert(schisandraSysLog);
|
||||
return this.schisandraSysLogDao.insert(schisandraSysLog,true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -7,7 +7,6 @@ import com.schisandra.system.infra.basic.service.SchisandraSysOauthService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 表服务实现类
|
||||
@@ -40,7 +39,7 @@ public class SchisandraSysOauthServiceImpl implements SchisandraSysOauthService
|
||||
*/
|
||||
@Override
|
||||
public int insert(SchisandraSysOauth schisandraSysOauth) {
|
||||
return this.schisandraSysOauthDao.insert(schisandraSysOauth);
|
||||
return this.schisandraSysOauthDao.insert(schisandraSysOauth,true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user