Commit ff544f9a by huang

111

parent 962b9dae
package com.gic.haoban.manage.service.dao.mapper;
import com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise;
public interface WxEnterpriseMapper {
int deleteByPrimaryKey(String wxEnterpriseId);
int insert(TabHaobanWxEnterprise record);
int insertSelective(TabHaobanWxEnterprise record);
TabHaobanWxEnterprise selectByPrimaryKey(String wxEnterpriseId);
int updateByPrimaryKeySelective(TabHaobanWxEnterprise record);
int updateByPrimaryKey(TabHaobanWxEnterprise record);
}
\ No newline at end of file
package com.gic.haoban.manage.service.entity;
import java.io.Serializable;
import java.util.Date;
public class TabHaobanWxEnterprise implements Serializable {
private String wxEnterpriseId;
private String corpid;
private String permanentCode;
private String corpName;
private String corpType;
private String corpSquareLogoUrl;
private String corpUserMax;
private String corpFullName;
private String subjectType;
private Date verifiedEndTime;
private String corpWxqrcode;
private String corpScale;
private String corpIndustry;
private String corpSubIndustry;
private String location;
private String authInfo;
private String agent;
private String agentid;
private String appid;
private String name;
private String squareLogoUrl;
private String roundLogoUrl;
private Integer level;
private Integer bindFlag;
private Integer statusFlag;
private Date createTime;
private Date updateTime;
private static final long serialVersionUID = 1L;
public String getWxEnterpriseId() {
return wxEnterpriseId;
}
public void setWxEnterpriseId(String wxEnterpriseId) {
this.wxEnterpriseId = wxEnterpriseId == null ? null : wxEnterpriseId.trim();
}
public String getCorpid() {
return corpid;
}
public void setCorpid(String corpid) {
this.corpid = corpid == null ? null : corpid.trim();
}
public String getPermanentCode() {
return permanentCode;
}
public void setPermanentCode(String permanentCode) {
this.permanentCode = permanentCode == null ? null : permanentCode.trim();
}
public String getCorpName() {
return corpName;
}
public void setCorpName(String corpName) {
this.corpName = corpName == null ? null : corpName.trim();
}
public String getCorpType() {
return corpType;
}
public void setCorpType(String corpType) {
this.corpType = corpType == null ? null : corpType.trim();
}
public String getCorpSquareLogoUrl() {
return corpSquareLogoUrl;
}
public void setCorpSquareLogoUrl(String corpSquareLogoUrl) {
this.corpSquareLogoUrl = corpSquareLogoUrl == null ? null : corpSquareLogoUrl.trim();
}
public String getCorpUserMax() {
return corpUserMax;
}
public void setCorpUserMax(String corpUserMax) {
this.corpUserMax = corpUserMax == null ? null : corpUserMax.trim();
}
public String getCorpFullName() {
return corpFullName;
}
public void setCorpFullName(String corpFullName) {
this.corpFullName = corpFullName == null ? null : corpFullName.trim();
}
public String getSubjectType() {
return subjectType;
}
public void setSubjectType(String subjectType) {
this.subjectType = subjectType == null ? null : subjectType.trim();
}
public Date getVerifiedEndTime() {
return verifiedEndTime;
}
public void setVerifiedEndTime(Date verifiedEndTime) {
this.verifiedEndTime = verifiedEndTime;
}
public String getCorpWxqrcode() {
return corpWxqrcode;
}
public void setCorpWxqrcode(String corpWxqrcode) {
this.corpWxqrcode = corpWxqrcode == null ? null : corpWxqrcode.trim();
}
public String getCorpScale() {
return corpScale;
}
public void setCorpScale(String corpScale) {
this.corpScale = corpScale == null ? null : corpScale.trim();
}
public String getCorpIndustry() {
return corpIndustry;
}
public void setCorpIndustry(String corpIndustry) {
this.corpIndustry = corpIndustry == null ? null : corpIndustry.trim();
}
public String getCorpSubIndustry() {
return corpSubIndustry;
}
public void setCorpSubIndustry(String corpSubIndustry) {
this.corpSubIndustry = corpSubIndustry == null ? null : corpSubIndustry.trim();
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location == null ? null : location.trim();
}
public String getAuthInfo() {
return authInfo;
}
public void setAuthInfo(String authInfo) {
this.authInfo = authInfo == null ? null : authInfo.trim();
}
public String getAgent() {
return agent;
}
public void setAgent(String agent) {
this.agent = agent == null ? null : agent.trim();
}
public String getAgentid() {
return agentid;
}
public void setAgentid(String agentid) {
this.agentid = agentid == null ? null : agentid.trim();
}
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid == null ? null : appid.trim();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getSquareLogoUrl() {
return squareLogoUrl;
}
public void setSquareLogoUrl(String squareLogoUrl) {
this.squareLogoUrl = squareLogoUrl == null ? null : squareLogoUrl.trim();
}
public String getRoundLogoUrl() {
return roundLogoUrl;
}
public void setRoundLogoUrl(String roundLogoUrl) {
this.roundLogoUrl = roundLogoUrl == null ? null : roundLogoUrl.trim();
}
public Integer getLevel() {
return level;
}
public void setLevel(Integer level) {
this.level = level;
}
public Integer getBindFlag() {
return bindFlag;
}
public void setBindFlag(Integer bindFlag) {
this.bindFlag = bindFlag;
}
public Integer getStatusFlag() {
return statusFlag;
}
public void setStatusFlag(Integer statusFlag) {
this.statusFlag = statusFlag;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
}
\ No newline at end of file
<?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.gic.haoban.manage.service.dao.mapper.WxEnterpriseMapper" >
<resultMap id="BaseResultMap" type="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise" >
<id column="wx_enterprise_id" property="wxEnterpriseId" jdbcType="VARCHAR" />
<result column="corpid" property="corpid" jdbcType="VARCHAR" />
<result column="permanent_code" property="permanentCode" jdbcType="VARCHAR" />
<result column="corp_name" property="corpName" jdbcType="VARCHAR" />
<result column="corp_type" property="corpType" jdbcType="VARCHAR" />
<result column="corp_square_logo_url" property="corpSquareLogoUrl" jdbcType="VARCHAR" />
<result column="corp_user_max" property="corpUserMax" jdbcType="VARCHAR" />
<result column="corp_full_name" property="corpFullName" jdbcType="VARCHAR" />
<result column="subject_type" property="subjectType" jdbcType="VARCHAR" />
<result column="verified_end_time" property="verifiedEndTime" jdbcType="TIMESTAMP" />
<result column="corp_wxqrcode" property="corpWxqrcode" jdbcType="VARCHAR" />
<result column="corp_scale" property="corpScale" jdbcType="VARCHAR" />
<result column="corp_industry" property="corpIndustry" jdbcType="VARCHAR" />
<result column="corp_sub_industry" property="corpSubIndustry" jdbcType="VARCHAR" />
<result column="location" property="location" jdbcType="VARCHAR" />
<result column="auth_info" property="authInfo" jdbcType="VARCHAR" />
<result column="agent" property="agent" jdbcType="VARCHAR" />
<result column="agentid" property="agentid" jdbcType="VARCHAR" />
<result column="appid" property="appid" jdbcType="VARCHAR" />
<result column="name" property="name" jdbcType="VARCHAR" />
<result column="square_logo_url" property="squareLogoUrl" jdbcType="VARCHAR" />
<result column="round_logo_url" property="roundLogoUrl" jdbcType="VARCHAR" />
<result column="level" property="level" jdbcType="INTEGER" />
<result column="bind_flag" property="bindFlag" jdbcType="INTEGER" />
<result column="status_flag" property="statusFlag" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
</resultMap>
<sql id="Base_Column_List" >
wx_enterprise_id, corpid, permanent_code, corp_name, corp_type, corp_square_logo_url,
corp_user_max, corp_full_name, subject_type, verified_end_time, corp_wxqrcode, corp_scale,
corp_industry, corp_sub_industry, location, auth_info, agent, agentid, appid, name,
square_logo_url, round_logo_url, level, bind_flag, status_flag, create_time, update_time
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from tab_haoban_wx_enterprise
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
delete from tab_haoban_wx_enterprise
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</delete>
<insert id="insert" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise" >
insert into tab_haoban_wx_enterprise (wx_enterprise_id, corpid, permanent_code,
corp_name, corp_type, corp_square_logo_url,
corp_user_max, corp_full_name, subject_type,
verified_end_time, corp_wxqrcode, corp_scale,
corp_industry, corp_sub_industry, location,
auth_info, agent, agentid,
appid, name, square_logo_url,
round_logo_url, level, bind_flag,
status_flag, create_time, update_time
)
values (#{wxEnterpriseId,jdbcType=VARCHAR}, #{corpid,jdbcType=VARCHAR}, #{permanentCode,jdbcType=VARCHAR},
#{corpName,jdbcType=VARCHAR}, #{corpType,jdbcType=VARCHAR}, #{corpSquareLogoUrl,jdbcType=VARCHAR},
#{corpUserMax,jdbcType=VARCHAR}, #{corpFullName,jdbcType=VARCHAR}, #{subjectType,jdbcType=VARCHAR},
#{verifiedEndTime,jdbcType=TIMESTAMP}, #{corpWxqrcode,jdbcType=VARCHAR}, #{corpScale,jdbcType=VARCHAR},
#{corpIndustry,jdbcType=VARCHAR}, #{corpSubIndustry,jdbcType=VARCHAR}, #{location,jdbcType=VARCHAR},
#{authInfo,jdbcType=VARCHAR}, #{agent,jdbcType=VARCHAR}, #{agentid,jdbcType=VARCHAR},
#{appid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{squareLogoUrl,jdbcType=VARCHAR},
#{roundLogoUrl,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, #{bindFlag,jdbcType=INTEGER},
#{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise" >
insert into tab_haoban_wx_enterprise
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="wxEnterpriseId != null" >
wx_enterprise_id,
</if>
<if test="corpid != null" >
corpid,
</if>
<if test="permanentCode != null" >
permanent_code,
</if>
<if test="corpName != null" >
corp_name,
</if>
<if test="corpType != null" >
corp_type,
</if>
<if test="corpSquareLogoUrl != null" >
corp_square_logo_url,
</if>
<if test="corpUserMax != null" >
corp_user_max,
</if>
<if test="corpFullName != null" >
corp_full_name,
</if>
<if test="subjectType != null" >
subject_type,
</if>
<if test="verifiedEndTime != null" >
verified_end_time,
</if>
<if test="corpWxqrcode != null" >
corp_wxqrcode,
</if>
<if test="corpScale != null" >
corp_scale,
</if>
<if test="corpIndustry != null" >
corp_industry,
</if>
<if test="corpSubIndustry != null" >
corp_sub_industry,
</if>
<if test="location != null" >
location,
</if>
<if test="authInfo != null" >
auth_info,
</if>
<if test="agent != null" >
agent,
</if>
<if test="agentid != null" >
agentid,
</if>
<if test="appid != null" >
appid,
</if>
<if test="name != null" >
name,
</if>
<if test="squareLogoUrl != null" >
square_logo_url,
</if>
<if test="roundLogoUrl != null" >
round_logo_url,
</if>
<if test="level != null" >
level,
</if>
<if test="bindFlag != null" >
bind_flag,
</if>
<if test="statusFlag != null" >
status_flag,
</if>
<if test="createTime != null" >
create_time,
</if>
<if test="updateTime != null" >
update_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="wxEnterpriseId != null" >
#{wxEnterpriseId,jdbcType=VARCHAR},
</if>
<if test="corpid != null" >
#{corpid,jdbcType=VARCHAR},
</if>
<if test="permanentCode != null" >
#{permanentCode,jdbcType=VARCHAR},
</if>
<if test="corpName != null" >
#{corpName,jdbcType=VARCHAR},
</if>
<if test="corpType != null" >
#{corpType,jdbcType=VARCHAR},
</if>
<if test="corpSquareLogoUrl != null" >
#{corpSquareLogoUrl,jdbcType=VARCHAR},
</if>
<if test="corpUserMax != null" >
#{corpUserMax,jdbcType=VARCHAR},
</if>
<if test="corpFullName != null" >
#{corpFullName,jdbcType=VARCHAR},
</if>
<if test="subjectType != null" >
#{subjectType,jdbcType=VARCHAR},
</if>
<if test="verifiedEndTime != null" >
#{verifiedEndTime,jdbcType=TIMESTAMP},
</if>
<if test="corpWxqrcode != null" >
#{corpWxqrcode,jdbcType=VARCHAR},
</if>
<if test="corpScale != null" >
#{corpScale,jdbcType=VARCHAR},
</if>
<if test="corpIndustry != null" >
#{corpIndustry,jdbcType=VARCHAR},
</if>
<if test="corpSubIndustry != null" >
#{corpSubIndustry,jdbcType=VARCHAR},
</if>
<if test="location != null" >
#{location,jdbcType=VARCHAR},
</if>
<if test="authInfo != null" >
#{authInfo,jdbcType=VARCHAR},
</if>
<if test="agent != null" >
#{agent,jdbcType=VARCHAR},
</if>
<if test="agentid != null" >
#{agentid,jdbcType=VARCHAR},
</if>
<if test="appid != null" >
#{appid,jdbcType=VARCHAR},
</if>
<if test="name != null" >
#{name,jdbcType=VARCHAR},
</if>
<if test="squareLogoUrl != null" >
#{squareLogoUrl,jdbcType=VARCHAR},
</if>
<if test="roundLogoUrl != null" >
#{roundLogoUrl,jdbcType=VARCHAR},
</if>
<if test="level != null" >
#{level,jdbcType=INTEGER},
</if>
<if test="bindFlag != null" >
#{bindFlag,jdbcType=INTEGER},
</if>
<if test="statusFlag != null" >
#{statusFlag,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null" >
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise" >
update tab_haoban_wx_enterprise
<set >
<if test="corpid != null" >
corpid = #{corpid,jdbcType=VARCHAR},
</if>
<if test="permanentCode != null" >
permanent_code = #{permanentCode,jdbcType=VARCHAR},
</if>
<if test="corpName != null" >
corp_name = #{corpName,jdbcType=VARCHAR},
</if>
<if test="corpType != null" >
corp_type = #{corpType,jdbcType=VARCHAR},
</if>
<if test="corpSquareLogoUrl != null" >
corp_square_logo_url = #{corpSquareLogoUrl,jdbcType=VARCHAR},
</if>
<if test="corpUserMax != null" >
corp_user_max = #{corpUserMax,jdbcType=VARCHAR},
</if>
<if test="corpFullName != null" >
corp_full_name = #{corpFullName,jdbcType=VARCHAR},
</if>
<if test="subjectType != null" >
subject_type = #{subjectType,jdbcType=VARCHAR},
</if>
<if test="verifiedEndTime != null" >
verified_end_time = #{verifiedEndTime,jdbcType=TIMESTAMP},
</if>
<if test="corpWxqrcode != null" >
corp_wxqrcode = #{corpWxqrcode,jdbcType=VARCHAR},
</if>
<if test="corpScale != null" >
corp_scale = #{corpScale,jdbcType=VARCHAR},
</if>
<if test="corpIndustry != null" >
corp_industry = #{corpIndustry,jdbcType=VARCHAR},
</if>
<if test="corpSubIndustry != null" >
corp_sub_industry = #{corpSubIndustry,jdbcType=VARCHAR},
</if>
<if test="location != null" >
location = #{location,jdbcType=VARCHAR},
</if>
<if test="authInfo != null" >
auth_info = #{authInfo,jdbcType=VARCHAR},
</if>
<if test="agent != null" >
agent = #{agent,jdbcType=VARCHAR},
</if>
<if test="agentid != null" >
agentid = #{agentid,jdbcType=VARCHAR},
</if>
<if test="appid != null" >
appid = #{appid,jdbcType=VARCHAR},
</if>
<if test="name != null" >
name = #{name,jdbcType=VARCHAR},
</if>
<if test="squareLogoUrl != null" >
square_logo_url = #{squareLogoUrl,jdbcType=VARCHAR},
</if>
<if test="roundLogoUrl != null" >
round_logo_url = #{roundLogoUrl,jdbcType=VARCHAR},
</if>
<if test="level != null" >
level = #{level,jdbcType=INTEGER},
</if>
<if test="bindFlag != null" >
bind_flag = #{bindFlag,jdbcType=INTEGER},
</if>
<if test="statusFlag != null" >
status_flag = #{statusFlag,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null" >
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise" >
update tab_haoban_wx_enterprise
set corpid = #{corpid,jdbcType=VARCHAR},
permanent_code = #{permanentCode,jdbcType=VARCHAR},
corp_name = #{corpName,jdbcType=VARCHAR},
corp_type = #{corpType,jdbcType=VARCHAR},
corp_square_logo_url = #{corpSquareLogoUrl,jdbcType=VARCHAR},
corp_user_max = #{corpUserMax,jdbcType=VARCHAR},
corp_full_name = #{corpFullName,jdbcType=VARCHAR},
subject_type = #{subjectType,jdbcType=VARCHAR},
verified_end_time = #{verifiedEndTime,jdbcType=TIMESTAMP},
corp_wxqrcode = #{corpWxqrcode,jdbcType=VARCHAR},
corp_scale = #{corpScale,jdbcType=VARCHAR},
corp_industry = #{corpIndustry,jdbcType=VARCHAR},
corp_sub_industry = #{corpSubIndustry,jdbcType=VARCHAR},
location = #{location,jdbcType=VARCHAR},
auth_info = #{authInfo,jdbcType=VARCHAR},
agent = #{agent,jdbcType=VARCHAR},
agentid = #{agentid,jdbcType=VARCHAR},
appid = #{appid,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
square_logo_url = #{squareLogoUrl,jdbcType=VARCHAR},
round_logo_url = #{roundLogoUrl,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
bind_flag = #{bindFlag,jdbcType=INTEGER},
status_flag = #{statusFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</update>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment