Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
rpc-openplatform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bc76e8d0
authored
Jan 04, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
将界面显示发货时间和条件查询字段由 activatTime 改为 createTime yangll
1 parent
037f79a9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
29 deletions
rpc-openplatform-api/src/main/java/cn/com/glsx/openplatform/vo/DeviceVo.java
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformApiCallMapper.xml
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformCustomerMapper.xml
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformDeviceMapper.xml
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformUserMapper.xml
rpc-openplatform-api/src/main/java/cn/com/glsx/openplatform/vo/DeviceVo.java
View file @
bc76e8d
...
@@ -38,14 +38,14 @@ public class DeviceVo implements Serializable {
...
@@ -38,14 +38,14 @@ public class DeviceVo implements Serializable {
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
activat
StartTime
;
private
Date
create
StartTime
;
/**
/**
* 激活
开始
时间
* 激活
结束
时间
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
activat
EndTime
;
private
Date
create
EndTime
;
public
String
getCustomerName
()
{
public
String
getCustomerName
()
{
return
customerName
;
return
customerName
;
...
@@ -63,27 +63,27 @@ public class DeviceVo implements Serializable {
...
@@ -63,27 +63,27 @@ public class DeviceVo implements Serializable {
this
.
deviceType
=
deviceType
;
this
.
deviceType
=
deviceType
;
}
}
public
Date
getActivatStartTime
()
{
public
String
getCustomerNameAuth
()
{
return
activatStartTime
;
return
customerNameAuth
;
}
}
public
void
set
ActivatStartTime
(
Date
activatStartTime
)
{
public
void
set
CustomerNameAuth
(
String
customerNameAuth
)
{
this
.
activatStartTime
=
activatStartTime
;
this
.
customerNameAuth
=
customerNameAuth
;
}
}
public
Date
get
ActivatEnd
Time
()
{
public
Date
get
CreateStart
Time
()
{
return
activatEnd
Time
;
return
createStart
Time
;
}
}
public
void
set
ActivatEndTime
(
Date
activatEnd
Time
)
{
public
void
set
CreateStartTime
(
Date
createStart
Time
)
{
this
.
activatEndTime
=
activatEnd
Time
;
this
.
createStartTime
=
createStart
Time
;
}
}
public
String
getCustomerNameAuth
()
{
public
Date
getCreateEndTime
()
{
return
c
ustomerNameAuth
;
return
c
reateEndTime
;
}
}
public
void
setC
ustomerNameAuth
(
String
customerNameAuth
)
{
public
void
setC
reateEndTime
(
Date
createEndTime
)
{
this
.
c
ustomerNameAuth
=
customerNameAuth
;
this
.
c
reateEndTime
=
createEndTime
;
}
}
}
}
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformApiCallMapper.xml
View file @
bc76e8d
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<result
column=
"customer_id"
jdbcType=
"INTEGER"
property=
"customerId"
/>
<result
column=
"customer_id"
jdbcType=
"INTEGER"
property=
"customerId"
/>
<result
column=
"customer_name"
jdbcType=
"INTEGER"
property=
"customerName"
/>
<result
column=
"customer_name"
jdbcType=
"INTEGER"
property=
"customerName"
/>
<result
column=
"api_id"
jdbcType=
"INTEGER"
property=
"apiId"
/>
<result
column=
"api_id"
jdbcType=
"INTEGER"
property=
"apiId"
/>
<result
column=
"api_name"
jdbcType=
"
INTEGE
R"
property=
"apiName"
/>
<result
column=
"api_name"
jdbcType=
"
VARCHA
R"
property=
"apiName"
/>
<result
column=
"call_result"
jdbcType=
"TINYINT"
property=
"callResult"
/>
<result
column=
"call_result"
jdbcType=
"TINYINT"
property=
"callResult"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_by"
jdbcType=
"INTEGER"
property=
"createBy"
/>
<result
column=
"create_by"
jdbcType=
"INTEGER"
property=
"createBy"
/>
...
...
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformCustomerMapper.xml
View file @
bc76e8d
...
@@ -12,11 +12,11 @@
...
@@ -12,11 +12,11 @@
<result
column=
"contact_number"
jdbcType=
"VARCHAR"
property=
"contactNumber"
/>
<result
column=
"contact_number"
jdbcType=
"VARCHAR"
property=
"contactNumber"
/>
<result
column=
"contact_email"
jdbcType=
"VARCHAR"
property=
"contactEmail"
/>
<result
column=
"contact_email"
jdbcType=
"VARCHAR"
property=
"contactEmail"
/>
<result
column=
"province"
jdbcType=
"INTEGER"
property=
"province"
/>
<result
column=
"province"
jdbcType=
"INTEGER"
property=
"province"
/>
<result
column=
"provinceName"
jdbcType=
"
INTEGE
R"
property=
"provinceName"
/>
<result
column=
"provinceName"
jdbcType=
"
VARCHA
R"
property=
"provinceName"
/>
<result
column=
"city"
jdbcType=
"INTEGER"
property=
"city"
/>
<result
column=
"city"
jdbcType=
"INTEGER"
property=
"city"
/>
<result
column=
"cityName"
jdbcType=
"
INTEGE
R"
property=
"cityName"
/>
<result
column=
"cityName"
jdbcType=
"
VARCHA
R"
property=
"cityName"
/>
<result
column=
"area"
jdbcType=
"INTEGER"
property=
"area"
/>
<result
column=
"area"
jdbcType=
"INTEGER"
property=
"area"
/>
<result
column=
"areaName"
jdbcType=
"
INTEGE
R"
property=
"areaName"
/>
<result
column=
"areaName"
jdbcType=
"
VARCHA
R"
property=
"areaName"
/>
<result
column=
"address"
jdbcType=
"VARCHAR"
property=
"address"
/>
<result
column=
"address"
jdbcType=
"VARCHAR"
property=
"address"
/>
<result
column=
"status"
jdbcType=
"TINYINT"
property=
"status"
/>
<result
column=
"status"
jdbcType=
"TINYINT"
property=
"status"
/>
<result
column=
"public_key"
jdbcType=
"VARCHAR"
property=
"publicKey"
/>
<result
column=
"public_key"
jdbcType=
"VARCHAR"
property=
"publicKey"
/>
...
...
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformDeviceMapper.xml
View file @
bc76e8d
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<result
column=
"device_sn"
jdbcType=
"VARCHAR"
property=
"deviceSn"
/>
<result
column=
"device_sn"
jdbcType=
"VARCHAR"
property=
"deviceSn"
/>
<result
column=
"device_type"
jdbcType=
"VARCHAR"
property=
"deviceType"
/>
<result
column=
"device_type"
jdbcType=
"VARCHAR"
property=
"deviceType"
/>
<result
column=
"customer_id"
jdbcType=
"INTEGER"
property=
"customerId"
/>
<result
column=
"customer_id"
jdbcType=
"INTEGER"
property=
"customerId"
/>
<result
column=
"customer_name"
jdbcType=
"
INTEGE
R"
property=
"customerName"
/>
<result
column=
"customer_name"
jdbcType=
"
VARCHA
R"
property=
"customerName"
/>
<result
column=
"activat_time"
jdbcType=
"TIMESTAMP"
property=
"activatTime"
/>
<result
column=
"activat_time"
jdbcType=
"TIMESTAMP"
property=
"activatTime"
/>
<result
column=
"status"
jdbcType=
"TINYINT"
property=
"status"
/>
<result
column=
"status"
jdbcType=
"TINYINT"
property=
"status"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
...
@@ -31,9 +31,9 @@
...
@@ -31,9 +31,9 @@
a.device_sn,
a.device_sn,
a.device_type,
a.device_type,
b.customer_name,
b.customer_name,
a.activat_time,
--
a.activat_time,
a.`status`
a.`status`
,
-- a.create_time,
a.create_time
-- a.update_time,
-- a.update_time,
-- a.create_by,
-- a.create_by,
-- a.update_by,
-- a.update_by,
...
@@ -51,14 +51,14 @@
...
@@ -51,14 +51,14 @@
<if
test=
"deviceType != null and deviceType != ''"
>
<if
test=
"deviceType != null and deviceType != ''"
>
and a.device_type = #{deviceType,jdbcType=VARCHAR}
and a.device_type = #{deviceType,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"
activat
StartTime != null"
>
<if
test=
"
create
StartTime != null"
>
and a.
activat_time
>
= #{activat
StartTime,jdbcType=TIMESTAMP}
and a.
create_time
>
= #{create
StartTime,jdbcType=TIMESTAMP}
</if>
</if>
<if
test=
"
activat
EndTime != null"
>
<if
test=
"
create
EndTime != null"
>
and a.
activat_time
<
= #{activat
EndTime,jdbcType=TIMESTAMP}
and a.
create_time
<
= #{create
EndTime,jdbcType=TIMESTAMP}
</if>
</if>
</where>
</where>
order by a.
activat
_time desc
order by a.
create
_time desc
</select>
</select>
<select
id=
"getDeviceTypeList"
resultType=
"java.lang.String"
>
<select
id=
"getDeviceTypeList"
resultType=
"java.lang.String"
>
...
...
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformUserMapper.xml
View file @
bc76e8d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<result
column=
"city"
jdbcType=
"INTEGER"
property=
"city"
/>
<result
column=
"city"
jdbcType=
"INTEGER"
property=
"city"
/>
<result
column=
"cityName"
jdbcType=
"INTEGER"
property=
"cityName"
/>
<result
column=
"cityName"
jdbcType=
"INTEGER"
property=
"cityName"
/>
<result
column=
"customer_id"
jdbcType=
"INTEGER"
property=
"customerId"
/>
<result
column=
"customer_id"
jdbcType=
"INTEGER"
property=
"customerId"
/>
<result
column=
"customer_name"
jdbcType=
"
INTEGE
R"
property=
"customerName"
/>
<result
column=
"customer_name"
jdbcType=
"
VARCHA
R"
property=
"customerName"
/>
<result
column=
"last_login_time"
jdbcType=
"TIMESTAMP"
property=
"lastLoginTime"
/>
<result
column=
"last_login_time"
jdbcType=
"TIMESTAMP"
property=
"lastLoginTime"
/>
<result
column=
"app_account_id"
jdbcType=
"INTEGER"
property=
"appAccountId"
/>
<result
column=
"app_account_id"
jdbcType=
"INTEGER"
property=
"appAccountId"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment