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

zhouweidong@lab.ibiz5.com 发布系统代码

上级 2a4646ab
...@@ -135,6 +135,13 @@ public class MsgBody extends EntityMP implements Serializable { ...@@ -135,6 +135,13 @@ public class MsgBody extends EntityMP implements Serializable {
@JSONField(name = "error_info") @JSONField(name = "error_info")
@JsonProperty("error_info") @JsonProperty("error_info")
private String errorInfo; private String errorInfo;
/**
* 业务数据
*/
@TableField(value = "userdata2")
@JSONField(name = "user_data2")
@JsonProperty("user_data2")
private String userData2;
...@@ -234,6 +241,14 @@ public class MsgBody extends EntityMP implements Serializable { ...@@ -234,6 +241,14 @@ public class MsgBody extends EntityMP implements Serializable {
this.modify("errorinfo",errorInfo); this.modify("errorinfo",errorInfo);
} }
/**
* 设置 [业务数据]
*/
public void setUserData2(String userData2){
this.userData2 = userData2 ;
this.modify("userdata2",userData2);
}
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!--输出实体[MSG_BODY]数据结构 --> <!--输出实体[MSG_BODY]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_body-143-1"> <changeSet author="a_A_5d9d78509" id="tab-msg_body-152-1">
<createTable tableName="IBZMSGBODY"> <createTable tableName="IBZMSGBODY">
<column name="TEMPLATEID" remarks="" type="VARCHAR(100)"> <column name="TEMPLATEID" remarks="" type="VARCHAR(100)">
</column> </column>
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
</column> </column>
<column name="ERRORINFO" remarks="" type="TEXT(1048576)"> <column name="ERRORINFO" remarks="" type="TEXT(1048576)">
</column> </column>
<column name="USERDATA2" remarks="" type="VARCHAR(1000)">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
......
...@@ -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` 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>
<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}]]>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,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` 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> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,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` 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> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -128,6 +128,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -128,6 +128,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JsonProperty("error_info") @JsonProperty("error_info")
private String errorInfo; private String errorInfo;
/**
* 属性 [USERDATA2]
*
*/
@JSONField(name = "user_data2")
@JsonProperty("user_data2")
private String userData2;
/** /**
* 设置 [TEMPLATEID] * 设置 [TEMPLATEID]
...@@ -225,6 +233,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable { ...@@ -225,6 +233,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
this.modify("errorinfo",errorInfo); this.modify("errorinfo",errorInfo);
} }
/**
* 设置 [USERDATA2]
*/
public void setUserData2(String userData2){
this.userData2 = userData2 ;
this.modify("userdata2",userData2);
}
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册