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

ibiz4j 发布系统代码 [ibiz-notify,通知消息]

上级 ea73b5ad
...@@ -11,6 +11,7 @@ export default { ...@@ -11,6 +11,7 @@ export default {
expires_time: "管理账号token过期时间", expires_time: "管理账号token过期时间",
disabled: "是否禁用", disabled: "是否禁用",
redirect_uri: "RedirectURI", redirect_uri: "RedirectURI",
notify_url: "NotifyUrl",
agent_id: "AGENT_ID", agent_id: "AGENT_ID",
}, },
views: { views: {
......
...@@ -10,6 +10,7 @@ export default { ...@@ -10,6 +10,7 @@ export default {
expires_time: "管理账号token过期时间", expires_time: "管理账号token过期时间",
disabled: "是否禁用", disabled: "是否禁用",
redirect_uri: "RedirectURI", redirect_uri: "RedirectURI",
notify_url: "NotifyUrl",
agent_id: "AGENT_ID", agent_id: "AGENT_ID",
}, },
views: { views: {
......
...@@ -45,6 +45,9 @@ export default class PickupViewpickupviewpanelModel { ...@@ -45,6 +45,9 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'redirect_uri', name: 'redirect_uri',
}, },
{
name: 'notify_url',
},
{ {
name: 'agent_id', name: 'agent_id',
}, },
......
...@@ -124,6 +124,14 @@ public class MsgOpenAccess extends EntityMP implements Serializable { ...@@ -124,6 +124,14 @@ public class MsgOpenAccess extends EntityMP implements Serializable {
@JSONField(name = "redirect_uri") @JSONField(name = "redirect_uri")
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
private String redirectUri; private String redirectUri;
/**
* NotifyUrl
*/
@DEField(name = "notify_url")
@TableField(value = "notify_url")
@JSONField(name = "notify_url")
@JsonProperty("notify_url")
private String notifyUrl;
/** /**
* AGENT_ID * AGENT_ID
*/ */
...@@ -217,6 +225,14 @@ public class MsgOpenAccess extends EntityMP implements Serializable { ...@@ -217,6 +225,14 @@ public class MsgOpenAccess extends EntityMP implements Serializable {
this.modify("redirect_uri", redirectUri); this.modify("redirect_uri", redirectUri);
} }
/**
* 设置 [NotifyUrl]
*/
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
this.modify("notify_url", notifyUrl);
}
/** /**
* 设置 [AGENT_ID] * 设置 [AGENT_ID]
*/ */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!--输出实体[MSG_BODY]数据结构 --> <!--输出实体[MSG_BODY]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_body-3-1"> <changeSet author="root" id="tab-msg_body-3-1">
<createTable tableName="IBZMSGBODY"> <createTable tableName="IBZMSGBODY">
<column name="ISERROR" remarks="" type="INT"> <column name="ISERROR" remarks="" type="INT">
</column> </column>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<!--输出实体[MSG_OPEN_ACCESS]数据结构 --> <!--输出实体[MSG_OPEN_ACCESS]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_open_access-2-2"> <changeSet author="root" id="tab-msg_open_access-6-2">
<createTable tableName="IBZOPENACCESS"> <createTable tableName="IBZOPENACCESS">
<column name="ACCESSID" remarks="" type="VARCHAR(100)"> <column name="ACCESSID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MSG_OPEN_ACCESS_ACCESSID"/> <constraints primaryKey="true" primaryKeyName="PK_MSG_OPEN_ACCESS_ACCESSID"/>
...@@ -65,6 +65,8 @@ ...@@ -65,6 +65,8 @@
</column> </column>
<column name="REDIRECT_URI" remarks="" type="VARCHAR(500)"> <column name="REDIRECT_URI" remarks="" type="VARCHAR(500)">
</column> </column>
<column name="NOTIFY_URL" remarks="" type="VARCHAR(500)">
</column>
<column name="AGENT_ID" remarks="" type="BIGINT"> <column name="AGENT_ID" remarks="" type="BIGINT">
</column> </column>
</createTable> </createTable>
...@@ -72,7 +74,7 @@ ...@@ -72,7 +74,7 @@
<!--输出实体[MSG_TEMPLATE]数据结构 --> <!--输出实体[MSG_TEMPLATE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_template-1-3"> <changeSet author="root" id="tab-msg_template-1-3">
<createTable tableName="IBZMSGTEMPL"> <createTable tableName="IBZMSGTEMPL">
<column name="TID" remarks="" type="VARCHAR(100)"> <column name="TID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MSG_TEMPLATE_TID"/> <constraints primaryKey="true" primaryKeyName="PK_MSG_TEMPLATE_TID"/>
...@@ -98,7 +100,7 @@ ...@@ -98,7 +100,7 @@
<!--输出实体[MSG_USER_ACCOUNT]数据结构 --> <!--输出实体[MSG_USER_ACCOUNT]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_user_account-1-4"> <changeSet author="root" id="tab-msg_user_account-1-4">
<createTable tableName="IBZUSERAUTH"> <createTable tableName="IBZUSERAUTH">
<column name="AUTHID" remarks="" type="VARCHAR(100)"> <column name="AUTHID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MSG_USER_ACCOUNT_AUTHID"/> <constraints primaryKey="true" primaryKeyName="PK_MSG_USER_ACCOUNT_AUTHID"/>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<![CDATA[select t1.* from (SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`AGENT_ID`, t1.`DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1 ) t1 where accessid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`AGENT_ID`, t1.`DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1 ) t1 where accessid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="MsgOpenAccessResultMap" databaseId="oracle"> <select id="selectById" resultMap="MsgOpenAccessResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.DISABLED, t1.EXPIRES_TIME, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 ) t1 where accessid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.AGENT_ID, t1.DISABLED, t1.EXPIRES_TIME, t1.NOTIFY_URL, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 ) t1 where accessid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="MsgOpenAccessResultMap" databaseId="postgresql"> <select id="selectById" resultMap="MsgOpenAccessResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.DISABLED, t1.EXPIRES_TIME, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 ) t1 where accessid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.DISABLED, t1.EXPIRES_TIME, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 ) t1 where accessid=#{id}]]>
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<result property="accessToken" column="access_token" /> <result property="accessToken" column="access_token" />
<result property="expiresTime" column="expires_time" /> <result property="expiresTime" column="expires_time" />
<result property="redirectUri" column="redirect_uri" /> <result property="redirectUri" column="redirect_uri" />
<result property="notifyUrl" column="notify_url" />
<result property="agentId" column="agent_id" /> <result property="agentId" column="agent_id" />
...@@ -47,7 +48,7 @@ ...@@ -47,7 +48,7 @@
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="oracle"> <sql id="Default" databaseId="oracle">
<![CDATA[ SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.DISABLED, t1.EXPIRES_TIME, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 <![CDATA[ SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.AGENT_ID, t1.DISABLED, t1.EXPIRES_TIME, t1.NOTIFY_URL, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -62,7 +63,7 @@ ...@@ -62,7 +63,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="oracle"> <sql id="View" databaseId="oracle">
<![CDATA[ SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.DISABLED, t1.EXPIRES_TIME, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 <![CDATA[ SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.AGENT_ID, t1.DISABLED, t1.EXPIRES_TIME, t1.NOTIFY_URL, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -377,6 +377,20 @@ ...@@ -377,6 +377,20 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"NOTIFY_URL" ,
"codename":"Notify_url",
"field_logic_name":"NotifyUrl",
"entity_name":"MsgOpenAccess",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":500,
"key_field":0,
"show_order":12,
"major_field":0
},
{
"fieldname":"AGENT_ID" , "fieldname":"AGENT_ID" ,
"codename":"Agent_id", "codename":"Agent_id",
"field_logic_name":"AGENT_ID", "field_logic_name":"AGENT_ID",
...@@ -387,7 +401,7 @@ ...@@ -387,7 +401,7 @@
"data_type":"BIGINT", "data_type":"BIGINT",
"data_length":20, "data_length":20,
"key_field":0, "key_field":0,
"show_order":1000, "show_order":13,
"major_field":0 "major_field":0
} }
], ],
......
...@@ -118,6 +118,15 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -118,6 +118,15 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]") @Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
private String redirectUri; private String redirectUri;
/**
* 属性 [NOTIFY_URL]
*
*/
@JSONField(name = "notify_url")
@JsonProperty("notify_url")
@Size(min = 0, max = 500, message = "内容长度必须小于等于[500]")
private String notifyUrl;
/** /**
* 属性 [AGENT_ID] * 属性 [AGENT_ID]
* *
...@@ -200,6 +209,14 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable { ...@@ -200,6 +209,14 @@ public class MsgOpenAccessDTO extends DTOBase implements Serializable {
this.modify("redirect_uri",redirectUri); this.modify("redirect_uri",redirectUri);
} }
/**
* 设置 [NOTIFY_URL]
*/
public void setNotifyUrl(String notifyUrl){
this.notifyUrl = notifyUrl ;
this.modify("notify_url",notifyUrl);
}
/** /**
* 设置 [AGENT_ID] * 设置 [AGENT_ID]
*/ */
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册