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

zhouweidong 发布系统代码

上级 40064489
...@@ -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",
}, },
views: { views: {
gridview: { gridview: {
......
...@@ -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",
}, },
views: { views: {
gridview: { gridview: {
......
...@@ -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',
},
] ]
} }
......
...@@ -121,6 +121,14 @@ public class PayOpenAccess extends EntityMP implements Serializable { ...@@ -121,6 +121,14 @@ public class PayOpenAccess 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;
...@@ -206,6 +214,14 @@ public class PayOpenAccess extends EntityMP implements Serializable { ...@@ -206,6 +214,14 @@ public class PayOpenAccess 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);
}
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="PayOpenAccessResultMap" databaseId="mysql"> <select id="selectById" resultMap="PayOpenAccessResultMap" databaseId="mysql">
<![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.`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="PayOpenAccessResultMap" databaseId="oracle"> <select id="selectById" resultMap="PayOpenAccessResultMap" 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.DISABLED, t1.EXPIRES_TIME, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 ) t1 where accessid=#{id}]]>
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,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" />
</resultMap> </resultMap>
...@@ -38,7 +39,7 @@ ...@@ -38,7 +39,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![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.`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]-->
...@@ -48,7 +49,7 @@ ...@@ -48,7 +49,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![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.`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]-->
......
...@@ -105,6 +105,14 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -105,6 +105,14 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable {
@JsonProperty("redirect_uri") @JsonProperty("redirect_uri")
private String redirectUri; private String redirectUri;
/**
* 属性 [NOTIFY_URL]
*
*/
@JSONField(name = "notify_url")
@JsonProperty("notify_url")
private String notifyUrl;
/** /**
* 设置 [ACCESSNAME] * 设置 [ACCESSNAME]
...@@ -178,6 +186,14 @@ public class PayOpenAccessDTO extends DTOBase implements Serializable { ...@@ -178,6 +186,14 @@ public class PayOpenAccessDTO 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);
}
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册