and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, personnel_name, avatar, personnel_type, profession_background, key_figure, company_id,
`position`, career_start_year, investment_experience, sex, graduateschool, education,
major, porder, ifinclude, isvisible, is_qualify, create_time, update_time, delete_tag
profile, topic
delete from personnel_info
where id = #{id,jdbcType=VARCHAR}
delete from personnel_info
insert into personnel_info (id, personnel_name, avatar,
personnel_type, profession_background, key_figure,
company_id, `position`, career_start_year,
investment_experience, sex, graduateschool,
education, major, porder,
ifinclude, isvisible, is_qualify,
create_time, update_time, delete_tag,
profile, topic)
values (#{id,jdbcType=VARCHAR}, #{personnelName,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR},
#{personnelType,jdbcType=INTEGER}, #{professionBackground,jdbcType=TINYINT}, #{keyFigure,jdbcType=INTEGER},
#{companyId,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, #{careerStartYear,jdbcType=VARCHAR},
#{investmentExperience,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{graduateschool,jdbcType=VARCHAR},
#{education,jdbcType=INTEGER}, #{major,jdbcType=VARCHAR}, #{porder,jdbcType=INTEGER},
#{ifinclude,jdbcType=INTEGER}, #{isvisible,jdbcType=INTEGER}, #{isQualify,jdbcType=TINYINT},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER},
#{profile,jdbcType=LONGVARCHAR}, #{topic,jdbcType=LONGVARCHAR})
insert into personnel_info
id,
personnel_name,
avatar,
personnel_type,
profession_background,
key_figure,
company_id,
`position`,
career_start_year,
investment_experience,
sex,
graduateschool,
education,
major,
porder,
ifinclude,
isvisible,
is_qualify,
create_time,
update_time,
delete_tag,
profile,
topic,
#{id,jdbcType=VARCHAR},
#{personnelName,jdbcType=VARCHAR},
#{avatar,jdbcType=VARCHAR},
#{personnelType,jdbcType=INTEGER},
#{professionBackground,jdbcType=TINYINT},
#{keyFigure,jdbcType=INTEGER},
#{companyId,jdbcType=VARCHAR},
#{position,jdbcType=VARCHAR},
#{careerStartYear,jdbcType=VARCHAR},
#{investmentExperience,jdbcType=INTEGER},
#{sex,jdbcType=INTEGER},
#{graduateschool,jdbcType=VARCHAR},
#{education,jdbcType=INTEGER},
#{major,jdbcType=VARCHAR},
#{porder,jdbcType=INTEGER},
#{ifinclude,jdbcType=INTEGER},
#{isvisible,jdbcType=INTEGER},
#{isQualify,jdbcType=TINYINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER},
#{profile,jdbcType=LONGVARCHAR},
#{topic,jdbcType=LONGVARCHAR},
update personnel_info
id = #{record.id,jdbcType=VARCHAR},
personnel_name = #{record.personnelName,jdbcType=VARCHAR},
avatar = #{record.avatar,jdbcType=VARCHAR},
personnel_type = #{record.personnelType,jdbcType=INTEGER},
profession_background = #{record.professionBackground,jdbcType=TINYINT},
key_figure = #{record.keyFigure,jdbcType=INTEGER},
company_id = #{record.companyId,jdbcType=VARCHAR},
`position` = #{record.position,jdbcType=VARCHAR},
career_start_year = #{record.careerStartYear,jdbcType=VARCHAR},
investment_experience = #{record.investmentExperience,jdbcType=INTEGER},
sex = #{record.sex,jdbcType=INTEGER},
graduateschool = #{record.graduateschool,jdbcType=VARCHAR},
education = #{record.education,jdbcType=INTEGER},
major = #{record.major,jdbcType=VARCHAR},
porder = #{record.porder,jdbcType=INTEGER},
ifinclude = #{record.ifinclude,jdbcType=INTEGER},
isvisible = #{record.isvisible,jdbcType=INTEGER},
is_qualify = #{record.isQualify,jdbcType=TINYINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
delete_tag = #{record.deleteTag,jdbcType=INTEGER},
profile = #{record.profile,jdbcType=LONGVARCHAR},
topic = #{record.topic,jdbcType=LONGVARCHAR},
update personnel_info
set id = #{record.id,jdbcType=VARCHAR},
personnel_name = #{record.personnelName,jdbcType=VARCHAR},
avatar = #{record.avatar,jdbcType=VARCHAR},
personnel_type = #{record.personnelType,jdbcType=INTEGER},
profession_background = #{record.professionBackground,jdbcType=TINYINT},
key_figure = #{record.keyFigure,jdbcType=INTEGER},
company_id = #{record.companyId,jdbcType=VARCHAR},
`position` = #{record.position,jdbcType=VARCHAR},
career_start_year = #{record.careerStartYear,jdbcType=VARCHAR},
investment_experience = #{record.investmentExperience,jdbcType=INTEGER},
sex = #{record.sex,jdbcType=INTEGER},
graduateschool = #{record.graduateschool,jdbcType=VARCHAR},
education = #{record.education,jdbcType=INTEGER},
major = #{record.major,jdbcType=VARCHAR},
porder = #{record.porder,jdbcType=INTEGER},
ifinclude = #{record.ifinclude,jdbcType=INTEGER},
isvisible = #{record.isvisible,jdbcType=INTEGER},
is_qualify = #{record.isQualify,jdbcType=TINYINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
delete_tag = #{record.deleteTag,jdbcType=INTEGER},
profile = #{record.profile,jdbcType=LONGVARCHAR},
topic = #{record.topic,jdbcType=LONGVARCHAR}
update personnel_info
set id = #{record.id,jdbcType=VARCHAR},
personnel_name = #{record.personnelName,jdbcType=VARCHAR},
avatar = #{record.avatar,jdbcType=VARCHAR},
personnel_type = #{record.personnelType,jdbcType=INTEGER},
profession_background = #{record.professionBackground,jdbcType=TINYINT},
key_figure = #{record.keyFigure,jdbcType=INTEGER},
company_id = #{record.companyId,jdbcType=VARCHAR},
`position` = #{record.position,jdbcType=VARCHAR},
career_start_year = #{record.careerStartYear,jdbcType=VARCHAR},
investment_experience = #{record.investmentExperience,jdbcType=INTEGER},
sex = #{record.sex,jdbcType=INTEGER},
graduateschool = #{record.graduateschool,jdbcType=VARCHAR},
education = #{record.education,jdbcType=INTEGER},
major = #{record.major,jdbcType=VARCHAR},
porder = #{record.porder,jdbcType=INTEGER},
ifinclude = #{record.ifinclude,jdbcType=INTEGER},
isvisible = #{record.isvisible,jdbcType=INTEGER},
is_qualify = #{record.isQualify,jdbcType=TINYINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
delete_tag = #{record.deleteTag,jdbcType=INTEGER}
update personnel_info
personnel_name = #{personnelName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
personnel_type = #{personnelType,jdbcType=INTEGER},
profession_background = #{professionBackground,jdbcType=TINYINT},
key_figure = #{keyFigure,jdbcType=INTEGER},
company_id = #{companyId,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
career_start_year = #{careerStartYear,jdbcType=VARCHAR},
investment_experience = #{investmentExperience,jdbcType=INTEGER},
sex = #{sex,jdbcType=INTEGER},
graduateschool = #{graduateschool,jdbcType=VARCHAR},
education = #{education,jdbcType=INTEGER},
major = #{major,jdbcType=VARCHAR},
porder = #{porder,jdbcType=INTEGER},
ifinclude = #{ifinclude,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
is_qualify = #{isQualify,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},
profile = #{profile,jdbcType=LONGVARCHAR},
topic = #{topic,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=VARCHAR}
update personnel_info
set personnel_name = #{personnelName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
personnel_type = #{personnelType,jdbcType=INTEGER},
profession_background = #{professionBackground,jdbcType=TINYINT},
key_figure = #{keyFigure,jdbcType=INTEGER},
company_id = #{companyId,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
career_start_year = #{careerStartYear,jdbcType=VARCHAR},
investment_experience = #{investmentExperience,jdbcType=INTEGER},
sex = #{sex,jdbcType=INTEGER},
graduateschool = #{graduateschool,jdbcType=VARCHAR},
education = #{education,jdbcType=INTEGER},
major = #{major,jdbcType=VARCHAR},
porder = #{porder,jdbcType=INTEGER},
ifinclude = #{ifinclude,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
is_qualify = #{isQualify,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},
profile = #{profile,jdbcType=LONGVARCHAR},
topic = #{topic,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
update personnel_info
set personnel_name = #{personnelName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
personnel_type = #{personnelType,jdbcType=INTEGER},
profession_background = #{professionBackground,jdbcType=TINYINT},
key_figure = #{keyFigure,jdbcType=INTEGER},
company_id = #{companyId,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
career_start_year = #{careerStartYear,jdbcType=VARCHAR},
investment_experience = #{investmentExperience,jdbcType=INTEGER},
sex = #{sex,jdbcType=INTEGER},
graduateschool = #{graduateschool,jdbcType=VARCHAR},
education = #{education,jdbcType=INTEGER},
major = #{major,jdbcType=VARCHAR},
porder = #{porder,jdbcType=INTEGER},
ifinclude = #{ifinclude,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
is_qualify = #{isQualify,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update personnel_info
when id = #{item.id,jdbcType=VARCHAR} then #{item.personnelName,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.avatar,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.personnelType,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.professionBackground,jdbcType=TINYINT}
when id = #{item.id,jdbcType=VARCHAR} then #{item.keyFigure,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.companyId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.position,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.careerStartYear,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.investmentExperience,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.sex,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.graduateschool,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.education,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.major,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.porder,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.ifinclude,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.isvisible,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.isQualify,jdbcType=TINYINT}
when id = #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.profile,jdbcType=LONGVARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.topic,jdbcType=LONGVARCHAR}
where id in
#{item.id,jdbcType=VARCHAR}
insert into personnel_info
(id, personnel_name, avatar, personnel_type, profession_background, key_figure, company_id,
`position`, career_start_year, investment_experience, sex, graduateschool, education,
major, porder, ifinclude, isvisible, is_qualify, create_time, update_time, delete_tag,
profile, topic)
values
(#{item.id,jdbcType=VARCHAR}, #{item.personnelName,jdbcType=VARCHAR}, #{item.avatar,jdbcType=VARCHAR},
#{item.personnelType,jdbcType=INTEGER}, #{item.professionBackground,jdbcType=TINYINT},
#{item.keyFigure,jdbcType=INTEGER}, #{item.companyId,jdbcType=VARCHAR}, #{item.position,jdbcType=VARCHAR},
#{item.careerStartYear,jdbcType=VARCHAR}, #{item.investmentExperience,jdbcType=INTEGER},
#{item.sex,jdbcType=INTEGER}, #{item.graduateschool,jdbcType=VARCHAR}, #{item.education,jdbcType=INTEGER},
#{item.major,jdbcType=VARCHAR}, #{item.porder,jdbcType=INTEGER}, #{item.ifinclude,jdbcType=INTEGER},
#{item.isvisible,jdbcType=INTEGER}, #{item.isQualify,jdbcType=TINYINT}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}, #{item.profile,jdbcType=LONGVARCHAR},
#{item.topic,jdbcType=LONGVARCHAR})
insert into personnel_info
(id, personnel_name, avatar, personnel_type, profession_background, key_figure, company_id,
`position`, career_start_year, investment_experience, sex, graduateschool, education,
major, porder, ifinclude, isvisible, is_qualify, create_time, update_time, delete_tag
)
values
(#{id,jdbcType=VARCHAR}, #{personnelName,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR},
#{personnelType,jdbcType=INTEGER}, #{professionBackground,jdbcType=TINYINT}, #{keyFigure,jdbcType=INTEGER},
#{companyId,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, #{careerStartYear,jdbcType=VARCHAR},
#{investmentExperience,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{graduateschool,jdbcType=VARCHAR},
#{education,jdbcType=INTEGER}, #{major,jdbcType=VARCHAR}, #{porder,jdbcType=INTEGER},
#{ifinclude,jdbcType=INTEGER}, #{isvisible,jdbcType=INTEGER}, #{isQualify,jdbcType=TINYINT},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}
)
on duplicate key update
id = #{id,jdbcType=VARCHAR},
personnel_name = #{personnelName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
personnel_type = #{personnelType,jdbcType=INTEGER},
profession_background = #{professionBackground,jdbcType=TINYINT},
key_figure = #{keyFigure,jdbcType=INTEGER},
company_id = #{companyId,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
career_start_year = #{careerStartYear,jdbcType=VARCHAR},
investment_experience = #{investmentExperience,jdbcType=INTEGER},
sex = #{sex,jdbcType=INTEGER},
graduateschool = #{graduateschool,jdbcType=VARCHAR},
education = #{education,jdbcType=INTEGER},
major = #{major,jdbcType=VARCHAR},
porder = #{porder,jdbcType=INTEGER},
ifinclude = #{ifinclude,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
is_qualify = #{isQualify,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER}
insert into personnel_info
(id, personnel_name, avatar, personnel_type, profession_background, key_figure, company_id,
`position`, career_start_year, investment_experience, sex, graduateschool, education,
major, porder, ifinclude, isvisible, is_qualify, create_time, update_time, delete_tag,
profile, topic)
values
(#{id,jdbcType=VARCHAR}, #{personnelName,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR},
#{personnelType,jdbcType=INTEGER}, #{professionBackground,jdbcType=TINYINT}, #{keyFigure,jdbcType=INTEGER},
#{companyId,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, #{careerStartYear,jdbcType=VARCHAR},
#{investmentExperience,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{graduateschool,jdbcType=VARCHAR},
#{education,jdbcType=INTEGER}, #{major,jdbcType=VARCHAR}, #{porder,jdbcType=INTEGER},
#{ifinclude,jdbcType=INTEGER}, #{isvisible,jdbcType=INTEGER}, #{isQualify,jdbcType=TINYINT},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER},
#{profile,jdbcType=LONGVARCHAR}, #{topic,jdbcType=LONGVARCHAR})
on duplicate key update
id = #{id,jdbcType=VARCHAR},
personnel_name = #{personnelName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
personnel_type = #{personnelType,jdbcType=INTEGER},
profession_background = #{professionBackground,jdbcType=TINYINT},
key_figure = #{keyFigure,jdbcType=INTEGER},
company_id = #{companyId,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
career_start_year = #{careerStartYear,jdbcType=VARCHAR},
investment_experience = #{investmentExperience,jdbcType=INTEGER},
sex = #{sex,jdbcType=INTEGER},
graduateschool = #{graduateschool,jdbcType=VARCHAR},
education = #{education,jdbcType=INTEGER},
major = #{major,jdbcType=VARCHAR},
porder = #{porder,jdbcType=INTEGER},
ifinclude = #{ifinclude,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
is_qualify = #{isQualify,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},
profile = #{profile,jdbcType=LONGVARCHAR},
topic = #{topic,jdbcType=LONGVARCHAR}
insert into personnel_info
id,
personnel_name,
avatar,
personnel_type,
profession_background,
key_figure,
company_id,
`position`,
career_start_year,
investment_experience,
sex,
graduateschool,
education,
major,
porder,
ifinclude,
isvisible,
is_qualify,
create_time,
update_time,
delete_tag,
profile,
topic,
values
#{id,jdbcType=VARCHAR},
#{personnelName,jdbcType=VARCHAR},
#{avatar,jdbcType=VARCHAR},
#{personnelType,jdbcType=INTEGER},
#{professionBackground,jdbcType=TINYINT},
#{keyFigure,jdbcType=INTEGER},
#{companyId,jdbcType=VARCHAR},
#{position,jdbcType=VARCHAR},
#{careerStartYear,jdbcType=VARCHAR},
#{investmentExperience,jdbcType=INTEGER},
#{sex,jdbcType=INTEGER},
#{graduateschool,jdbcType=VARCHAR},
#{education,jdbcType=INTEGER},
#{major,jdbcType=VARCHAR},
#{porder,jdbcType=INTEGER},
#{ifinclude,jdbcType=INTEGER},
#{isvisible,jdbcType=INTEGER},
#{isQualify,jdbcType=TINYINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER},
#{profile,jdbcType=LONGVARCHAR},
#{topic,jdbcType=LONGVARCHAR},
on duplicate key update
id = #{id,jdbcType=VARCHAR},
personnel_name = #{personnelName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
personnel_type = #{personnelType,jdbcType=INTEGER},
profession_background = #{professionBackground,jdbcType=TINYINT},
key_figure = #{keyFigure,jdbcType=INTEGER},
company_id = #{companyId,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
career_start_year = #{careerStartYear,jdbcType=VARCHAR},
investment_experience = #{investmentExperience,jdbcType=INTEGER},
sex = #{sex,jdbcType=INTEGER},
graduateschool = #{graduateschool,jdbcType=VARCHAR},
education = #{education,jdbcType=INTEGER},
major = #{major,jdbcType=VARCHAR},
porder = #{porder,jdbcType=INTEGER},
ifinclude = #{ifinclude,jdbcType=INTEGER},
isvisible = #{isvisible,jdbcType=INTEGER},
is_qualify = #{isQualify,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},
profile = #{profile,jdbcType=LONGVARCHAR},
topic = #{topic,jdbcType=LONGVARCHAR},