parent
5a18184cd7
commit
20de711dc6
@ -0,0 +1,112 @@
|
||||
package com.hpjpw.ido.controller;
|
||||
|
||||
import java.util.List;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.hpjpw.ido.domain.Resume;
|
||||
import com.hpjpw.ido.service.IResumeService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 简历Controller
|
||||
*
|
||||
* @author hpj
|
||||
* @date 2021-04-11
|
||||
*/
|
||||
//@Api(value ="ResumeController")
|
||||
@RestController
|
||||
@RequestMapping("/ido/resume")
|
||||
public class ResumeController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IResumeService resumeService;
|
||||
|
||||
/**
|
||||
* 查询简历列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('ido:resume:list')")
|
||||
@GetMapping("/list")
|
||||
// @ApiOperation("查询简历列表")
|
||||
public TableDataInfo list(Resume resume)
|
||||
{
|
||||
startPage();
|
||||
List<Resume> list = resumeService.selectResumeList(resume);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出简历列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('ido:resume:export')")
|
||||
@Log(title = "简历", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
// @ApiOperation("导出简历列表")
|
||||
public AjaxResult export(Resume resume)
|
||||
{
|
||||
List<Resume> list = resumeService.selectResumeList(resume);
|
||||
ExcelUtil<Resume> util = new ExcelUtil<Resume>(Resume.class);
|
||||
return util.exportExcel(list, "resume");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取简历详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('ido:resume:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
// @ApiOperation("获取简历详细信息")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return AjaxResult.success(resumeService.selectResumeById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增简历
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('ido:resume:add')")
|
||||
@Log(title = "简历", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
// @ApiOperation("新增简历")
|
||||
public AjaxResult add(@RequestBody Resume resume)
|
||||
{
|
||||
return toAjax(resumeService.insertResume(resume));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改简历
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('ido:resume:edit')")
|
||||
@Log(title = "简历", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
// @ApiOperation("修改简历")
|
||||
public AjaxResult edit(@RequestBody Resume resume)
|
||||
{
|
||||
return toAjax(resumeService.updateResume(resume));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除简历
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('ido:resume:remove')")
|
||||
@Log(title = "简历", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
// @ApiOperation("删除简历")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(resumeService.deleteResumeByIds(ids));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,191 @@
|
||||
package com.hpjpw.ido.domain;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】对象 ido_resume
|
||||
*
|
||||
* @author hpj
|
||||
* @date 2021-04-11
|
||||
*/
|
||||
@ApiModel("ResumeDomain")
|
||||
public class Resume extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 简历编号 */
|
||||
@ApiModelProperty("${comment}")
|
||||
private Long id;
|
||||
|
||||
/** 用户id */
|
||||
@Excel(name = "用户id")
|
||||
@ApiModelProperty("用户id")
|
||||
private Long uId;
|
||||
|
||||
/** 姓名 */
|
||||
@Excel(name = "姓名")
|
||||
@ApiModelProperty("姓名")
|
||||
private String name;
|
||||
|
||||
/** 证件照 */
|
||||
@Excel(name = "证件照")
|
||||
@ApiModelProperty("证件照")
|
||||
private String selfPicture;
|
||||
|
||||
/** 手机号 */
|
||||
@Excel(name = "手机号")
|
||||
@ApiModelProperty("手机号")
|
||||
private String phone;
|
||||
|
||||
/** 邮箱 */
|
||||
@Excel(name = "邮箱")
|
||||
@ApiModelProperty("邮箱")
|
||||
private String email;
|
||||
|
||||
/** 求职意向 */
|
||||
@Excel(name = "求职意向")
|
||||
@ApiModelProperty("求职意向")
|
||||
private String purpose;
|
||||
|
||||
/** 自我介绍 */
|
||||
@Excel(name = "自我介绍")
|
||||
@ApiModelProperty("自我介绍")
|
||||
private String selfIntroduction;
|
||||
|
||||
/** 证书/荣誉 */
|
||||
@Excel(name = "证书/荣誉")
|
||||
@ApiModelProperty("证书/荣誉")
|
||||
private String honor;
|
||||
|
||||
/** 工作/项目经历 */
|
||||
@Excel(name = "工作/项目经历")
|
||||
@ApiModelProperty("工作/项目经历")
|
||||
private String experience;
|
||||
|
||||
/** 上传的简历 */
|
||||
@Excel(name = "上传的简历")
|
||||
@ApiModelProperty("上传的简历")
|
||||
private String resumePath;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setuId(Long uId)
|
||||
{
|
||||
this.uId = uId;
|
||||
}
|
||||
|
||||
public Long getuId()
|
||||
{
|
||||
return uId;
|
||||
}
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
public void setSelfPicture(String selfPicture)
|
||||
{
|
||||
this.selfPicture = selfPicture;
|
||||
}
|
||||
|
||||
public String getSelfPicture()
|
||||
{
|
||||
return selfPicture;
|
||||
}
|
||||
public void setPhone(String phone)
|
||||
{
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getPhone()
|
||||
{
|
||||
return phone;
|
||||
}
|
||||
public void setEmail(String email)
|
||||
{
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getEmail()
|
||||
{
|
||||
return email;
|
||||
}
|
||||
public void setPurpose(String purpose)
|
||||
{
|
||||
this.purpose = purpose;
|
||||
}
|
||||
|
||||
public String getPurpose()
|
||||
{
|
||||
return purpose;
|
||||
}
|
||||
public void setSelfIntroduction(String selfIntroduction)
|
||||
{
|
||||
this.selfIntroduction = selfIntroduction;
|
||||
}
|
||||
|
||||
public String getSelfIntroduction()
|
||||
{
|
||||
return selfIntroduction;
|
||||
}
|
||||
public void setHonor(String honor)
|
||||
{
|
||||
this.honor = honor;
|
||||
}
|
||||
|
||||
public String getHonor()
|
||||
{
|
||||
return honor;
|
||||
}
|
||||
public void setExperience(String experience)
|
||||
{
|
||||
this.experience = experience;
|
||||
}
|
||||
|
||||
public String getExperience()
|
||||
{
|
||||
return experience;
|
||||
}
|
||||
public void setResumePath(String resumePath)
|
||||
{
|
||||
this.resumePath = resumePath;
|
||||
}
|
||||
|
||||
public String getResumePath()
|
||||
{
|
||||
return resumePath;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("uId", getuId())
|
||||
.append("name", getName())
|
||||
.append("selfPicture", getSelfPicture())
|
||||
.append("phone", getPhone())
|
||||
.append("email", getEmail())
|
||||
.append("purpose", getPurpose())
|
||||
.append("selfIntroduction", getSelfIntroduction())
|
||||
.append("honor", getHonor())
|
||||
.append("experience", getExperience())
|
||||
.append("resumePath", getResumePath())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.hpjpw.ido.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.hpjpw.ido.domain.Resume;
|
||||
|
||||
/**
|
||||
* 简历Mapper接口
|
||||
*
|
||||
* @author hpj
|
||||
* @date 2021-04-11
|
||||
*/
|
||||
public interface ResumeMapper
|
||||
{
|
||||
/**
|
||||
* 查询简历
|
||||
*
|
||||
* @param id 简历ID
|
||||
* @return 简历
|
||||
*/
|
||||
public Resume selectResumeById(Long id);
|
||||
|
||||
/**
|
||||
* 查询简历列表
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 简历集合
|
||||
*/
|
||||
public List<Resume> selectResumeList(Resume resume);
|
||||
|
||||
/**
|
||||
* 新增简历
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertResume(Resume resume);
|
||||
|
||||
/**
|
||||
* 修改简历
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateResume(Resume resume);
|
||||
|
||||
/**
|
||||
* 删除简历
|
||||
*
|
||||
* @param id 简历ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteResumeById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除简历
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteResumeByIds(Long[] ids);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.hpjpw.ido.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.hpjpw.ido.domain.Resume;
|
||||
|
||||
/**
|
||||
* 简历Service接口
|
||||
*
|
||||
* @author hpj
|
||||
* @date 2021-04-11
|
||||
*/
|
||||
public interface IResumeService
|
||||
{
|
||||
/**
|
||||
* 查询简历
|
||||
*
|
||||
* @param id 简历ID
|
||||
* @return 简历
|
||||
*/
|
||||
public Resume selectResumeById(Long id);
|
||||
|
||||
/**
|
||||
* 查询简历列表
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 简历集合
|
||||
*/
|
||||
public List<Resume> selectResumeList(Resume resume);
|
||||
|
||||
/**
|
||||
* 新增简历
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertResume(Resume resume);
|
||||
|
||||
/**
|
||||
* 修改简历
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateResume(Resume resume);
|
||||
|
||||
/**
|
||||
* 批量删除简历
|
||||
*
|
||||
* @param ids 需要删除的简历ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteResumeByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除简历信息
|
||||
*
|
||||
* @param id 简历ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteResumeById(Long id);
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.hpjpw.ido.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.hpjpw.ido.mapper.ResumeMapper;
|
||||
import com.hpjpw.ido.domain.Resume;
|
||||
import com.hpjpw.ido.service.IResumeService;
|
||||
|
||||
/**
|
||||
* 简历Service业务层处理
|
||||
*
|
||||
* @author hpj
|
||||
* @date 2021-04-11
|
||||
*/
|
||||
@Service
|
||||
public class ResumeServiceImpl implements IResumeService
|
||||
{
|
||||
@Autowired
|
||||
private ResumeMapper resumeMapper;
|
||||
|
||||
/**
|
||||
* 查询简历
|
||||
*
|
||||
* @param id 简历ID
|
||||
* @return 简历
|
||||
*/
|
||||
@Override
|
||||
public Resume selectResumeById(Long id)
|
||||
{
|
||||
return resumeMapper.selectResumeById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询简历列表
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 简历
|
||||
*/
|
||||
@Override
|
||||
public List<Resume> selectResumeList(Resume resume)
|
||||
{
|
||||
return resumeMapper.selectResumeList(resume);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增简历
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertResume(Resume resume)
|
||||
{
|
||||
return resumeMapper.insertResume(resume);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改简历
|
||||
*
|
||||
* @param resume 简历
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateResume(Resume resume)
|
||||
{
|
||||
return resumeMapper.updateResume(resume);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除简历
|
||||
*
|
||||
* @param ids 需要删除的简历ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteResumeByIds(Long[] ids)
|
||||
{
|
||||
return resumeMapper.deleteResumeByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除简历信息
|
||||
*
|
||||
* @param id 简历ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteResumeById(Long id)
|
||||
{
|
||||
return resumeMapper.deleteResumeById(id);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.hpjpw.idoapp.service;
|
||||
|
||||
import com.hpjpw.ido.domain.Resume;
|
||||
import com.hpjpw.ido.service.IResumeService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class IDoResumeService {
|
||||
@Autowired
|
||||
IResumeService ResumeService;
|
||||
|
||||
public List<Map<String,String>> personnalResume(Long u_Id){
|
||||
/* 实际返回的列表 */
|
||||
List<Map<String, String>> listReturn = new ArrayList<>();
|
||||
/*获取简历列表*/
|
||||
Resume resume = new Resume();
|
||||
resume.setuId(u_Id);
|
||||
List<Resume> resumeList = ResumeService.selectResumeList(resume);
|
||||
for(Resume item : resumeList){
|
||||
Map<String,String> map = new HashMap<>();
|
||||
map.put("resumeId",item.getId().toString());
|
||||
map.put("userId",item.getuId().toString());
|
||||
map.put("name",item.getName().toString());
|
||||
map.put("selfPicture",item.getSelfPicture().toString());
|
||||
map.put("phone",item.getPhone().toString());
|
||||
map.put("email",item.getEmail().toString());
|
||||
map.put("purpose",item.getPurpose().toString());
|
||||
map.put("selfIntroduction",item.getSelfIntroduction().toString());
|
||||
map.put("honor",item.getHonor().toString());
|
||||
map.put("experience",item.getExperience().toString());
|
||||
map.put("resumePath",item.getResumePath().toString());
|
||||
listReturn.add(map);
|
||||
}
|
||||
return listReturn;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,101 @@
|
||||
<?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.hpjpw.ido.mapper.ResumeMapper">
|
||||
|
||||
<resultMap type="Resume" id="ResumeResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="uId" column="u_id" />
|
||||
<result property="name" column="name" />
|
||||
<result property="selfPicture" column="self_picture" />
|
||||
<result property="phone" column="phone" />
|
||||
<result property="email" column="email" />
|
||||
<result property="purpose" column="purpose" />
|
||||
<result property="selfIntroduction" column="self_introduction" />
|
||||
<result property="honor" column="honor" />
|
||||
<result property="experience" column="experience" />
|
||||
<result property="resumePath" column="resume_path" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectResumeVo">
|
||||
select `id`, `u_id`, `name`, `self_picture`, `phone`, `email`, `purpose`, `self_introduction`, `honor`, `experience`, `resume_path` from ido_resume
|
||||
</sql>
|
||||
|
||||
<select id="selectResumeList" parameterType="Resume" resultMap="ResumeResult">
|
||||
<include refid="selectResumeVo"/>
|
||||
<where>
|
||||
<if test="uId != null "> and `u_id` = #{uId}</if>
|
||||
<if test="name != null and name != ''"> and `name` like concat('%', #{name}, '%')</if>
|
||||
<if test="selfPicture != null and selfPicture != ''"> and `self_picture` = #{selfPicture}</if>
|
||||
<if test="phone != null and phone != ''"> and `phone` = #{phone}</if>
|
||||
<if test="email != null and email != ''"> and `email` = #{email}</if>
|
||||
<if test="purpose != null and purpose != ''"> and `purpose` = #{purpose}</if>
|
||||
<if test="selfIntroduction != null and selfIntroduction != ''"> and `self_introduction` = #{selfIntroduction}</if>
|
||||
<if test="honor != null and honor != ''"> and `honor` = #{honor}</if>
|
||||
<if test="experience != null and experience != ''"> and `experience` = #{experience}</if>
|
||||
<if test="resumePath != null and resumePath != ''"> and `resume_path` = #{resumePath}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectResumeById" parameterType="String" resultMap="ResumeResult">
|
||||
<include refid="selectResumeVo"/>
|
||||
where `id` = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertResume" parameterType="Resume" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ido_resume
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="uId != null">`u_id`,</if>
|
||||
<if test="name != null and name != ''">`name`,</if>
|
||||
<if test="selfPicture != null and selfPicture != ''">`self_picture`,</if>
|
||||
<if test="phone != null and phone != ''">`phone`,</if>
|
||||
<if test="email != null and email != ''">`email`,</if>
|
||||
<if test="purpose != null and purpose != ''">`purpose`,</if>
|
||||
<if test="selfIntroduction != null and selfIntroduction != ''">`self_introduction`,</if>
|
||||
<if test="honor != null and honor != ''">`honor`,</if>
|
||||
<if test="experience != null and experience != ''">`experience`,</if>
|
||||
<if test="resumePath != null and resumePath != ''">`resume_path`,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="uId != null">#{uId},</if>
|
||||
<if test="name != null and name != ''">#{name},</if>
|
||||
<if test="selfPicture != null and selfPicture != ''">#{selfPicture},</if>
|
||||
<if test="phone != null and phone != ''">#{phone},</if>
|
||||
<if test="email != null and email != ''">#{email},</if>
|
||||
<if test="purpose != null and purpose != ''">#{purpose},</if>
|
||||
<if test="selfIntroduction != null and selfIntroduction != ''">#{selfIntroduction},</if>
|
||||
<if test="honor != null and honor != ''">#{honor},</if>
|
||||
<if test="experience != null and experience != ''">#{experience},</if>
|
||||
<if test="resumePath != null and resumePath != ''">#{resumePath},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateResume" parameterType="Resume">
|
||||
update ido_resume
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="uId != null">`u_id` = #{uId},</if>
|
||||
<if test="name != null and name != ''">`name` = #{name},</if>
|
||||
<if test="selfPicture != null and selfPicture != ''">`self_picture` = #{selfPicture},</if>
|
||||
<if test="phone != null and phone != ''">`phone` = #{phone},</if>
|
||||
<if test="email != null and email != ''">`email` = #{email},</if>
|
||||
<if test="purpose != null and purpose != ''">`purpose` = #{purpose},</if>
|
||||
<if test="selfIntroduction != null and selfIntroduction != ''">`self_introduction` = #{selfIntroduction},</if>
|
||||
<if test="honor != null and honor != ''">`honor` = #{honor},</if>
|
||||
<if test="experience != null and experience != ''">`experience` = #{experience},</if>
|
||||
<if test="resumePath != null and resumePath != ''">`resume_path` = #{resumePath},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteResumeById" parameterType="String">
|
||||
delete from ido_resume where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteResumeByIds" parameterType="String">
|
||||
delete from ido_resume where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
Loading…
Reference in new issue