提交 4535a485 编写于 作者: ibizdev's avatar ibizdev

zhouweidong 发布系统代码

上级 be7bdb10
...@@ -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);
}
} }
......
...@@ -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.`MSGLINK_PC`, t1.`MSGNAME`, 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.`MSGLINK_PC`, t1.`MSGNAME`, 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.`MSGLINK_PC`, t1.`MSGNAME`, t1.`MSGTYPE`, t1.`SUBJECT`, t1.`TEMPLATEID`, t1.`TEMPLPARAMS`, t1.`TOUSERS`, t1.`USERDATA`, t1.`USERDATA2` FROM `IBZMSGBODY` t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册