bug修改
parent
0073502c96
commit
d414b93c29
|
|
@ -197,6 +197,26 @@ public class AppUser extends BaseEntity
|
|||
|
||||
private Integer townId;
|
||||
|
||||
@Excel(name = "行业")
|
||||
private String hy;
|
||||
|
||||
/** 奖项 */
|
||||
@Excel(name = "奖项")
|
||||
private String jx;
|
||||
|
||||
/** 教育 */
|
||||
@Excel(name = "教育")
|
||||
private String jy;
|
||||
|
||||
/** 行业vip是否可见0是1否 */
|
||||
@Excel(name = "行业vip是否可见0是1否")
|
||||
private Long isShowTech;
|
||||
|
||||
/** 创业方向 */
|
||||
@Excel(name = "创业方向")
|
||||
private String cyfx;
|
||||
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<result property="cityId" column="city_id" />
|
||||
<result property="provinceId" column="province_id" />
|
||||
<result property="townId" column="town_id" />
|
||||
<result property="hy" column="hy" />
|
||||
<result property="jx" column="jx" />
|
||||
<result property="jy" column="jy" />
|
||||
<result property="isShowTech" column="is_show_tech" />
|
||||
<result property="cyfx" column="cyfx" />
|
||||
</resultMap>
|
||||
<sql id="appUserColumns">
|
||||
a.id as "id",
|
||||
|
|
@ -92,7 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
|
||||
<sql id="selectAppUserVo">
|
||||
select id, username, password, nickname, email,sex, phone, address, create_time, update_time, avatar_url, education, school, major, start_time, end_time, experience, company_name, industry, job_time, job_name, job_type, skill_id, job_content, type,is_member,job_end_time,
|
||||
order_id, order_start_time, order_end_time , `check` , back_ground_img,city_id , province_id , town_id from app_user
|
||||
order_id, order_start_time, order_end_time , `check` , back_ground_img,city_id , province_id , town_id,hy, jx, jy, is_show_tech, cyfx from app_user
|
||||
</sql>
|
||||
|
||||
<select id="selectAppUserList" parameterType="AppUser" resultMap="AppUserResult">
|
||||
|
|
@ -135,6 +140,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="check != null "> and `check` = #{check}</if>
|
||||
<if test="backGroundImg != null "> and back_ground_img = #{backGroundImg}</if>
|
||||
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||
<if test="hy != null and hy != ''"> and hy = #{hy}</if>
|
||||
<if test="jx != null and jx != ''"> and jx = #{jx}</if>
|
||||
<if test="jy != null and jy != ''"> and jy = #{jy}</if>
|
||||
<if test="isShowTech != null "> and is_show_tech = #{isShowTech}</if>
|
||||
<if test="cyfx != null and cyfx != ''"> and cyfx = #{cyfx}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
|
@ -269,7 +279,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="pushId != null">push_id,</if>
|
||||
<if test="provinceId != null">province_id,</if>
|
||||
<if test="cityId != null">city_id,</if>
|
||||
<if test="townId != null">town_id</if>
|
||||
<if test="townId != null">town_id,</if>
|
||||
<if test="hy != null">hy,</if>
|
||||
<if test="jx != null">jx,</if>
|
||||
<if test="jy != null">jy,</if>
|
||||
<if test="isShowTech != null">is_show_tech,</if>
|
||||
<if test="cyfx != null">cyfx,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="username != null">#{username},</if>
|
||||
|
|
@ -313,7 +328,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="pushId != null">#{pushId},</if>
|
||||
<if test="provinceId != null">#{provinceId},</if>
|
||||
<if test="cityId != null">#{cityId},</if>
|
||||
<if test="townId != null">#{townId}</if>
|
||||
<if test="townId != null">#{townId},</if>
|
||||
<if test="hy != null">#{hy},</if>
|
||||
<if test="jx != null">#{jx},</if>
|
||||
<if test="jy != null">#{jy},</if>
|
||||
<if test="isShowTech != null">#{isShowTech},</if>
|
||||
<if test="cyfx != null">#{cyfx},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
|
|
@ -359,6 +379,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="orderEndTime != null">order_end_time = #{orderEndTime},</if>
|
||||
<if test="check != null">`check` = #{check},</if>
|
||||
<if test="backGroundImg != null">back_ground_img = #{backGroundImg},</if>
|
||||
<if test="hy != null">hy = #{hy},</if>
|
||||
<if test="jx != null">jx = #{jx},</if>
|
||||
<if test="jy != null">jy = #{jy},</if>
|
||||
<if test="isShowTech != null">is_show_tech = #{isShowTech},</if>
|
||||
<if test="cyfx != null">cyfx = #{cyfx},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
|
|
|||
Loading…
Reference in New Issue