Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibznotify
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibznotify
提交
4535a485
提交
4535a485
编写于
9月 06, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码
上级
be7bdb10
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
36 行增加
和
3 行删除
+36
-3
MsgBody.java
.../src/main/java/cn/ibizlab/core/notify/domain/MsgBody.java
+16
-0
MsgBodyMapper.xml
...rc/main/resources/mapper/notify/msgbody/MsgBodyMapper.xml
+4
-3
MsgBodyDTO.java
...ider-api/src/main/java/cn/ibizlab/api/dto/MsgBodyDTO.java
+16
-0
未找到文件。
ibznotify-core/src/main/java/cn/ibizlab/core/notify/domain/MsgBody.java
浏览文件 @
4535a485
...
@@ -142,6 +142,14 @@ public class MsgBody extends EntityMP implements Serializable {
...
@@ -142,6 +142,14 @@ public class MsgBody extends EntityMP implements Serializable {
@JSONField
(
name
=
"user_data2"
)
@JSONField
(
name
=
"user_data2"
)
@JsonProperty
(
"user_data2"
)
@JsonProperty
(
"user_data2"
)
private
String
userData2
;
private
String
userData2
;
/**
* 消息链接(PC)
*/
@DEField
(
name
=
"msglink_pc"
)
@TableField
(
value
=
"msglink_pc"
)
@JSONField
(
name
=
"msg_link_pc"
)
@JsonProperty
(
"msg_link_pc"
)
private
String
msgLinkPc
;
...
@@ -249,6 +257,14 @@ public class MsgBody extends EntityMP implements Serializable {
...
@@ -249,6 +257,14 @@ public class MsgBody extends EntityMP implements Serializable {
this
.
modify
(
"userdata2"
,
userData2
);
this
.
modify
(
"userdata2"
,
userData2
);
}
}
/**
* 设置 [消息链接(PC)]
*/
public
void
setMsgLinkPc
(
String
msgLinkPc
){
this
.
msgLinkPc
=
msgLinkPc
;
this
.
modify
(
"msglink_pc"
,
msgLinkPc
);
}
}
}
...
...
ibznotify-core/src/main/resources/mapper/notify/msgbody/MsgBodyMapper.xml
浏览文件 @
4535a485
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"MsgBodyResultMap"
databaseId=
"mysql"
>
<select
id=
"selectById"
resultMap=
"MsgBodyResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`CONTENT`, t1.`ERRORINFO`, t1.`ISERROR`, t1.`ISSEND`, t1.`MSGID`, t1.`MSGLINK`, t1.`MSGNAME`, t1.`MSGTYPE`, t1.`SUBJECT`, t1.`TEMPLATEID`, t1.`TEMPLPARAMS`, t1.`TOUSERS`, t1.`USERDATA`, t1.`USERDATA2` FROM `IBZMSGBODY` t1 ) t1 where msgid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CONTENT`, t1.`ERRORINFO`, t1.`ISERROR`, t1.`ISSEND`, t1.`MSGID`, t1.`MSGLINK`, t1.`MSG
LINK_PC`, t1.`MSG
NAME`, t1.`MSGTYPE`, t1.`SUBJECT`, t1.`TEMPLATEID`, t1.`TEMPLPARAMS`, t1.`TOUSERS`, t1.`USERDATA`, t1.`USERDATA2` FROM `IBZMSGBODY` t1 ) t1 where msgid=#{id}]]>
</select>
</select>
<select
id=
"selectById"
resultMap=
"MsgBodyResultMap"
databaseId=
"oracle"
>
<select
id=
"selectById"
resultMap=
"MsgBodyResultMap"
databaseId=
"oracle"
>
<![CDATA[select t1.* from (SELECT t1.CONTENT, t1.ERRORINFO, t1.ISERROR, t1.ISSEND, t1.MSGID, t1.MSGLINK, t1.MSGNAME, t1.MSGTYPE, t1.SUBJECT, t1.TEMPLATEID, t1.TEMPLPARAMS, t1.TOUSERS, t1.USERDATA FROM IBZMSGBODY t1 ) t1 where msgid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.CONTENT, t1.ERRORINFO, t1.ISERROR, t1.ISSEND, t1.MSGID, t1.MSGLINK, t1.MSGNAME, t1.MSGTYPE, t1.SUBJECT, t1.TEMPLATEID, t1.TEMPLPARAMS, t1.TOUSERS, t1.USERDATA FROM IBZMSGBODY t1 ) t1 where msgid=#{id}]]>
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
<resultMap
id=
"MsgBodyResultMap"
type=
"cn.ibizlab.core.notify.domain.MsgBody"
autoMapping=
"true"
>
<resultMap
id=
"MsgBodyResultMap"
type=
"cn.ibizlab.core.notify.domain.MsgBody"
autoMapping=
"true"
>
<id
property=
"msgId"
column=
"msgid"
/>
<!--主键字段映射-->
<id
property=
"msgId"
column=
"msgid"
/>
<!--主键字段映射-->
<result
property=
"templateParams"
column=
"templparams"
/>
<result
property=
"templateParams"
column=
"templparams"
/>
<result
property=
"msgLinkPc"
column=
"msglink_pc"
/>
</resultMap>
</resultMap>
...
@@ -31,7 +32,7 @@
...
@@ -31,7 +32,7 @@
<!--数据查询[Default]-->
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CONTENT`, t1.`ISERROR`, t1.`ISSEND`, t1.`MSGID`, t1.`MSGLINK`, t1.`MSGNAME`, t1.`MSGTYPE`, t1.`SUBJECT`, t1.`TEMPLATEID`, t1.`TOUSERS`, t1.`USERDATA`, t1.`USERDATA2` FROM `IBZMSGBODY` t1
<![CDATA[ SELECT t1.`CONTENT`, t1.`ISERROR`, t1.`ISSEND`, t1.`MSGID`, t1.`MSGLINK`, t1.`MSG
LINK_PC`, t1.`MSG
NAME`, t1.`MSGTYPE`, t1.`SUBJECT`, t1.`TEMPLATEID`, t1.`TOUSERS`, t1.`USERDATA`, t1.`USERDATA2` FROM `IBZMSGBODY` t1
]]>
]]>
</sql>
</sql>
<!--数据查询[Default]-->
<!--数据查询[Default]-->
...
@@ -41,7 +42,7 @@
...
@@ -41,7 +42,7 @@
</sql>
</sql>
<!--数据查询[View]-->
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CONTENT`, t1.`ERRORINFO`, t1.`ISERROR`, t1.`ISSEND`, t1.`MSGID`, t1.`MSGLINK`, t1.`MSGNAME`, t1.`MSGTYPE`, t1.`SUBJECT`, t1.`TEMPLATEID`, t1.`TEMPLPARAMS`, t1.`TOUSERS`, t1.`USERDATA`, t1.`USERDATA2` FROM `IBZMSGBODY` t1
<![CDATA[ SELECT t1.`CONTENT`, t1.`ERRORINFO`, t1.`ISERROR`, t1.`ISSEND`, t1.`MSGID`, t1.`MSGLINK`, t1.`MSG
LINK_PC`, t1.`MSG
NAME`, t1.`MSGTYPE`, t1.`SUBJECT`, t1.`TEMPLATEID`, t1.`TEMPLPARAMS`, t1.`TOUSERS`, t1.`USERDATA`, t1.`USERDATA2` FROM `IBZMSGBODY` t1
]]>
]]>
</sql>
</sql>
<!--数据查询[View]-->
<!--数据查询[View]-->
...
...
ibznotify-provider/ibznotify-provider-api/src/main/java/cn/ibizlab/api/dto/MsgBodyDTO.java
浏览文件 @
4535a485
...
@@ -136,6 +136,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
...
@@ -136,6 +136,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JsonProperty
(
"user_data2"
)
@JsonProperty
(
"user_data2"
)
private
String
userData2
;
private
String
userData2
;
/**
* 属性 [MSGLINK_PC]
*
*/
@JSONField
(
name
=
"msg_link_pc"
)
@JsonProperty
(
"msg_link_pc"
)
private
String
msgLinkPc
;
/**
/**
* 设置 [ISERROR]
* 设置 [ISERROR]
...
@@ -241,6 +249,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
...
@@ -241,6 +249,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
this
.
modify
(
"userdata2"
,
userData2
);
this
.
modify
(
"userdata2"
,
userData2
);
}
}
/**
* 设置 [MSGLINK_PC]
*/
public
void
setMsgLinkPc
(
String
msgLinkPc
){
this
.
msgLinkPc
=
msgLinkPc
;
this
.
modify
(
"msglink_pc"
,
msgLinkPc
);
}
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录