Commit 56654bbe by 周海峰

no message

parent be9aff95
......@@ -9,6 +9,3 @@ ALTER TABLE `platform_auth`.`platform_applications`
ALTER TABLE `platform_auth`.`platform_applications`
ADD COLUMN `wechat_url` varchar(255) NULL COMMENT '企业微信入口' AFTER `group_code`;
ALTER TABLE `platform_applications`
ADD COLUMN `app_enable` varchar(20) NOT NULL DEFAULT 1 COMMENT '应用启用/停用:1=启用,0=停用';
\ No newline at end of file
......@@ -118,19 +118,6 @@ public class PlatformApplications implements Serializable {
this.num = num;
}
/**
* 应用启用/停用:'1'=启用,'0'=停用
*/
private String appEnable;
public String getAppEnable() {
return appEnable;
}
public void setAppEnable(String appEnable) {
this.appEnable = appEnable;
}
public String getWechatUrl() {
return wechatUrl;
}
......
......@@ -16,7 +16,6 @@
<result column="mailtype" jdbcType="VARCHAR" property="mailtype"/>
<result column="group_code" jdbcType="VARCHAR" property="groupCode"/>
<result column="wechat_url" jdbcType="VARCHAR" property="wechatUrl"/>
<result column="app_enable" jdbcType="VARCHAR" property="appEnable"/>
</resultMap>
......@@ -99,7 +98,7 @@
</sql>
<sql id="Base_Column_List">
id, title, img, href, addtime, tishi, databasename, databasepassword, databasecon, qyflag, appid, secret,
openmail, mailtype, group_code, wechat_url, app_enable, num
openmail, mailtype, group_code, wechat_url, num
</sql>
<select id="selectByExample" parameterType="com.metro.auth.platform.domain.auth.PlatformApplicationsExample"
resultMap="BaseResultMap">
......@@ -149,14 +148,14 @@
insert into platform_applications (id, title, img,
href, addtime, tishi,databasename,databasepassword,
databasecon,qyflag,appid,secret,openmail,mailtype,
group_code, wechat_url, app_enable
group_code, wechat_url
)
values (#{id,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR},
#{href,jdbcType=VARCHAR}, #{addtime,jdbcType=VARCHAR}, #{tishi,jdbcType=INTEGER},
#{databasename,jdbcType=VARCHAR}, #{databasepassword,jdbcType=VARCHAR}, #{databasecon,jdbcType=VARCHAR},
#{qyflag,jdbcType=VARCHAR},
#{appid,jdbcType=VARCHAR},#{secret,jdbcType=VARCHAR},#{openmail,jdbcType=INTEGER},
#{mailtype,jdbcType=VARCHAR},#{groupCode,jdbcType=VARCHAR}, #{wechatUrl,jdbcType=VARCHAR}, #{appEnable,jdbcType=VARCHAR}
#{mailtype,jdbcType=VARCHAR},#{groupCode,jdbcType=VARCHAR}, #{wechatUrl,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.metro.auth.platform.domain.auth.PlatformApplications">
......@@ -180,9 +179,7 @@
<if test="tishi != null">
tishi,
</if>
<if test="appEnable != null">
app_enable,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -203,9 +200,7 @@
<if test="tishi != null">
#{tishi,jdbcType=INTEGER},
</if>
<if test="appEnable != null">
#{appEnable,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.metro.auth.platform.domain.auth.PlatformApplicationsExample"
......@@ -250,9 +245,7 @@
<if test="record.mailtype != null">
mailtype = #{record.mailtype,jdbcType=VARCHAR},
</if>
<if test="record.appEnable != null">
app_enable = #{record.appEnable,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause"/>
......@@ -279,9 +272,7 @@
openmail = #{record.openmail,jdbcType=INTEGER},
mailtype = #{record.mailtype,jdbcType=VARCHAR},
group_code = #{record.groupCode,jdbcType=VARCHAR},
wechat_url = #{record.wechatUrl,jdbcType=VARCHAR},
app_enable = #{record.appEnable,jdbcType=VARCHAR}
wechat_url = #{record.wechatUrl,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause"/>
</if>
......@@ -311,9 +302,7 @@
<if test="num != null">
num = #{num,jdbcType=VARCHAR},
</if>
<if test="appEnable != null">
app_enable = #{appEnable,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
......@@ -327,8 +316,7 @@
img = #{img,jdbcType=VARCHAR},
href = #{href,jdbcType=VARCHAR},
addtime = #{addtime,jdbcType=VARCHAR},
tishi = #{tishi,jdbcType=INTEGER},
app_enable = #{appEnable,jdbcType=VARCHAR}
tishi = #{tishi,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论