Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
Widget
Project
Project
Details
Activity
Releases
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
Android Widget
Widget
Commits
351890d4
Commit
351890d4
authored
Sep 18, 2021
by
王雷
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
24e25556
937eed09
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
2 deletions
+51
-2
build.gradle
websocket/build.gradle
+1
-1
litepal.xml
websocket/src/main/assets/litepal.xml
+2
-1
SocketCheckMessage.kt
...main/java/com/zhimai/websocket/bean/SocketCheckMessage.kt
+48
-0
No files found.
websocket/build.gradle
View file @
351890d4
...
@@ -22,7 +22,7 @@ android {
...
@@ -22,7 +22,7 @@ android {
}
}
group
'com.qmai.android.sdk'
group
'com.qmai.android.sdk'
version
'2.1.
3
-SNAPSHOT'
version
'2.1.
5
-SNAPSHOT'
gradlePublish
{
gradlePublish
{
...
...
websocket/src/main/assets/litepal.xml
View file @
351890d4
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
For example:
For example:
<version value="1" />
<version value="1" />
-->
-->
<version
value=
"
2
"
/>
<version
value=
"
3
"
/>
<!--
<!--
Define your models in the list with mapping tag, LitePal will
Define your models in the list with mapping tag, LitePal will
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
<list>
<list>
<mapping
class=
"com.zhimai.websocket.bean.MessageSqlBean"
/>
<mapping
class=
"com.zhimai.websocket.bean.MessageSqlBean"
/>
<mapping
class=
"com.zhimai.websocket.bean.SocketOrderInfoBean"
/>
<mapping
class=
"com.zhimai.websocket.bean.SocketOrderInfoBean"
/>
<mapping
class=
"com.zhimai.websocket.bean.SocketCheckMessage"
/>
</list>
</list>
<!--
<!--
...
...
websocket/src/main/java/com/zhimai/websocket/bean/SocketCheckMessage.kt
0 → 100644
View file @
351890d4
package
com.zhimai.websocket.bean
import
org.litepal.crud.LitePalSupport
/**
* @author: 高英祥
* @github:
* @time: 2021/9/13 15:02
* @desc:
* @doc:
*/
class
SocketCheckMessage
:
LitePalSupport
()
{
//消息唯一id
var
messageId
:
String
?
=
null
//订单号
var
orderNo
:
String
?
=
null
//设备id
var
deviceId
:
String
?
=
null
//设备的tag
var
tag
:
String
?
=
null
//门店id
var
mutableId
:
String
?
=
null
//门店名称
var
mutableName
:
String
?
=
null
//店铺名称:
var
shopName
:
String
?
=
null
//店铺id
var
shopId
:
String
?
=
null
//当前版本
var
version
:
String
?
=
null
//订单类容
var
orderDetails
:
String
?
=
null
//订单时间
var
orderInTime
:
String
?
=
null
//打印机状态
var
printerState
:
String
?
=
null
//是否打印
var
isPrint
:
String
?
=
null
//是否播报
var
isPlay
:
String
?
=
null
}
\ No newline at end of file
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