id, org_id, nation, name, english_name, sex, age, blood_type, birth, id_number,
political_landscape, party_time, head_pic, place_origin, marriage, status, home_address,
health, registered_residence_type, province, city, area, address, post, contact_phone,
job_number, job_state, contract_type, registered_capital, company_security_number,
assignment_company_name, nature_company, graduate_school, education, is_valid, update_time,
update_user_id,department
and ID = #{id}
and org_id = #{orgId,jdbcType=VARCHAR}
and sex = #{sex,jdbcType=VARCHAR}
and name like CONCAT("%",#{name},"%")
and status = #{status,jdbcType=TINYINT}
and is_valid = #{isValid,jdbcType=TINYINT}
and update_time = #{updateTime,jdbcType=TIMESTAMP}
and update_user_id = #{updateUserId,jdbcType=VARCHAR}
order by ${sorting}
limit #{offset}, #{limit}
delete from se_personnel
where id = #{id,jdbcType=VARCHAR}
insert into se_personnel (id, org_id, nation,
name, english_name, sex,
age, blood_type, birth,
id_number, political_landscape, party_time,
head_pic, place_origin, marriage,
status, home_address, health,
registered_residence_type, province, city,
area, address, post,department,
contact_phone, job_number, job_state,
contract_type, registered_capital, company_security_number,
assignment_company_name, nature_company, graduate_school,
education, is_valid, update_time,
update_user_id)
values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{nation,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR}, #{sex,jdbcType=TINYINT},
#{age,jdbcType=TINYINT}, #{bloodType,jdbcType=VARCHAR}, #{birth,jdbcType=DATE},
#{idNumber,jdbcType=VARCHAR}, #{politicalLandscape,jdbcType=VARCHAR}, #{partyTime,jdbcType=TIMESTAMP},
#{headPic,jdbcType=VARCHAR}, #{placeOrigin,jdbcType=VARCHAR}, #{marriage,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT}, #{homeAddress,jdbcType=VARCHAR}, #{health,jdbcType=VARCHAR},
#{registeredResidenceType,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR},
#{area,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{post,jdbcType=VARCHAR}, #{department,jdbcType=VARCHAR},
#{contactPhone,jdbcType=VARCHAR}, #{jobNumber,jdbcType=VARCHAR}, #{jobState,jdbcType=TINYINT},
#{contractType,jdbcType=VARCHAR}, #{registeredCapital,jdbcType=VARCHAR}, #{companySecurityNumber,jdbcType=VARCHAR},
#{assignmentCompanyName,jdbcType=VARCHAR}, #{natureCompany,jdbcType=VARCHAR}, #{graduateSchool,jdbcType=VARCHAR},
#{education,jdbcType=VARCHAR}, #{isValid,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP},
#{updateUserId,jdbcType=VARCHAR})
insert into se_personnel
id,
org_id,
nation,
name,
english_name,
sex,
age,
blood_type,
birth,
id_number,
political_landscape,
party_time,
head_pic,
place_origin,
marriage,
status,
home_address,
health,
registered_residence_type,
province,
city,
area,
address,
post,
department,
contact_phone,
job_number,
job_state,
contract_type,
registered_capital,
company_security_number,
assignment_company_name,
nature_company,
graduate_school,
education,
is_valid,
update_time,
update_user_id,
#{id,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR},
#{nation,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{englishName,jdbcType=VARCHAR},
#{sex,jdbcType=TINYINT},
#{age,jdbcType=TINYINT},
#{bloodType,jdbcType=VARCHAR},
#{birth,jdbcType=DATE},
#{idNumber,jdbcType=VARCHAR},
#{politicalLandscape,jdbcType=VARCHAR},
#{partyTime,jdbcType=TIMESTAMP},
#{headPic,jdbcType=VARCHAR},
#{placeOrigin,jdbcType=VARCHAR},
#{marriage,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT},
#{homeAddress,jdbcType=VARCHAR},
#{health,jdbcType=VARCHAR},
#{registeredResidenceType,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR},
#{area,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{post,jdbcType=VARCHAR},
#{department,jdbcType=VARCHAR},
#{contactPhone,jdbcType=VARCHAR},
#{jobNumber,jdbcType=VARCHAR},
#{jobState,jdbcType=TINYINT},
#{contractType,jdbcType=VARCHAR},
#{registeredCapital,jdbcType=VARCHAR},
#{companySecurityNumber,jdbcType=VARCHAR},
#{assignmentCompanyName,jdbcType=VARCHAR},
#{natureCompany,jdbcType=VARCHAR},
#{graduateSchool,jdbcType=VARCHAR},
#{education,jdbcType=VARCHAR},
#{isValid,jdbcType=TINYINT},
#{updateTime,jdbcType=TIMESTAMP},
#{updateUserId,jdbcType=VARCHAR},
update se_personnel
org_id = #{orgId,jdbcType=VARCHAR},
nation = #{nation,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
english_name = #{englishName,jdbcType=VARCHAR},
sex = #{sex,jdbcType=TINYINT},
age = #{age,jdbcType=TINYINT},
blood_type = #{bloodType,jdbcType=VARCHAR},
birth = #{birth,jdbcType=DATE},
id_number = #{idNumber,jdbcType=VARCHAR},
political_landscape = #{politicalLandscape,jdbcType=VARCHAR},
party_time = #{partyTime,jdbcType=TIMESTAMP},
head_pic = #{headPic,jdbcType=VARCHAR},
place_origin = #{placeOrigin,jdbcType=VARCHAR},
marriage = #{marriage,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
home_address = #{homeAddress,jdbcType=VARCHAR},
health = #{health,jdbcType=VARCHAR},
registered_residence_type = #{registeredResidenceType,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
area = #{area,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
post = #{post,jdbcType=VARCHAR},
department = #{department,jdbcType=VARCHAR},
contact_phone = #{contactPhone,jdbcType=VARCHAR},
job_number = #{jobNumber,jdbcType=VARCHAR},
job_state = #{jobState,jdbcType=TINYINT},
contract_type = #{contractType,jdbcType=VARCHAR},
registered_capital = #{registeredCapital,jdbcType=VARCHAR},
company_security_number = #{companySecurityNumber,jdbcType=VARCHAR},
assignment_company_name = #{assignmentCompanyName,jdbcType=VARCHAR},
nature_company = #{natureCompany,jdbcType=VARCHAR},
graduate_school = #{graduateSchool,jdbcType=VARCHAR},
education = #{education,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update se_personnel
set org_id = #{orgId,jdbcType=VARCHAR},
nation = #{nation,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
english_name = #{englishName,jdbcType=VARCHAR},
sex = #{sex,jdbcType=TINYINT},
age = #{age,jdbcType=TINYINT},
blood_type = #{bloodType,jdbcType=VARCHAR},
birth = #{birth,jdbcType=DATE},
id_number = #{idNumber,jdbcType=VARCHAR},
political_landscape = #{politicalLandscape,jdbcType=VARCHAR},
party_time = #{partyTime,jdbcType=TIMESTAMP},
head_pic = #{headPic,jdbcType=VARCHAR},
place_origin = #{placeOrigin,jdbcType=VARCHAR},
marriage = #{marriage,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
home_address = #{homeAddress,jdbcType=VARCHAR},
health = #{health,jdbcType=VARCHAR},
registered_residence_type = #{registeredResidenceType,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
area = #{area,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
post = #{post,jdbcType=VARCHAR},
department = #{department,jdbcType=VARCHAR},
contact_phone = #{contactPhone,jdbcType=VARCHAR},
job_number = #{jobNumber,jdbcType=VARCHAR},
job_state = #{jobState,jdbcType=TINYINT},
contract_type = #{contractType,jdbcType=VARCHAR},
registered_capital = #{registeredCapital,jdbcType=VARCHAR},
company_security_number = #{companySecurityNumber,jdbcType=VARCHAR},
assignment_company_name = #{assignmentCompanyName,jdbcType=VARCHAR},
nature_company = #{natureCompany,jdbcType=VARCHAR},
graduate_school = #{graduateSchool,jdbcType=VARCHAR},
education = #{education,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
update se_personnel set is_valid = #{isValid,jdbcType=TINYINT} where id = #{id,jdbcType=VARCHAR}