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

zhouweidong 发布系统代码

上级 1a768420
......@@ -135,6 +135,13 @@ public class MsgBody extends EntityMP implements Serializable {
@JSONField(name = "template_params")
@JsonProperty("template_params")
private String templateParams;
/**
* 用户数据2
*/
@TableField(value = "userdata2")
@JSONField(name = "user_data2")
@JsonProperty("user_data2")
private String userData2;
......@@ -234,6 +241,14 @@ public class MsgBody extends EntityMP implements Serializable {
this.modify("templparams",templateParams);
}
/**
* 设置 [用户数据2]
*/
public void setUserData2(String userData2){
this.userData2 = userData2 ;
this.modify("userdata2",userData2);
}
}
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<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` 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`, t1.`USERDATA2` FROM `IBZMSGBODY` t1 ) t1 where msgid=#{id}]]>
</select>
<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}]]>
......@@ -31,7 +31,7 @@
<!--数据查询[Default]-->
<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` FROM `IBZMSGBODY` t1
<![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
]]>
</sql>
<!--数据查询[Default]-->
......@@ -41,7 +41,7 @@
</sql>
<!--数据查询[View]-->
<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` FROM `IBZMSGBODY` t1
<![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
]]>
</sql>
<!--数据查询[View]-->
......
......@@ -128,6 +128,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JsonProperty("template_params")
private String templateParams;
/**
* 属性 [USERDATA2]
*
*/
@JSONField(name = "user_data2")
@JsonProperty("user_data2")
private String userData2;
/**
* 设置 [ISERROR]
......@@ -225,6 +233,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
this.modify("templparams",templateParams);
}
/**
* 设置 [USERDATA2]
*/
public void setUserData2(String userData2){
this.userData2 = userData2 ;
this.modify("userdata2",userData2);
}
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册