| | |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpWorkExperience; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Update; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpWorkexperinece |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工作经历实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:04 |
| | | * @since JDK1.8 |
| | | */ |
| | | * name:EmpWorkexperience |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工作经历实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-28 12:33:31 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpWorkExperienceMapper extends BaseMapper<EmpWorkExperience> { |
| | | |
| | | } |
| | | /** |
| | | * 根据Id批量逻辑删除记录 |
| | | * <p> |
| | | * date luoyibo |
| | | * |
| | | * @param list 待删除Id |
| | | * @param operatorId 操作员Id |
| | | * @return void |
| | | * @author: 2021-01-28 12:33:31 |
| | | */ |
| | | @Update("<script> " + |
| | | " UPDATE t_emp_workExperience SET delFlag = 1,\n" + |
| | | " modifyTime = NOW(),\n" + |
| | | " modifier = #{operatorId}, \n" + |
| | | " version = version+1 \n" + |
| | | " WHERE workExperienceId IN \n" + |
| | | " <foreach item=\"delId\" collection=\"list\" open=\"(\" close=\")\" separator=\",\">\n" + |
| | | " #{delId}\n" + |
| | | " </foreach>\n" + |
| | | "</script>") |
| | | void logicDeleteByIds(@Param("list") List<String> list, @Param("operatorId") String operatorId); |
| | | } |