Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
b5d79fe4
Commit
b5d79fe4
authored
Mar 20, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
db54a6d3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
21 deletions
+23
-21
UserLoginLogDTO.java
...n/java/com/gic/haoban/manage/api/dto/UserLoginLogDTO.java
+6
-5
TabUserLoginLog.java
...com/gic/haoban/manage/service/entity/TabUserLoginLog.java
+6
-5
TabUserLoginLogMapper.xml
...rvice/src/main/resources/mapper/TabUserLoginLogMapper.xml
+11
-11
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/UserLoginLogDTO.java
View file @
b5d79fe4
...
...
@@ -24,7 +24,7 @@ public class UserLoginLogDTO implements Serializable {
private
Integer
status
;
private
String
wxUser
Id
;
private
String
staff
Id
;
private
Date
createTime
;
...
...
@@ -112,12 +112,13 @@ public class UserLoginLogDTO implements Serializable {
this
.
status
=
status
;
}
public
String
getWxUserId
()
{
return
wxUserId
;
public
String
getStaffId
()
{
return
staffId
;
}
public
void
setWxUserId
(
String
wxUser
Id
)
{
this
.
wxUserId
=
wxUserId
==
null
?
null
:
wxUserId
.
trim
()
;
public
void
setStaffId
(
String
staff
Id
)
{
this
.
staffId
=
staffId
;
}
public
Date
getCreateTime
()
{
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabUserLoginLog.java
View file @
b5d79fe4
...
...
@@ -24,7 +24,7 @@ public class TabUserLoginLog implements Serializable {
private
Integer
status
;
private
String
wxUser
Id
;
private
String
staff
Id
;
private
Date
createTime
;
...
...
@@ -112,12 +112,13 @@ public class TabUserLoginLog implements Serializable {
this
.
status
=
status
;
}
public
String
getWxUserId
()
{
return
wxUserId
;
public
String
getStaffId
()
{
return
staffId
;
}
public
void
setWxUserId
(
String
wxUser
Id
)
{
this
.
wxUserId
=
wxUserId
==
null
?
null
:
wxUserId
.
trim
()
;
public
void
setStaffId
(
String
staff
Id
)
{
this
.
staffId
=
staffId
;
}
public
Date
getCreateTime
()
{
...
...
haoban-manage3-service/src/main/resources/mapper/TabUserLoginLogMapper.xml
View file @
b5d79fe4
...
...
@@ -12,13 +12,13 @@
<result
column=
"platform"
property=
"platform"
jdbcType=
"VARCHAR"
/>
<result
column=
"system_info"
property=
"systemInfo"
jdbcType=
"VARCHAR"
/>
<result
column=
"status"
property=
"status"
jdbcType=
"INTEGER"
/>
<result
column=
"
wx_user_id"
property=
"wxUser
Id"
jdbcType=
"VARCHAR"
/>
<result
column=
"
staff_id"
property=
"staff
Id"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
user_login_log, wx_enterprise_id, version, SDK_version, system, brand, model, platform,
system_info, status,
wx_user
_id, create_time, update_time
system_info, status,
staff
_id, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
...
...
@@ -34,12 +34,12 @@
insert into tab_haoban_user_login_log (user_login_log, wx_enterprise_id, version,
SDK_version, system, brand,
model, platform, system_info,
status,
wx_user
_id, create_time,
status,
staff
_id, create_time,
update_time)
values (#{userLoginLog,jdbcType=VARCHAR}, #{wxEnterpriseId,jdbcType=VARCHAR}, #{version,jdbcType=VARCHAR},
#{sdkVersion,jdbcType=VARCHAR}, #{system,jdbcType=VARCHAR}, #{brand,jdbcType=VARCHAR},
#{model,jdbcType=VARCHAR}, #{platform,jdbcType=VARCHAR}, #{systemInfo,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{
wxUser
Id,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER}, #{
staff
Id,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabUserLoginLog"
>
...
...
@@ -75,8 +75,8 @@
<if
test=
"status != null"
>
status,
</if>
<if
test=
"
wxUser
Id != null"
>
wx_user
_id,
<if
test=
"
staff
Id != null"
>
staff
_id,
</if>
<if
test=
"createTime != null"
>
create_time,
...
...
@@ -116,8 +116,8 @@
<if
test=
"status != null"
>
#{status,jdbcType=INTEGER},
</if>
<if
test=
"
wxUser
Id != null"
>
#{
wxUser
Id,jdbcType=VARCHAR},
<if
test=
"
staff
Id != null"
>
#{
staff
Id,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
...
...
@@ -157,8 +157,8 @@
<if
test=
"status != null"
>
status = #{status,jdbcType=INTEGER},
</if>
<if
test=
"
wxUser
Id != null"
>
wx_user_id = #{wxUser
Id,jdbcType=VARCHAR},
<if
test=
"
staff
Id != null"
>
staff_id = #{staff
Id,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
...
...
@@ -180,7 +180,7 @@
platform = #{platform,jdbcType=VARCHAR},
system_info = #{systemInfo,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
wx_user_id = #{wxUser
Id,jdbcType=VARCHAR},
staff_id = #{staff
Id,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where user_login_log = #{userLoginLog,jdbcType=VARCHAR}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment