记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
bcbbdf22
Commit
bcbbdf22
authored
Nov 22, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add table applet
parent
bdbdcdb6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
132 additions
and
0 deletions
+132
-0
ISweetAppletSubMsgService.java
...dnet/service/sweet/service/ISweetAppletSubMsgService.java
+16
-0
SweetAppletSubMsg.java
...com/liquidnet/service/sweet/entity/SweetAppletSubMsg.java
+58
-0
SweetAppletSubMsgMapper.java
...quidnet/service/sweet/mapper/SweetAppletSubMsgMapper.java
+16
-0
SweetAppletSubMsgMapper.xml
...iquidnet.service.sweet.mapper/SweetAppletSubMsgMapper.xml
+5
-0
db_applet_push_20211122.sql
.../liquidnet-service-sweet/docu/db_applet_push_20211122.sql
+17
-0
SweetAppletSubMsgServiceImpl.java
...vice/sweet/service/impl/SweetAppletSubMsgServiceImpl.java
+20
-0
No files found.
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/ISweetAppletSubMsgService.java
0 → 100644
View file @
bcbbdf22
package
com
.
liquidnet
.
service
.
sweet
.
service
;
import
com.liquidnet.service.sweet.entity.SweetAppletSubMsg
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 小程序订阅消息记录表 服务类
* </p>
*
* @author jiangxiulong
* @since 2021-11-22
*/
public
interface
ISweetAppletSubMsgService
extends
IService
<
SweetAppletSubMsg
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetAppletSubMsg.java
0 → 100644
View file @
bcbbdf22
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* <p>
* 小程序订阅消息记录表
* </p>
*
* @author jiangxiulong
* @since 2021-11-22
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
SweetAppletSubMsg
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* msg_id
*/
private
String
msgId
;
/**
* open_id
*/
private
String
openId
;
/**
* template_id
*/
private
String
templateId
;
/**
* 是否推送 1未推送 2已推送
*/
private
Integer
isPush
;
/**
* 创建时间
*/
private
LocalDateTime
createdAt
;
/**
* 更新时间
*/
private
LocalDateTime
updatedAt
;
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/mapper/SweetAppletSubMsgMapper.java
0 → 100644
View file @
bcbbdf22
package
com
.
liquidnet
.
service
.
sweet
.
mapper
;
import
com.liquidnet.service.sweet.entity.SweetAppletSubMsg
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 小程序订阅消息记录表 Mapper 接口
* </p>
*
* @author jiangxiulong
* @since 2021-11-22
*/
public
interface
SweetAppletSubMsgMapper
extends
BaseMapper
<
SweetAppletSubMsg
>
{
}
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/resources/com.liquidnet.service.sweet.mapper/SweetAppletSubMsgMapper.xml
0 → 100644
View file @
bcbbdf22
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetAppletSubMsgMapper"
>
</mapper>
liquidnet-bus-service/liquidnet-service-sweet/docu/db_applet_push_20211122.sql
0 → 100644
View file @
bcbbdf22
-- 小程序订阅消息记录表
drop
TABLE
if
exists
`sweet_applet_sub_msg`
;
CREATE
TABLE
`sweet_applet_sub_msg`
(
`mid`
bigint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`msg_id`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'msg_id'
,
`open_id`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'open_id'
,
`template_id`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'template_id'
,
`is_push`
tinyint
NOT
NULL
DEFAULT
1
COMMENT
'是否推送 1未推送 2已推送'
,
`created_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_at`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`mid`
),
KEY
`sweet_applet_sub_msg_id`
(
`msg_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
utf8mb4
COLLATE
utf8mb4_unicode_ci
ROW_FORMAT
=
DYNAMIC
COMMENT
'小程序订阅消息记录表'
;
\ No newline at end of file
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetAppletSubMsgServiceImpl.java
0 → 100644
View file @
bcbbdf22
package
com
.
liquidnet
.
service
.
sweet
.
service
.
impl
;
import
com.liquidnet.service.sweet.entity.SweetAppletSubMsg
;
import
com.liquidnet.service.sweet.mapper.SweetAppletSubMsgMapper
;
import
com.liquidnet.service.sweet.service.ISweetAppletSubMsgService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 小程序订阅消息记录表 服务实现类
* </p>
*
* @author jiangxiulong
* @since 2021-11-22
*/
@Service
public
class
SweetAppletSubMsgServiceImpl
extends
ServiceImpl
<
SweetAppletSubMsgMapper
,
SweetAppletSubMsg
>
implements
ISweetAppletSubMsgService
{
}
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