登录页面文字,logo,logo图片大小,底部文字说明支持动态
parent
138a71b7f9
commit
d6890959dd
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
@ -0,0 +1,17 @@
|
||||
package com.manage.dao;
|
||||
|
||||
import com.manage.entity.Power_Login_Set;
|
||||
|
||||
public interface Power_Login_SetMapper {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(Power_Login_Set record);
|
||||
|
||||
int insertSelective(Power_Login_Set record);
|
||||
|
||||
Power_Login_Set selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(Power_Login_Set record);
|
||||
|
||||
int updateByPrimaryKey(Power_Login_Set record);
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package com.manage.entity;
|
||||
|
||||
public class Power_Login_Set {
|
||||
private Integer id;
|
||||
|
||||
private String context;
|
||||
|
||||
private String logoPath;
|
||||
|
||||
private Integer logoWidth;
|
||||
|
||||
private Integer logoHeight;
|
||||
|
||||
private String pic1Path;
|
||||
|
||||
private String footContext;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getContext() {
|
||||
return context;
|
||||
}
|
||||
|
||||
public void setContext(String context) {
|
||||
this.context = context == null ? null : context.trim();
|
||||
}
|
||||
|
||||
public String getLogoPath() {
|
||||
return logoPath;
|
||||
}
|
||||
|
||||
public void setLogoPath(String logoPath) {
|
||||
this.logoPath = logoPath == null ? null : logoPath.trim();
|
||||
}
|
||||
|
||||
public Integer getLogoWidth() {
|
||||
return logoWidth;
|
||||
}
|
||||
|
||||
public void setLogoWidth(Integer logoWidth) {
|
||||
this.logoWidth = logoWidth;
|
||||
}
|
||||
|
||||
public Integer getLogoHeight() {
|
||||
return logoHeight;
|
||||
}
|
||||
|
||||
public void setLogoHeight(Integer logoHeight) {
|
||||
this.logoHeight = logoHeight;
|
||||
}
|
||||
|
||||
public String getPic1Path() {
|
||||
return pic1Path;
|
||||
}
|
||||
|
||||
public void setPic1Path(String pic1Path) {
|
||||
this.pic1Path = pic1Path == null ? null : pic1Path.trim();
|
||||
}
|
||||
|
||||
public String getFootContext() {
|
||||
return footContext;
|
||||
}
|
||||
|
||||
public void setFootContext(String footContext) {
|
||||
this.footContext = footContext == null ? null : footContext.trim();
|
||||
}
|
||||
}
|
@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.manage.dao.Power_Login_SetMapper" >
|
||||
<resultMap id="BaseResultMap" type="com.manage.entity.Power_Login_Set" >
|
||||
<id column="id" property="id" jdbcType="INTEGER" />
|
||||
<result column="context" property="context" jdbcType="VARCHAR" />
|
||||
<result column="logo_path" property="logoPath" jdbcType="VARCHAR" />
|
||||
<result column="logo_width" property="logoWidth" jdbcType="INTEGER" />
|
||||
<result column="logo_height" property="logoHeight" jdbcType="INTEGER" />
|
||||
<result column="pic1_path" property="pic1Path" jdbcType="VARCHAR" />
|
||||
<result column="foot_context" property="footContext" jdbcType="VARCHAR" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List" >
|
||||
id, context, logo_path, logo_width, logo_height, pic1_path, foot_context
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from power_login_set
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
|
||||
delete from power_login_set
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.manage.entity.Power_Login_Set" >
|
||||
insert into power_login_set (id, context, logo_path,
|
||||
logo_width, logo_height, pic1_path,
|
||||
foot_context)
|
||||
values (#{id,jdbcType=INTEGER}, #{context,jdbcType=VARCHAR}, #{logoPath,jdbcType=VARCHAR},
|
||||
#{logoWidth,jdbcType=INTEGER}, #{logoHeight,jdbcType=INTEGER}, #{pic1Path,jdbcType=VARCHAR},
|
||||
#{footContext,jdbcType=VARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.manage.entity.Power_Login_Set" >
|
||||
insert into power_login_set
|
||||
<trim prefix="(" suffix=")" suffixOverrides="," >
|
||||
<if test="id != null" >
|
||||
id,
|
||||
</if>
|
||||
<if test="context != null" >
|
||||
context,
|
||||
</if>
|
||||
<if test="logoPath != null" >
|
||||
logo_path,
|
||||
</if>
|
||||
<if test="logoWidth != null" >
|
||||
logo_width,
|
||||
</if>
|
||||
<if test="logoHeight != null" >
|
||||
logo_height,
|
||||
</if>
|
||||
<if test="pic1Path != null" >
|
||||
pic1_path,
|
||||
</if>
|
||||
<if test="footContext != null" >
|
||||
foot_context,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
||||
<if test="id != null" >
|
||||
#{id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="context != null" >
|
||||
#{context,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="logoPath != null" >
|
||||
#{logoPath,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="logoWidth != null" >
|
||||
#{logoWidth,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="logoHeight != null" >
|
||||
#{logoHeight,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="pic1Path != null" >
|
||||
#{pic1Path,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="footContext != null" >
|
||||
#{footContext,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.manage.entity.Power_Login_Set" >
|
||||
update power_login_set
|
||||
<set >
|
||||
<if test="context != null" >
|
||||
context = #{context,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="logoPath != null" >
|
||||
logo_path = #{logoPath,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="logoWidth != null" >
|
||||
logo_width = #{logoWidth,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="logoHeight != null" >
|
||||
logo_height = #{logoHeight,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="pic1Path != null" >
|
||||
pic1_path = #{pic1Path,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="footContext != null" >
|
||||
foot_context = #{footContext,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.manage.entity.Power_Login_Set" >
|
||||
update power_login_set
|
||||
set context = #{context,jdbcType=VARCHAR},
|
||||
logo_path = #{logoPath,jdbcType=VARCHAR},
|
||||
logo_width = #{logoWidth,jdbcType=INTEGER},
|
||||
logo_height = #{logoHeight,jdbcType=INTEGER},
|
||||
pic1_path = #{pic1Path,jdbcType=VARCHAR},
|
||||
foot_context = #{footContext,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue