fix(人力资源微服务): 不良记录管理接口完善
1.修改了实体类,对不良记录日期(badDate)增加了格式化注解,修复form提交时日期转换报错的bug
| New file |
| | |
| | | Getting Started |
| | | |
| | | ### Reference Documentation |
| | | For further reference, please consider the following sections: |
| | | |
| | | * [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) |
| | | * [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.4.2/maven-plugin/reference/html/) |
| | | * [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.4.2/maven-plugin/reference/html/#build-image) |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <parent> |
| | | <groupId>cc.mrbird</groupId> |
| | | <artifactId>febs-server</artifactId> |
| | | <version>2.2-RELEASE</version> |
| | | <relativePath>../pom.xml</relativePath> |
| | | </parent> |
| | | |
| | | <artifactId>febs-server-hr</artifactId> |
| | | <version>0.0.1-SNAPSHOT</version> |
| | | <name>febs-server-hr</name> |
| | | <description>人力资源服务模块</description> |
| | | |
| | | <properties> |
| | | <febs-cloud.version>2.2-RELEASE</febs-cloud.version> |
| | | </properties> |
| | | |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>cc.mrbird</groupId> |
| | | <artifactId>febs-common-datasource-starter</artifactId> |
| | | <version>${febs-cloud.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>cc.mrbird</groupId> |
| | | <artifactId>febs-common-security-starter</artifactId> |
| | | <version>${febs-cloud.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>cc.mrbird</groupId> |
| | | <artifactId>febs-common-doc-starter</artifactId> |
| | | <version>${febs-cloud.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>cc.mrbird</groupId> |
| | | <artifactId>febs-common-logging-starter</artifactId> |
| | | <version>${febs-cloud.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.google.guava</groupId> |
| | | <artifactId>guava</artifactId> |
| | | <version>${guava.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.codingapi.txlcn</groupId> |
| | | <artifactId>txlcn-tc</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.codingapi.txlcn</groupId> |
| | | <artifactId>txlcn-txmsg-netty</artifactId> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | <build> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |
| | | </project> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpAccidentCases; |
| | | import cc.mrbird.febs.server.hr.service.IEmpAccidentCasesService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpAccidentcases |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工意外险案件控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:36:10 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empAccidentcases") |
| | | @RequiredArgsConstructor |
| | | public class EmpAccidentCasesController { |
| | | |
| | | private final IEmpAccidentCasesService empAccidentcasesService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empAccidentcases:list')") |
| | | public FebsResponse getAllEmpAccidentcasess(EmpAccidentCases empAccidentcases) { |
| | | return new FebsResponse().data(empAccidentcasesService.findEmpAccidentcasess(empAccidentcases)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empAccidentcases:list')") |
| | | public FebsResponse empAccidentcasesList(QueryRequest request, EmpAccidentCases empAccidentcases) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empAccidentcasesService.findEmpAccidentcasess(request, empAccidentcases)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empAccidentcases:add')") |
| | | public void addEmpAccidentcases(@Valid EmpAccidentCases empAccidentcases) throws FebsException { |
| | | try { |
| | | this.empAccidentcasesService.createEmpAccidentcases(empAccidentcases); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpAccidentcases失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empAccidentcases:delete')") |
| | | public void deleteEmpAccidentcases(EmpAccidentCases empAccidentcases) throws FebsException { |
| | | try { |
| | | this.empAccidentcasesService.deleteEmpAccidentcases(empAccidentcases); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpAccidentcases失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empAccidentcases:update')") |
| | | public void updateEmpAccidentcases(EmpAccidentCases empAccidentcases) throws FebsException { |
| | | try { |
| | | this.empAccidentcasesService.updateEmpAccidentcases(empAccidentcases); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpAccidentcases失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBadRecord; |
| | | import cc.mrbird.febs.server.hr.service.IEmpBadRecordService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * name:EmpBadrecord |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工不良记录信息控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:55 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empBadRecord") |
| | | @RequiredArgsConstructor |
| | | public class EmpBadRecordController { |
| | | |
| | | private final IEmpBadRecordService empBadrecordService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empBadrecord:list')") |
| | | public FebsResponse getAllEmpBadrecords(EmpBadRecord empBadrecord) { |
| | | return new FebsResponse().data(empBadrecordService.findEmpBadrecords(empBadrecord)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empBadrecord:list')") |
| | | public FebsResponse empBadrecordList(QueryRequest request, EmpBadRecord empBadrecord) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empBadrecordService.findEmpBadrecords(request, empBadrecord)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empBadrecord:add')") |
| | | public void addEmpBadrecord(@Valid EmpBadRecord empBadrecord) throws FebsException { |
| | | try { |
| | | this.empBadrecordService.createEmpBadrecord(empBadrecord); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpBadrecord失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empBadrecord:delete')") |
| | | public void deleteEmpBadrecord(EmpBadRecord empBadrecord) throws FebsException { |
| | | try { |
| | | this.empBadrecordService.deleteEmpBadRecord(empBadrecord); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpBadrecord失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empBadrecord:update')") |
| | | public void updateEmpBadrecord(EmpBadRecord empBadrecord) throws FebsException { |
| | | try { |
| | | this.empBadrecordService.updateEmpBadrecord(empBadrecord); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpBadrecord失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBaseinfo; |
| | | import cc.mrbird.febs.server.hr.service.IEmpBaseInfoService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBaseinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:人员基本信息控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:50 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empBaseinfo") |
| | | @RequiredArgsConstructor |
| | | public class EmpBaseInfoController { |
| | | |
| | | private final IEmpBaseInfoService empBaseinfoService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empBaseinfo:list')") |
| | | public FebsResponse getAllEmpBaseinfos(EmpBaseinfo empBaseinfo) { |
| | | return new FebsResponse().data(empBaseinfoService.findEmpBaseinfos(empBaseinfo)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empBaseinfo:list')") |
| | | public FebsResponse empBaseinfoList(QueryRequest request, EmpBaseinfo empBaseinfo) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empBaseinfoService.findEmpBaseinfos(request, empBaseinfo)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empBaseinfo:add')") |
| | | public void addEmpBaseinfo(@Valid EmpBaseinfo empBaseinfo) throws FebsException { |
| | | try { |
| | | this.empBaseinfoService.createEmpBaseinfo(empBaseinfo); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpBaseinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empBaseinfo:delete')") |
| | | public void deleteEmpBaseinfo(EmpBaseinfo empBaseinfo) throws FebsException { |
| | | try { |
| | | this.empBaseinfoService.deleteEmpBaseinfo(empBaseinfo); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpBaseinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empBaseinfo:update')") |
| | | public void updateEmpBaseinfo(EmpBaseinfo empBaseinfo) throws FebsException { |
| | | try { |
| | | this.empBaseinfoService.updateEmpBaseinfo(empBaseinfo); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpBaseinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpContractInfo; |
| | | import cc.mrbird.febs.server.hr.service.IEmpContractInfoService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpContractinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工合同信息控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:42 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empContractinfo") |
| | | @RequiredArgsConstructor |
| | | public class EmpContractInfoController { |
| | | |
| | | private final IEmpContractInfoService empContractinfoService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empContractinfo:list')") |
| | | public FebsResponse getAllEmpContractinfos(EmpContractInfo empContractinfo) { |
| | | return new FebsResponse().data(empContractinfoService.findEmpContractinfos(empContractinfo)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empContractinfo:list')") |
| | | public FebsResponse empContractinfoList(QueryRequest request, EmpContractInfo empContractinfo) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empContractinfoService.findEmpContractinfos(request, empContractinfo)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empContractinfo:add')") |
| | | public void addEmpContractinfo(@Valid EmpContractInfo empContractinfo) throws FebsException { |
| | | try { |
| | | this.empContractinfoService.createEmpContractinfo(empContractinfo); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpContractinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empContractinfo:delete')") |
| | | public void deleteEmpContractinfo(EmpContractInfo empContractinfo) throws FebsException { |
| | | try { |
| | | this.empContractinfoService.deleteEmpContractinfo(empContractinfo); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpContractinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empContractinfo:update')") |
| | | public void updateEmpContractinfo(EmpContractInfo empContractinfo) throws FebsException { |
| | | try { |
| | | this.empContractinfoService.updateEmpContractinfo(empContractinfo); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpContractinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpDimissionAttend; |
| | | import cc.mrbird.febs.server.hr.service.IEmpDimissionAttendService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpDimissionattend |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:离职当月考勤控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:38 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empDimissionattend") |
| | | @RequiredArgsConstructor |
| | | public class EmpDimissionAttendController { |
| | | |
| | | private final IEmpDimissionAttendService empDimissionattendService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empDimissionattend:list')") |
| | | public FebsResponse getAllEmpDimissionattends(EmpDimissionAttend empDimissionattend) { |
| | | return new FebsResponse().data(empDimissionattendService.findEmpDimissionattends(empDimissionattend)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empDimissionattend:list')") |
| | | public FebsResponse empDimissionattendList(QueryRequest request, EmpDimissionAttend empDimissionattend) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empDimissionattendService.findEmpDimissionattends(request, empDimissionattend)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empDimissionattend:add')") |
| | | public void addEmpDimissionattend(@Valid EmpDimissionAttend empDimissionattend) throws FebsException { |
| | | try { |
| | | this.empDimissionattendService.createEmpDimissionattend(empDimissionattend); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpDimissionattend失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empDimissionattend:delete')") |
| | | public void deleteEmpDimissionattend(EmpDimissionAttend empDimissionattend) throws FebsException { |
| | | try { |
| | | this.empDimissionattendService.deleteEmpDimissionattend(empDimissionattend); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpDimissionattend失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empDimissionattend:update')") |
| | | public void updateEmpDimissionattend(EmpDimissionAttend empDimissionattend) throws FebsException { |
| | | try { |
| | | this.empDimissionattendService.updateEmpDimissionattend(empDimissionattend); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpDimissionattend失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpInsurance; |
| | | import cc.mrbird.febs.server.hr.service.IEmpInsuranceService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpInsurance |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工社保申请控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:33 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empInsurance") |
| | | @RequiredArgsConstructor |
| | | public class EmpInsuranceController { |
| | | |
| | | private final IEmpInsuranceService empInsuranceService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empInsurance:list')") |
| | | public FebsResponse getAllEmpInsurances(EmpInsurance empInsurance) { |
| | | return new FebsResponse().data(empInsuranceService.findEmpInsurances(empInsurance)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empInsurance:list')") |
| | | public FebsResponse empInsuranceList(QueryRequest request, EmpInsurance empInsurance) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empInsuranceService.findEmpInsurances(request, empInsurance)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empInsurance:add')") |
| | | public void addEmpInsurance(@Valid EmpInsurance empInsurance) throws FebsException { |
| | | try { |
| | | this.empInsuranceService.createEmpInsurance(empInsurance); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpInsurance失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empInsurance:delete')") |
| | | public void deleteEmpInsurance(EmpInsurance empInsurance) throws FebsException { |
| | | try { |
| | | this.empInsuranceService.deleteEmpInsurance(empInsurance); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpInsurance失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empInsurance:update')") |
| | | public void updateEmpInsurance(EmpInsurance empInsurance) throws FebsException { |
| | | try { |
| | | this.empInsuranceService.updateEmpInsurance(empInsurance); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpInsurance失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLaborTrouble; |
| | | import cc.mrbird.febs.server.hr.service.IEmpLaborTroubleService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLabortrouble |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工劳资案件控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:59 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empLabortrouble") |
| | | @RequiredArgsConstructor |
| | | public class EmpLaborTroubleController { |
| | | |
| | | private final IEmpLaborTroubleService empLabortroubleService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empLabortrouble:list')") |
| | | public FebsResponse getAllEmpLabortroubles(EmpLaborTrouble empLabortrouble) { |
| | | return new FebsResponse().data(empLabortroubleService.findEmpLabortroubles(empLabortrouble)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empLabortrouble:list')") |
| | | public FebsResponse empLabortroubleList(QueryRequest request, EmpLaborTrouble empLabortrouble) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empLabortroubleService.findEmpLabortroubles(request, empLabortrouble)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empLabortrouble:add')") |
| | | public void addEmpLabortrouble(@Valid EmpLaborTrouble empLabortrouble) throws FebsException { |
| | | try { |
| | | this.empLabortroubleService.createEmpLabortrouble(empLabortrouble); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpLabortrouble失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empLabortrouble:delete')") |
| | | public void deleteEmpLabortrouble(EmpLaborTrouble empLabortrouble) throws FebsException { |
| | | try { |
| | | this.empLabortroubleService.deleteEmpLabortrouble(empLabortrouble); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpLabortrouble失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empLabortrouble:update')") |
| | | public void updateEmpLabortrouble(EmpLaborTrouble empLabortrouble) throws FebsException { |
| | | try { |
| | | this.empLabortroubleService.updateEmpLabortrouble(empLabortrouble); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpLabortrouble失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLeaveInfo; |
| | | import cc.mrbird.febs.server.hr.service.IEmpLeaveInfoService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLeaveinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工请假记录控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:29 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empLeaveinfo") |
| | | @RequiredArgsConstructor |
| | | public class EmpLeaveInfoController { |
| | | |
| | | private final IEmpLeaveInfoService empLeaveinfoService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empLeaveinfo:list')") |
| | | public FebsResponse getAllEmpLeaveinfos(EmpLeaveInfo empLeaveinfo) { |
| | | return new FebsResponse().data(empLeaveinfoService.findEmpLeaveinfos(empLeaveinfo)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empLeaveinfo:list')") |
| | | public FebsResponse empLeaveinfoList(QueryRequest request, EmpLeaveInfo empLeaveinfo) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empLeaveinfoService.findEmpLeaveinfos(request, empLeaveinfo)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empLeaveinfo:add')") |
| | | public void addEmpLeaveinfo(@Valid EmpLeaveInfo empLeaveinfo) throws FebsException { |
| | | try { |
| | | this.empLeaveinfoService.createEmpLeaveinfo(empLeaveinfo); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpLeaveinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empLeaveinfo:delete')") |
| | | public void deleteEmpLeaveinfo(EmpLeaveInfo empLeaveinfo) throws FebsException { |
| | | try { |
| | | this.empLeaveinfoService.deleteEmpLeaveinfo(empLeaveinfo); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpLeaveinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empLeaveinfo:update')") |
| | | public void updateEmpLeaveinfo(EmpLeaveInfo empLeaveinfo) throws FebsException { |
| | | try { |
| | | this.empLeaveinfoService.updateEmpLeaveinfo(empLeaveinfo); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpLeaveinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpOccupational; |
| | | import cc.mrbird.febs.server.hr.service.IEmpOccupationalService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpOccupational |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工伤案件控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:24 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empOccupational") |
| | | @RequiredArgsConstructor |
| | | public class EmpOccupationalController { |
| | | |
| | | private final IEmpOccupationalService empOccupationalService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empOccupational:list')") |
| | | public FebsResponse getAllEmpOccupationals(EmpOccupational empOccupational) { |
| | | return new FebsResponse().data(empOccupationalService.findEmpOccupationals(empOccupational)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empOccupational:list')") |
| | | public FebsResponse empOccupationalList(QueryRequest request, EmpOccupational empOccupational) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empOccupationalService.findEmpOccupationals(request, empOccupational)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empOccupational:add')") |
| | | public void addEmpOccupational(@Valid EmpOccupational empOccupational) throws FebsException { |
| | | try { |
| | | this.empOccupationalService.createEmpOccupational(empOccupational); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpOccupational失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empOccupational:delete')") |
| | | public void deleteEmpOccupational(EmpOccupational empOccupational) throws FebsException { |
| | | try { |
| | | this.empOccupationalService.deleteEmpOccupational(empOccupational); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpOccupational失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empOccupational:update')") |
| | | public void updateEmpOccupational(EmpOccupational empOccupational) throws FebsException { |
| | | try { |
| | | this.empOccupationalService.updateEmpOccupational(empOccupational); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpOccupational失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpPhysicalExam; |
| | | import cc.mrbird.febs.server.hr.service.IEmpPhysicalExamService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpPhysicalexam |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工体检信息控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:19 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empPhysicalexam") |
| | | @RequiredArgsConstructor |
| | | public class EmpPhysicalExamController { |
| | | |
| | | private final IEmpPhysicalExamService empPhysicalexamService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empPhysicalexam:list')") |
| | | public FebsResponse getAllEmpPhysicalexams(EmpPhysicalExam empPhysicalexam) { |
| | | return new FebsResponse().data(empPhysicalexamService.findEmpPhysicalexams(empPhysicalexam)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empPhysicalexam:list')") |
| | | public FebsResponse empPhysicalexamList(QueryRequest request, EmpPhysicalExam empPhysicalexam) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empPhysicalexamService.findEmpPhysicalexams(request, empPhysicalexam)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empPhysicalexam:add')") |
| | | public void addEmpPhysicalexam(@Valid EmpPhysicalExam empPhysicalexam) throws FebsException { |
| | | try { |
| | | this.empPhysicalexamService.createEmpPhysicalexam(empPhysicalexam); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpPhysicalexam失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empPhysicalexam:delete')") |
| | | public void deleteEmpPhysicalexam(EmpPhysicalExam empPhysicalexam) throws FebsException { |
| | | try { |
| | | this.empPhysicalexamService.deleteEmpPhysicalexam(empPhysicalexam); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpPhysicalexam失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empPhysicalexam:update')") |
| | | public void updateEmpPhysicalexam(EmpPhysicalExam empPhysicalexam) throws FebsException { |
| | | try { |
| | | this.empPhysicalexamService.updateEmpPhysicalexam(empPhysicalexam); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpPhysicalexam失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpRemarkInfo; |
| | | import cc.mrbird.febs.server.hr.service.IEmpRemarkInfoService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpRemarkinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工备注信息控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:15 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empRemarkinfo") |
| | | @RequiredArgsConstructor |
| | | public class EmpRemarkInfoController { |
| | | |
| | | private final IEmpRemarkInfoService empRemarkinfoService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empRemarkinfo:list')") |
| | | public FebsResponse getAllEmpRemarkinfos(EmpRemarkInfo empRemarkinfo) { |
| | | return new FebsResponse().data(empRemarkinfoService.findEmpRemarkinfos(empRemarkinfo)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empRemarkinfo:list')") |
| | | public FebsResponse empRemarkinfoList(QueryRequest request, EmpRemarkInfo empRemarkinfo) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empRemarkinfoService.findEmpRemarkinfos(request, empRemarkinfo)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empRemarkinfo:add')") |
| | | public void addEmpRemarkinfo(@Valid EmpRemarkInfo empRemarkinfo) throws FebsException { |
| | | try { |
| | | this.empRemarkinfoService.createEmpRemarkinfo(empRemarkinfo); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpRemarkinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empRemarkinfo:delete')") |
| | | public void deleteEmpRemarkinfo(EmpRemarkInfo empRemarkinfo) throws FebsException { |
| | | try { |
| | | this.empRemarkinfoService.deleteEmpRemarkinfo(empRemarkinfo); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpRemarkinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empRemarkinfo:update')") |
| | | public void updateEmpRemarkinfo(EmpRemarkInfo empRemarkinfo) throws FebsException { |
| | | try { |
| | | this.empRemarkinfoService.updateEmpRemarkinfo(empRemarkinfo); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpRemarkinfo失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpResign; |
| | | import cc.mrbird.febs.server.hr.service.IEmpResignService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpResign |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工辞职申请控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:08 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empResign") |
| | | @RequiredArgsConstructor |
| | | public class EmpResignController { |
| | | |
| | | private final IEmpResignService empResignService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empResign:list')") |
| | | public FebsResponse getAllEmpResigns(EmpResign empResign) { |
| | | return new FebsResponse().data(empResignService.findEmpResigns(empResign)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empResign:list')") |
| | | public FebsResponse empResignList(QueryRequest request, EmpResign empResign) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empResignService.findEmpResigns(request, empResign)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empResign:add')") |
| | | public void addEmpResign(@Valid EmpResign empResign) throws FebsException { |
| | | try { |
| | | this.empResignService.createEmpResign(empResign); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpResign失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empResign:delete')") |
| | | public void deleteEmpResign(EmpResign empResign) throws FebsException { |
| | | try { |
| | | this.empResignService.deleteEmpResign(empResign); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpResign失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empResign:update')") |
| | | public void updateEmpResign(EmpResign empResign) throws FebsException { |
| | | try { |
| | | this.empResignService.updateEmpResign(empResign); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpResign失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpWorkExperience; |
| | | import cc.mrbird.febs.server.hr.service.IEmpWorkExperienceService; |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import cc.mrbird.febs.common.core.exception.FebsException; |
| | | import cc.mrbird.febs.common.core.utils.FebsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpWorkexperinece |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工作经历控制器 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:04 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Slf4j |
| | | @Validated |
| | | @RestController |
| | | @RequestMapping("empWorkexperinece") |
| | | @RequiredArgsConstructor |
| | | public class EmpWorkExperienceController { |
| | | |
| | | private final IEmpWorkExperienceService empWorkexperineceService; |
| | | |
| | | @GetMapping |
| | | @PreAuthorize("hasAuthority('empWorkexperinece:list')") |
| | | public FebsResponse getAllEmpWorkexperineces(EmpWorkExperience empWorkexperinece) { |
| | | return new FebsResponse().data(empWorkexperineceService.findEmpWorkexperineces(empWorkexperinece)); |
| | | } |
| | | |
| | | @GetMapping("list") |
| | | @PreAuthorize("hasAuthority('empWorkexperinece:list')") |
| | | public FebsResponse empWorkexperineceList(QueryRequest request, EmpWorkExperience empWorkexperinece) { |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empWorkexperineceService.findEmpWorkexperineces(request, empWorkexperinece)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empWorkexperinece:add')") |
| | | public void addEmpWorkexperinece(@Valid EmpWorkExperience empWorkexperinece) throws FebsException { |
| | | try { |
| | | this.empWorkexperineceService.createEmpWorkexperinece(empWorkexperinece); |
| | | } catch (Exception e) { |
| | | String message = "新增EmpWorkexperinece失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PreAuthorize("hasAuthority('empWorkexperinece:delete')") |
| | | public void deleteEmpWorkexperinece(EmpWorkExperience empWorkexperinece) throws FebsException { |
| | | try { |
| | | this.empWorkexperineceService.deleteEmpWorkexperinece(empWorkexperinece); |
| | | } catch (Exception e) { |
| | | String message = "删除EmpWorkexperinece失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @PutMapping |
| | | @PreAuthorize("hasAuthority('empWorkexperinece:update')") |
| | | public void updateEmpWorkexperinece(EmpWorkExperience empWorkexperinece) throws FebsException { |
| | | try { |
| | | this.empWorkexperineceService.updateEmpWorkexperinece(empWorkexperinece); |
| | | } catch (Exception e) { |
| | | String message = "修改EmpWorkexperinece失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpAccidentcases |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工意外险案件数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:36:10 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_accidentcases") |
| | | public class EmpAccidentCases { |
| | | |
| | | /** |
| | | * 案件Id |
| | | */ |
| | | @TableId(value = "accidentId", type = IdType.AUTO) |
| | | private Long accidentId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("injuredTime") |
| | | private Date injuredTime; |
| | | |
| | | /** |
| | | * 受伤地点 |
| | | */ |
| | | @TableField("injuredAddress") |
| | | private String injuredAddress; |
| | | |
| | | /** |
| | | * 受伤部位 |
| | | */ |
| | | @TableField("injuredPart") |
| | | private String injuredPart; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("injuredDiacrisis") |
| | | private String injuredDiacrisis; |
| | | |
| | | /** |
| | | * 受伤经过描述 |
| | | */ |
| | | @TableField("injuredDescribe") |
| | | private String injuredDescribe; |
| | | |
| | | /** |
| | | * 就诊医院 |
| | | */ |
| | | @TableField("hospitalName") |
| | | private String hospitalName; |
| | | |
| | | /** |
| | | * 就诊科室 |
| | | */ |
| | | @TableField("treatmentName") |
| | | private String treatmentName; |
| | | |
| | | /** |
| | | * 是否住院 |
| | | */ |
| | | @TableField("hospitalizatioFlag") |
| | | private Integer hospitalizatioFlag; |
| | | |
| | | /** |
| | | * 床号 |
| | | */ |
| | | @TableField("bedNumb") |
| | | private Byte bedNumb; |
| | | |
| | | /** |
| | | * 报案时间 |
| | | */ |
| | | @TableField("reprotTime") |
| | | private Date reprotTime; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("submitTime") |
| | | private Date submitTime; |
| | | |
| | | /** |
| | | * 递交人 |
| | | */ |
| | | @TableField("sbumitBy") |
| | | private String sbumitBy; |
| | | |
| | | /** |
| | | * 医疗总费用 |
| | | */ |
| | | @TableField("expensesFee") |
| | | private BigDecimal expensesFee; |
| | | /** |
| | | * 报单号 |
| | | */ |
| | | @TableField("expenseReport") |
| | | private String expenseReport; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("innsureFee") |
| | | private BigDecimal innsureFee; |
| | | /** |
| | | * 人事处理时间 |
| | | */ |
| | | @TableField("hrDoDate") |
| | | private Date hrDoDate; |
| | | |
| | | /** |
| | | * 案结日期 |
| | | */ |
| | | @TableField("settleDate") |
| | | private Date settleDate; |
| | | |
| | | /** |
| | | * 结案状态 0-未结案 1-已结案 |
| | | */ |
| | | @TableField("settleStatus") |
| | | private Integer settleStatus; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import cc.mrbird.febs.common.core.utils.DateDeSerializer; |
| | | import cc.mrbird.febs.common.core.utils.DateSerializer; |
| | | import cc.mrbird.febs.common.core.utils.DateTimeDeserializer; |
| | | import cc.mrbird.febs.common.core.utils.DateTimeSerializer; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * name:EmpBadrecord |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工不良记录信息数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:55 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_badrecord") |
| | | public class EmpBadRecord { |
| | | |
| | | /** |
| | | * 不良记录Id |
| | | */ |
| | | @TableId(value = "badId") |
| | | private Long badId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 不良记录日期 |
| | | */ |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @TableField("badDate") |
| | | private Date badDate; |
| | | |
| | | /** |
| | | * 报备人 |
| | | */ |
| | | @TableField("reporter") |
| | | private String reporter; |
| | | |
| | | /** |
| | | * 不良记录描述 |
| | | */ |
| | | @TableField("badContent") |
| | | private String badContent; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @JsonSerialize(using = DateTimeSerializer.class) |
| | | @JsonDeserialize(using = DateTimeDeserializer.class) |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @JsonSerialize(using = DateTimeSerializer.class) |
| | | @JsonDeserialize(using = DateTimeDeserializer.class) |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBaseinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:人员基本信息数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:50 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_baseinfo") |
| | | public class EmpBaseinfo { |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableId(value = "empId", type = IdType.AUTO) |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 租户Id |
| | | */ |
| | | @TableField("customerId") |
| | | private Long customerId; |
| | | |
| | | /** |
| | | * 档案号 |
| | | */ |
| | | @TableField("archivesNumb") |
| | | private String archivesNumb; |
| | | |
| | | /** |
| | | * 员工姓名 |
| | | */ |
| | | @TableField("empName") |
| | | private String empName; |
| | | |
| | | /** |
| | | * 性别码,使用国标性别性别码 |
| | | */ |
| | | @TableField("sex") |
| | | private String sex; |
| | | |
| | | /** |
| | | * 员工类别,员工类另字典表 |
| | | */ |
| | | @TableField("empType") |
| | | private String empType; |
| | | |
| | | /** |
| | | * 证件类型,人员证件类型,国标代码 |
| | | */ |
| | | @TableField("certificateType") |
| | | private String certificateType; |
| | | |
| | | /** |
| | | * 证件号码 |
| | | */ |
| | | @TableField("certificateNumb") |
| | | private String certificateNumb; |
| | | |
| | | /** |
| | | * 证件有效期 |
| | | */ |
| | | @TableField("certificateValidity") |
| | | private Date certificateValidity; |
| | | |
| | | /** |
| | | * 民族 |
| | | */ |
| | | @TableField("nation") |
| | | private String nation; |
| | | |
| | | /** |
| | | * 婚姻状况 |
| | | */ |
| | | @TableField("marriage") |
| | | private String marriage; |
| | | |
| | | /** |
| | | * 年龄 |
| | | */ |
| | | @TableField("age") |
| | | private Byte age; |
| | | |
| | | /** |
| | | * 身高 |
| | | */ |
| | | @TableField("stature") |
| | | private Integer stature; |
| | | |
| | | /** |
| | | * 出生日期 |
| | | */ |
| | | @TableField("birthdate") |
| | | private Date birthdate; |
| | | |
| | | /** |
| | | * 政治面貌 |
| | | */ |
| | | @TableField("politics") |
| | | private String politics; |
| | | |
| | | /** |
| | | * 入职日期 |
| | | */ |
| | | @TableField("entryDate") |
| | | private Date entryDate; |
| | | |
| | | /** |
| | | * 最高学历 |
| | | */ |
| | | @TableField("education") |
| | | private String education; |
| | | |
| | | /** |
| | | * 入司工龄 |
| | | */ |
| | | @TableField("seniority") |
| | | private Byte seniority; |
| | | |
| | | /** |
| | | * 籍贯 |
| | | */ |
| | | @TableField("nativePlace") |
| | | private String nativePlace; |
| | | |
| | | /** |
| | | * 户籍地址 |
| | | */ |
| | | @TableField("censusAddress") |
| | | private String censusAddress; |
| | | |
| | | /** |
| | | * 现住址 |
| | | */ |
| | | @TableField("currentAddress") |
| | | private String currentAddress; |
| | | |
| | | /** |
| | | * 电话号码 |
| | | */ |
| | | @TableField("telePhone") |
| | | private String telePhone; |
| | | |
| | | /** |
| | | * 银行名称 |
| | | */ |
| | | @TableField("bankName") |
| | | private String bankName; |
| | | |
| | | /** |
| | | * 银行账号 |
| | | */ |
| | | @TableField("bankNumb") |
| | | private String bankNumb; |
| | | |
| | | /** |
| | | * 保险类型 |
| | | */ |
| | | @TableField("InsuranceType") |
| | | private String insuranceType; |
| | | |
| | | /** |
| | | * 社保电脑号 |
| | | */ |
| | | @TableField("socialNumb") |
| | | private String socialNumb; |
| | | |
| | | /** |
| | | * 紧急联系电话 |
| | | */ |
| | | @TableField("urgencyPhone") |
| | | private String urgencyPhone; |
| | | |
| | | /** |
| | | * 保安员证号 |
| | | */ |
| | | @TableField("guardNumb") |
| | | private String guardNumb; |
| | | |
| | | /** |
| | | * 保安员回执 |
| | | */ |
| | | @TableField("returnRreceipt") |
| | | private String returnRreceipt; |
| | | |
| | | /** |
| | | * 招聘介绍人 |
| | | */ |
| | | @TableField("introducer") |
| | | private String introducer; |
| | | |
| | | /** |
| | | * 档案情况 |
| | | */ |
| | | @TableField("archivesStatus") |
| | | private String archivesStatus; |
| | | |
| | | /** |
| | | * 家庭成员及关系 |
| | | */ |
| | | @TableField("family") |
| | | private String family; |
| | | |
| | | /** |
| | | * 员工手册 |
| | | */ |
| | | @TableField("handbookStatus") |
| | | private String handbookStatus; |
| | | |
| | | /** |
| | | * 工作证 |
| | | */ |
| | | @TableField("empCardStatus") |
| | | private String empCardStatus; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpContractinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工合同信息数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:42 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_contractinfo") |
| | | public class EmpContractInfo { |
| | | |
| | | /** |
| | | * 合同Id |
| | | */ |
| | | @TableId(value = "contractId", type = IdType.AUTO) |
| | | private Long contractId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 开始日期 |
| | | */ |
| | | @TableField("beginDate") |
| | | private Date beginDate; |
| | | |
| | | /** |
| | | * 结束日期 |
| | | */ |
| | | @TableField("endDate") |
| | | private Date endDate; |
| | | |
| | | /** |
| | | * 合同状态 |
| | | */ |
| | | @TableField("contractStatus") |
| | | private String contractStatus; |
| | | |
| | | /** |
| | | * 合同期限(年) |
| | | */ |
| | | @TableField("contractPeiod") |
| | | private Byte contractPeiod; |
| | | |
| | | /** |
| | | * 合同办理人 |
| | | */ |
| | | @TableField("transactor") |
| | | private String transactor; |
| | | |
| | | /** |
| | | * 合同签订日期 |
| | | */ |
| | | @TableField("signingDate") |
| | | private Date signingDate; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpDimissionattend |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:离职当月考勤数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:38 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_dimissionattend") |
| | | public class EmpDimissionAttend { |
| | | |
| | | /** |
| | | * 离职当月考勤Id |
| | | */ |
| | | @TableId(value = "dimissionAttendId", type = IdType.AUTO) |
| | | private Long dimissionAttendId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 离职考勤月份 |
| | | */ |
| | | @TableField("attendMonth") |
| | | private Byte attendMonth; |
| | | |
| | | /** |
| | | * 加班小时 |
| | | */ |
| | | @TableField("overtimeHour") |
| | | private BigDecimal overtimeHour; |
| | | /** |
| | | * 加班(天) |
| | | */ |
| | | @TableField("overtimeDay") |
| | | private BigDecimal overtimeDay; |
| | | /** |
| | | * 请假(天) |
| | | */ |
| | | @TableField("leaveDay") |
| | | private BigDecimal leaveDay; |
| | | /** |
| | | * 有无代扣款项 |
| | | */ |
| | | @TableField("deduct") |
| | | private BigDecimal deduct; |
| | | /** |
| | | * 旷工(天) |
| | | */ |
| | | @TableField("absenteeism") |
| | | private BigDecimal absenteeism; |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpInsurance |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工社保申请数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:33 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_insurance") |
| | | public class EmpInsurance { |
| | | |
| | | /** |
| | | * 社保Id |
| | | */ |
| | | @TableId(value = "insuranceId", type = IdType.AUTO) |
| | | private Long insuranceId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 申请日期 |
| | | */ |
| | | @TableField("applayDate") |
| | | private Date applayDate; |
| | | |
| | | /** |
| | | * 申请人 |
| | | */ |
| | | @TableField("proposer") |
| | | private String proposer; |
| | | |
| | | /** |
| | | * 社保档位 |
| | | */ |
| | | @TableField("insuranceGaers") |
| | | private String insuranceGaers; |
| | | |
| | | /** |
| | | * 是否已报告 0-未报告 1-已报告 |
| | | */ |
| | | @TableField("reportStatus") |
| | | private Integer reportStatus; |
| | | |
| | | /** |
| | | * 申请状态 0-未申请 1-已申请 |
| | | */ |
| | | @TableField("applayStatus") |
| | | private Integer applayStatus; |
| | | |
| | | /** |
| | | * 审核人 |
| | | */ |
| | | @TableField("auditor") |
| | | private String auditor; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLabortrouble |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工劳资案件数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:59 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_labortrouble") |
| | | public class EmpLaborTrouble { |
| | | |
| | | /** |
| | | * 仲裁Id |
| | | */ |
| | | @TableId(value = "arbitrationId", type = IdType.AUTO) |
| | | private String arbitrationId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 仲裁日期 |
| | | */ |
| | | @TableField("arbitrationDate") |
| | | private Date arbitrationDate; |
| | | |
| | | /** |
| | | * 仲裁类型 |
| | | */ |
| | | @TableField("arbitrationType") |
| | | private String arbitrationType; |
| | | |
| | | /** |
| | | * 仲裁事由 |
| | | */ |
| | | @TableField("arbitrationReason") |
| | | private String arbitrationReason; |
| | | |
| | | /** |
| | | * 报备人 |
| | | */ |
| | | @TableField("reporter") |
| | | private String reporter; |
| | | |
| | | /** |
| | | * 仲裁赔付(元) |
| | | */ |
| | | @TableField("arbitrationPay") |
| | | private BigDecimal arbitrationPay; |
| | | /** |
| | | * 仲裁状态 |
| | | */ |
| | | @TableField("arbitrationStatus") |
| | | private Integer arbitrationStatus; |
| | | |
| | | /** |
| | | * 案结日期 |
| | | */ |
| | | @TableField("settleDate") |
| | | private Date settleDate; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLeaveinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工请假记录数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:29 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_leaveinfo") |
| | | public class EmpLeaveInfo { |
| | | |
| | | /** |
| | | * 请假申请Id |
| | | */ |
| | | @TableId(value = "leaveId", type = IdType.AUTO) |
| | | private Long leaveId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | @TableField("beginTime") |
| | | private Date beginTime; |
| | | |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | @TableField("endTime") |
| | | private Date endTime; |
| | | |
| | | /** |
| | | * 请假类型 |
| | | */ |
| | | @TableField("leaveType") |
| | | private String leaveType; |
| | | |
| | | /** |
| | | * 请假天数 |
| | | */ |
| | | @TableField("leaveDay") |
| | | private BigDecimal leaveDay; |
| | | /** |
| | | * 报备人 |
| | | */ |
| | | @TableField("reporter") |
| | | private String reporter; |
| | | |
| | | /** |
| | | * 到岗时间 |
| | | */ |
| | | @TableField("returnDate") |
| | | private Date returnDate; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpOccupational |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工伤案件数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:24 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_occupational") |
| | | public class EmpOccupational { |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 案件Id |
| | | */ |
| | | @TableField("occupationalId") |
| | | private Long occupationalId; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("injuredTime") |
| | | private Date injuredTime; |
| | | |
| | | /** |
| | | * 受伤地点 |
| | | */ |
| | | @TableField("injuredAddress") |
| | | private String injuredAddress; |
| | | |
| | | /** |
| | | * 受伤部位 |
| | | */ |
| | | @TableField("injuredPart") |
| | | private String injuredPart; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("injuredDiacrisis") |
| | | private String injuredDiacrisis; |
| | | |
| | | /** |
| | | * 受伤经过描述 |
| | | */ |
| | | @TableField("injuredDescribe") |
| | | private String injuredDescribe; |
| | | |
| | | /** |
| | | * 就诊医院 |
| | | */ |
| | | @TableField("hospitalName") |
| | | private String hospitalName; |
| | | |
| | | /** |
| | | * 就诊科室 |
| | | */ |
| | | @TableField("treatmentName") |
| | | private String treatmentName; |
| | | |
| | | /** |
| | | * 是否住院 |
| | | */ |
| | | @TableField("hospitalizatioFlag") |
| | | private Integer hospitalizatioFlag; |
| | | |
| | | /** |
| | | * 床号 |
| | | */ |
| | | @TableField("bedNumb") |
| | | private Byte bedNumb; |
| | | |
| | | /** |
| | | * 报案时间 |
| | | */ |
| | | @TableField("reprotTime") |
| | | private Date reprotTime; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("submitTime") |
| | | private Date submitTime; |
| | | |
| | | /** |
| | | * 递交人 |
| | | */ |
| | | @TableField("sbumitBy") |
| | | private String sbumitBy; |
| | | |
| | | /** |
| | | * 人事处理时间 |
| | | */ |
| | | @TableField("hrDoDate") |
| | | private Date hrDoDate; |
| | | |
| | | /** |
| | | * 医疗总费用 |
| | | */ |
| | | @TableField("expensesFee") |
| | | private BigDecimal expensesFee; |
| | | /** |
| | | * 剔除总额 |
| | | */ |
| | | @TableField("eliminate") |
| | | private BigDecimal eliminate; |
| | | /** |
| | | * 一次性伤残补助金 |
| | | */ |
| | | @TableField("socialDisability") |
| | | private BigDecimal socialDisability; |
| | | /** |
| | | * 住院伙食补贴 |
| | | */ |
| | | @TableField("socialAllowance") |
| | | private BigDecimal socialAllowance; |
| | | /** |
| | | * 一次性医疗补助金 |
| | | */ |
| | | @TableField("socialSubsidy") |
| | | private BigDecimal socialSubsidy; |
| | | /** |
| | | * 社保赔偿总费用 |
| | | */ |
| | | @TableField("socialCompensation") |
| | | private BigDecimal socialCompensation; |
| | | /** |
| | | * 已赔付医药费用 |
| | | */ |
| | | @TableField("compensated") |
| | | private BigDecimal compensated; |
| | | /** |
| | | * 其他赔偿报销 |
| | | */ |
| | | @TableField("otherCompensated") |
| | | private BigDecimal otherCompensated; |
| | | /** |
| | | * |
| | | */ |
| | | @TableField("companylDisability") |
| | | private BigDecimal companylDisability; |
| | | /** |
| | | * 工伤生活补贴 |
| | | */ |
| | | @TableField("companyAllowance") |
| | | private BigDecimal companyAllowance; |
| | | /** |
| | | * 公司一次性医疗补助金 |
| | | */ |
| | | @TableField("companySubsidy") |
| | | private BigDecimal companySubsidy; |
| | | /** |
| | | * 公司赔偿总费用 |
| | | */ |
| | | @TableField("companyCompensation") |
| | | private BigDecimal companyCompensation; |
| | | /** |
| | | * 公司一次性就业补助金 |
| | | */ |
| | | @TableField("jobSubsidy") |
| | | private BigDecimal jobSubsidy; |
| | | /** |
| | | * 结案状态 0-未结案 1-已结案 |
| | | */ |
| | | @TableField("settleStatus") |
| | | private Integer settleStatus; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpPhysicalexam |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工体检信息数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:19 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_physicalexam") |
| | | public class EmpPhysicalExam { |
| | | |
| | | /** |
| | | * 体检Id |
| | | */ |
| | | @TableId(value = "physicalExamId", type = IdType.AUTO) |
| | | private Long physicalExamId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 体检医院 |
| | | */ |
| | | @TableField("hosptial") |
| | | private String hosptial; |
| | | |
| | | /** |
| | | * 体检日期 |
| | | */ |
| | | @TableField("physicalExamDate") |
| | | private Date physicalExamDate; |
| | | |
| | | /** |
| | | * 体检类型 |
| | | */ |
| | | @TableField("physicalExamType") |
| | | private String physicalExamType; |
| | | |
| | | /** |
| | | * 血压 |
| | | */ |
| | | @TableField("bloodPressure") |
| | | private String bloodPressure; |
| | | |
| | | /** |
| | | * 转氨酶 |
| | | */ |
| | | @TableField("transaminase") |
| | | private String transaminase; |
| | | |
| | | /** |
| | | * 心电图 |
| | | */ |
| | | @TableField("ecg") |
| | | private String ecg; |
| | | |
| | | /** |
| | | * 体检结论 |
| | | */ |
| | | @TableField("conclusion") |
| | | private String conclusion; |
| | | |
| | | /** |
| | | * 复查记录 |
| | | */ |
| | | @TableField("reviewRecord") |
| | | private String reviewRecord; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpRemarkinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工备注信息数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:15 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_remarkinfo") |
| | | public class EmpRemarkInfo { |
| | | |
| | | /** |
| | | * 备注Id |
| | | */ |
| | | @TableId(value = "remarkId", type = IdType.AUTO) |
| | | private Long remarkId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 备注内容 |
| | | */ |
| | | @TableField("remarkContent") |
| | | private String remarkContent; |
| | | |
| | | /** |
| | | * 备注日期 |
| | | */ |
| | | @TableField("remarkDate") |
| | | private Date remarkDate; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpResign |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工辞职申请数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:08 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_resign") |
| | | public class EmpResign { |
| | | |
| | | /** |
| | | * 辞职Id |
| | | */ |
| | | @TableId(value = "resignId", type = IdType.AUTO) |
| | | private Long resignId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 申请日期 |
| | | */ |
| | | @TableField("applayDate") |
| | | private Date applayDate; |
| | | |
| | | /** |
| | | * 报备人 |
| | | */ |
| | | @TableField("reporter") |
| | | private String reporter; |
| | | |
| | | /** |
| | | * 事由 |
| | | */ |
| | | @TableField("reason") |
| | | private String reason; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.entity; |
| | | |
| | | import java.util.Date; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpWorkexperinece |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工作经历数据表映射实体 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:04 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_workexperinece") |
| | | public class EmpWorkExperience { |
| | | |
| | | /** |
| | | * 工作经历Id |
| | | */ |
| | | @TableId(value = "workExpreienceId", type = IdType.AUTO) |
| | | private Long workExpreienceId; |
| | | |
| | | /** |
| | | * 员工Id |
| | | */ |
| | | @TableField("empId") |
| | | private Long empId; |
| | | |
| | | /** |
| | | * 工作单位 |
| | | */ |
| | | @TableField("workUnit") |
| | | private String workUnit; |
| | | |
| | | /** |
| | | * 开始日期 |
| | | */ |
| | | @TableField("beginDate") |
| | | private Date beginDate; |
| | | |
| | | /** |
| | | * 结束日期 |
| | | */ |
| | | @TableField("endDate") |
| | | private Date endDate; |
| | | |
| | | /** |
| | | * 主要工作内容 |
| | | */ |
| | | @TableField("jobContent") |
| | | private String jobContent; |
| | | |
| | | /** |
| | | * 记录创建时间 |
| | | */ |
| | | @TableField("createTime") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 记录创建人 |
| | | */ |
| | | @TableField("creator") |
| | | private String creator; |
| | | |
| | | /** |
| | | * 记录最后更新时间 |
| | | */ |
| | | @TableField("modifyTime") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * 记录最后更新人 |
| | | */ |
| | | @TableField("modifier") |
| | | private String modifier; |
| | | |
| | | /** |
| | | * 记录删除标志。0-未删除 1-已删除,默认0 |
| | | */ |
| | | @TableField("delFlag") |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 记录版本号,用来进行乐观锁控制 |
| | | */ |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpAccidentCases; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpAccidentcases |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工意外险案件实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:36:10 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpAccidentCasesMapper extends BaseMapper<EmpAccidentCases> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpAccidentCasesMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBadRecord; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBadrecord |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工不良记录信息实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:55 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpBadRecordMapper extends BaseMapper<EmpBadRecord> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpBadRecordMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBaseinfo; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBaseinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:人员基本信息实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:50 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpBaseInfoMapper extends BaseMapper<EmpBaseinfo> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpBaseInfoMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpContractInfo; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpContractinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工合同信息实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:42 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpContractInfoMapper extends BaseMapper<EmpContractInfo> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpContractInfoMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpDimissionAttend; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpDimissionattend |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:离职当月考勤实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:38 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpDimissionAttendMapper extends BaseMapper<EmpDimissionAttend> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpDimissionAttendMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpInsurance; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpInsurance |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工社保申请实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:33 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpInsuranceMapper extends BaseMapper<EmpInsurance> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpInsuranceMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLaborTrouble; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLabortrouble |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工劳资案件实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:59 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpLaborTroubleMapper extends BaseMapper<EmpLaborTrouble> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpLaborTroubleMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLeaveInfo; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLeaveinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工请假记录实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:29 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpLeaveInfoMapper extends BaseMapper<EmpLeaveInfo> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpLeaveInfoMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpOccupational; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpOccupational |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工伤案件实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:24 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpOccupationalMapper extends BaseMapper<EmpOccupational> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpOccupationalMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpPhysicalExam; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpPhysicalexam |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工体检信息实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:19 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpPhysicalExamMapper extends BaseMapper<EmpPhysicalExam> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpPhysicalExamMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpRemarkInfo; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpRemarkinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工备注信息实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:15 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpRemarkInfoMapper extends BaseMapper<EmpRemarkInfo> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpRemarkInfoMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpResign; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpResign |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工辞职申请实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:08 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpResignMapper extends BaseMapper<EmpResign> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpResignMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.mapper; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpWorkExperience; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpWorkexperinece |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工作经历实体Mapper |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:04 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface EmpWorkExperienceMapper extends BaseMapper<EmpWorkExperience> { |
| | | |
| | | } |
| New file |
| | |
| | | <?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="cc.mrbird.febs.server.hr.mapper.EmpWorkExperienceMapper"> |
| | | |
| | | </mapper> |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpAccidentCases; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpAccidentcases |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工意外险案件服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:36:10 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpAccidentCasesService extends IService<EmpAccidentCases> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empAccidentcases empAccidentcases |
| | | * @return IPage<EmpAccidentcases> |
| | | */ |
| | | IPage<EmpAccidentCases> findEmpAccidentcasess(QueryRequest request, EmpAccidentCases empAccidentcases); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empAccidentcases empAccidentcases |
| | | * @return List<EmpAccidentcases> |
| | | */ |
| | | List<EmpAccidentCases> findEmpAccidentcasess(EmpAccidentCases empAccidentcases); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empAccidentcases empAccidentcases |
| | | */ |
| | | void createEmpAccidentcases(EmpAccidentCases empAccidentcases); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empAccidentcases empAccidentcases |
| | | */ |
| | | void updateEmpAccidentcases(EmpAccidentCases empAccidentcases); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empAccidentcases empAccidentcases |
| | | */ |
| | | void deleteEmpAccidentcases(EmpAccidentCases empAccidentcases); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBadRecord; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBadrecord |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工不良记录信息服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:55 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpBadRecordService extends IService<EmpBadRecord> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empBadrecord empBadrecord |
| | | * @return IPage<EmpBadrecord> |
| | | */ |
| | | IPage<EmpBadRecord> findEmpBadrecords(QueryRequest request, EmpBadRecord empBadrecord); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empBadrecord empBadrecord |
| | | * @return List<EmpBadrecord> |
| | | */ |
| | | List<EmpBadRecord> findEmpBadrecords(EmpBadRecord empBadrecord); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empBadrecord empBadrecord |
| | | */ |
| | | void createEmpBadrecord(EmpBadRecord empBadrecord); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empBadrecord empBadrecord |
| | | */ |
| | | void updateEmpBadrecord(EmpBadRecord empBadrecord); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empBadrecord empBadrecord |
| | | */ |
| | | void deleteEmpBadRecord(EmpBadRecord empBadrecord); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBaseinfo; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBaseinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:人员基本信息服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:50 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpBaseInfoService extends IService<EmpBaseinfo> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empBaseinfo empBaseinfo |
| | | * @return IPage<EmpBaseinfo> |
| | | */ |
| | | IPage<EmpBaseinfo> findEmpBaseinfos(QueryRequest request, EmpBaseinfo empBaseinfo); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empBaseinfo empBaseinfo |
| | | * @return List<EmpBaseinfo> |
| | | */ |
| | | List<EmpBaseinfo> findEmpBaseinfos(EmpBaseinfo empBaseinfo); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empBaseinfo empBaseinfo |
| | | */ |
| | | void createEmpBaseinfo(EmpBaseinfo empBaseinfo); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empBaseinfo empBaseinfo |
| | | */ |
| | | void updateEmpBaseinfo(EmpBaseinfo empBaseinfo); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empBaseinfo empBaseinfo |
| | | */ |
| | | void deleteEmpBaseinfo(EmpBaseinfo empBaseinfo); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpContractInfo; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpContractinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工合同信息服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:42 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpContractInfoService extends IService<EmpContractInfo> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empContractinfo empContractinfo |
| | | * @return IPage<EmpContractinfo> |
| | | */ |
| | | IPage<EmpContractInfo> findEmpContractinfos(QueryRequest request, EmpContractInfo empContractinfo); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empContractinfo empContractinfo |
| | | * @return List<EmpContractinfo> |
| | | */ |
| | | List<EmpContractInfo> findEmpContractinfos(EmpContractInfo empContractinfo); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empContractinfo empContractinfo |
| | | */ |
| | | void createEmpContractinfo(EmpContractInfo empContractinfo); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empContractinfo empContractinfo |
| | | */ |
| | | void updateEmpContractinfo(EmpContractInfo empContractinfo); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empContractinfo empContractinfo |
| | | */ |
| | | void deleteEmpContractinfo(EmpContractInfo empContractinfo); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpDimissionAttend; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpDimissionattend |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:离职当月考勤服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:38 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpDimissionAttendService extends IService<EmpDimissionAttend> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empDimissionattend empDimissionattend |
| | | * @return IPage<EmpDimissionattend> |
| | | */ |
| | | IPage<EmpDimissionAttend> findEmpDimissionattends(QueryRequest request, EmpDimissionAttend empDimissionattend); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empDimissionattend empDimissionattend |
| | | * @return List<EmpDimissionattend> |
| | | */ |
| | | List<EmpDimissionAttend> findEmpDimissionattends(EmpDimissionAttend empDimissionattend); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empDimissionattend empDimissionattend |
| | | */ |
| | | void createEmpDimissionattend(EmpDimissionAttend empDimissionattend); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empDimissionattend empDimissionattend |
| | | */ |
| | | void updateEmpDimissionattend(EmpDimissionAttend empDimissionattend); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empDimissionattend empDimissionattend |
| | | */ |
| | | void deleteEmpDimissionattend(EmpDimissionAttend empDimissionattend); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpInsurance; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpInsurance |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工社保申请服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:33 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpInsuranceService extends IService<EmpInsurance> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empInsurance empInsurance |
| | | * @return IPage<EmpInsurance> |
| | | */ |
| | | IPage<EmpInsurance> findEmpInsurances(QueryRequest request, EmpInsurance empInsurance); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empInsurance empInsurance |
| | | * @return List<EmpInsurance> |
| | | */ |
| | | List<EmpInsurance> findEmpInsurances(EmpInsurance empInsurance); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empInsurance empInsurance |
| | | */ |
| | | void createEmpInsurance(EmpInsurance empInsurance); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empInsurance empInsurance |
| | | */ |
| | | void updateEmpInsurance(EmpInsurance empInsurance); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empInsurance empInsurance |
| | | */ |
| | | void deleteEmpInsurance(EmpInsurance empInsurance); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLaborTrouble; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLabortrouble |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工劳资案件服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:59 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpLaborTroubleService extends IService<EmpLaborTrouble> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empLabortrouble empLabortrouble |
| | | * @return IPage<EmpLabortrouble> |
| | | */ |
| | | IPage<EmpLaborTrouble> findEmpLabortroubles(QueryRequest request, EmpLaborTrouble empLabortrouble); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empLabortrouble empLabortrouble |
| | | * @return List<EmpLabortrouble> |
| | | */ |
| | | List<EmpLaborTrouble> findEmpLabortroubles(EmpLaborTrouble empLabortrouble); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empLabortrouble empLabortrouble |
| | | */ |
| | | void createEmpLabortrouble(EmpLaborTrouble empLabortrouble); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empLabortrouble empLabortrouble |
| | | */ |
| | | void updateEmpLabortrouble(EmpLaborTrouble empLabortrouble); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empLabortrouble empLabortrouble |
| | | */ |
| | | void deleteEmpLabortrouble(EmpLaborTrouble empLabortrouble); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLeaveInfo; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLeaveinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工请假记录服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:29 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpLeaveInfoService extends IService<EmpLeaveInfo> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empLeaveinfo empLeaveinfo |
| | | * @return IPage<EmpLeaveinfo> |
| | | */ |
| | | IPage<EmpLeaveInfo> findEmpLeaveinfos(QueryRequest request, EmpLeaveInfo empLeaveinfo); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empLeaveinfo empLeaveinfo |
| | | * @return List<EmpLeaveinfo> |
| | | */ |
| | | List<EmpLeaveInfo> findEmpLeaveinfos(EmpLeaveInfo empLeaveinfo); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empLeaveinfo empLeaveinfo |
| | | */ |
| | | void createEmpLeaveinfo(EmpLeaveInfo empLeaveinfo); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empLeaveinfo empLeaveinfo |
| | | */ |
| | | void updateEmpLeaveinfo(EmpLeaveInfo empLeaveinfo); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empLeaveinfo empLeaveinfo |
| | | */ |
| | | void deleteEmpLeaveinfo(EmpLeaveInfo empLeaveinfo); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpOccupational; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpOccupational |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工伤案件服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:24 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpOccupationalService extends IService<EmpOccupational> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empOccupational empOccupational |
| | | * @return IPage<EmpOccupational> |
| | | */ |
| | | IPage<EmpOccupational> findEmpOccupationals(QueryRequest request, EmpOccupational empOccupational); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empOccupational empOccupational |
| | | * @return List<EmpOccupational> |
| | | */ |
| | | List<EmpOccupational> findEmpOccupationals(EmpOccupational empOccupational); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empOccupational empOccupational |
| | | */ |
| | | void createEmpOccupational(EmpOccupational empOccupational); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empOccupational empOccupational |
| | | */ |
| | | void updateEmpOccupational(EmpOccupational empOccupational); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empOccupational empOccupational |
| | | */ |
| | | void deleteEmpOccupational(EmpOccupational empOccupational); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpPhysicalExam; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpPhysicalexam |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工体检信息服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:19 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpPhysicalExamService extends IService<EmpPhysicalExam> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empPhysicalexam empPhysicalexam |
| | | * @return IPage<EmpPhysicalexam> |
| | | */ |
| | | IPage<EmpPhysicalExam> findEmpPhysicalexams(QueryRequest request, EmpPhysicalExam empPhysicalexam); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empPhysicalexam empPhysicalexam |
| | | * @return List<EmpPhysicalexam> |
| | | */ |
| | | List<EmpPhysicalExam> findEmpPhysicalexams(EmpPhysicalExam empPhysicalexam); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empPhysicalexam empPhysicalexam |
| | | */ |
| | | void createEmpPhysicalexam(EmpPhysicalExam empPhysicalexam); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empPhysicalexam empPhysicalexam |
| | | */ |
| | | void updateEmpPhysicalexam(EmpPhysicalExam empPhysicalexam); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empPhysicalexam empPhysicalexam |
| | | */ |
| | | void deleteEmpPhysicalexam(EmpPhysicalExam empPhysicalexam); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpRemarkInfo; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpRemarkinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工备注信息服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:15 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpRemarkInfoService extends IService<EmpRemarkInfo> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empRemarkinfo empRemarkinfo |
| | | * @return IPage<EmpRemarkinfo> |
| | | */ |
| | | IPage<EmpRemarkInfo> findEmpRemarkinfos(QueryRequest request, EmpRemarkInfo empRemarkinfo); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empRemarkinfo empRemarkinfo |
| | | * @return List<EmpRemarkinfo> |
| | | */ |
| | | List<EmpRemarkInfo> findEmpRemarkinfos(EmpRemarkInfo empRemarkinfo); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empRemarkinfo empRemarkinfo |
| | | */ |
| | | void createEmpRemarkinfo(EmpRemarkInfo empRemarkinfo); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empRemarkinfo empRemarkinfo |
| | | */ |
| | | void updateEmpRemarkinfo(EmpRemarkInfo empRemarkinfo); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empRemarkinfo empRemarkinfo |
| | | */ |
| | | void deleteEmpRemarkinfo(EmpRemarkInfo empRemarkinfo); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpResign; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpResign |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工辞职申请服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:08 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpResignService extends IService<EmpResign> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empResign empResign |
| | | * @return IPage<EmpResign> |
| | | */ |
| | | IPage<EmpResign> findEmpResigns(QueryRequest request, EmpResign empResign); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empResign empResign |
| | | * @return List<EmpResign> |
| | | */ |
| | | List<EmpResign> findEmpResigns(EmpResign empResign); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empResign empResign |
| | | */ |
| | | void createEmpResign(EmpResign empResign); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empResign empResign |
| | | */ |
| | | void updateEmpResign(EmpResign empResign); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empResign empResign |
| | | */ |
| | | void deleteEmpResign(EmpResign empResign); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpWorkExperience; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpWorkexperinece |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工作经历服务接口 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:04 |
| | | * @since JDK1.8 |
| | | */ |
| | | public interface IEmpWorkExperienceService extends IService<EmpWorkExperience> { |
| | | /** |
| | | * 查询(分页) |
| | | * |
| | | * @param request QueryRequest |
| | | * @param empWorkexperinece empWorkexperinece |
| | | * @return IPage<EmpWorkexperinece> |
| | | */ |
| | | IPage<EmpWorkExperience> findEmpWorkexperineces(QueryRequest request, EmpWorkExperience empWorkexperinece); |
| | | |
| | | /** |
| | | * 查询(所有) |
| | | * |
| | | * @param empWorkexperinece empWorkexperinece |
| | | * @return List<EmpWorkexperinece> |
| | | */ |
| | | List<EmpWorkExperience> findEmpWorkexperineces(EmpWorkExperience empWorkexperinece); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param empWorkexperinece empWorkexperinece |
| | | */ |
| | | void createEmpWorkexperinece(EmpWorkExperience empWorkexperinece); |
| | | |
| | | /** |
| | | * 修改 |
| | | * |
| | | * @param empWorkexperinece empWorkexperinece |
| | | */ |
| | | void updateEmpWorkexperinece(EmpWorkExperience empWorkexperinece); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param empWorkexperinece empWorkexperinece |
| | | */ |
| | | void deleteEmpWorkexperinece(EmpWorkExperience empWorkexperinece); |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpAccidentCases; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpAccidentCasesMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpAccidentCasesService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpAccidentcases |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工意外险案件服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:36:10 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpAccidentCasesServiceImpl extends ServiceImpl |
| | | <EmpAccidentCasesMapper, EmpAccidentCases> implements IEmpAccidentCasesService { |
| | | |
| | | private final EmpAccidentCasesMapper empAccidentcasesMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpAccidentCases> findEmpAccidentcasess(QueryRequest request, EmpAccidentCases empAccidentcases) { |
| | | LambdaQueryWrapper<EmpAccidentCases> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpAccidentCases> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpAccidentCases> findEmpAccidentcasess(EmpAccidentCases empAccidentcases) { |
| | | LambdaQueryWrapper<EmpAccidentCases> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpAccidentcases(EmpAccidentCases empAccidentcases) { |
| | | this.save(empAccidentcases); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpAccidentcases(EmpAccidentCases empAccidentcases) { |
| | | this.saveOrUpdate(empAccidentcases); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpAccidentcases(EmpAccidentCases empAccidentcases) { |
| | | LambdaQueryWrapper<EmpAccidentCases> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBadRecord; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpBadRecordMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpBadRecordService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBadrecord |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工不良记录信息服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:55 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpBadRecordServiceImpl extends ServiceImpl |
| | | <EmpBadRecordMapper, EmpBadRecord> implements IEmpBadRecordService { |
| | | |
| | | private final EmpBadRecordMapper empBadrecordMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpBadRecord> findEmpBadrecords(QueryRequest request, EmpBadRecord empBadrecord) { |
| | | LambdaQueryWrapper<EmpBadRecord> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpBadRecord> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpBadRecord> findEmpBadrecords(EmpBadRecord empBadrecord) { |
| | | LambdaQueryWrapper<EmpBadRecord> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpBadrecord(EmpBadRecord empBadrecord) { |
| | | this.save(empBadrecord); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpBadrecord(EmpBadRecord empBadrecord) { |
| | | this.saveOrUpdate(empBadrecord); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpBadRecord(EmpBadRecord empBadrecord) { |
| | | LambdaQueryWrapper<EmpBadRecord> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpBaseinfo; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpBaseInfoMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpBaseInfoService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpBaseinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:人员基本信息服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:50 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpBaseInfoServiceImpl extends ServiceImpl |
| | | <EmpBaseInfoMapper, EmpBaseinfo> implements IEmpBaseInfoService { |
| | | |
| | | private final EmpBaseInfoMapper empBaseinfoMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpBaseinfo> findEmpBaseinfos(QueryRequest request, EmpBaseinfo empBaseinfo) { |
| | | LambdaQueryWrapper<EmpBaseinfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpBaseinfo> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpBaseinfo> findEmpBaseinfos(EmpBaseinfo empBaseinfo) { |
| | | LambdaQueryWrapper<EmpBaseinfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpBaseinfo(EmpBaseinfo empBaseinfo) { |
| | | this.save(empBaseinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpBaseinfo(EmpBaseinfo empBaseinfo) { |
| | | this.saveOrUpdate(empBaseinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpBaseinfo(EmpBaseinfo empBaseinfo) { |
| | | LambdaQueryWrapper<EmpBaseinfo> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpContractInfo; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpContractInfoMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpContractInfoService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpContractinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工合同信息服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:42 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpContractInfoServiceImpl extends ServiceImpl |
| | | <EmpContractInfoMapper, EmpContractInfo> implements IEmpContractInfoService { |
| | | |
| | | private final EmpContractInfoMapper empContractinfoMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpContractInfo> findEmpContractinfos(QueryRequest request, EmpContractInfo empContractinfo) { |
| | | LambdaQueryWrapper<EmpContractInfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpContractInfo> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpContractInfo> findEmpContractinfos(EmpContractInfo empContractinfo) { |
| | | LambdaQueryWrapper<EmpContractInfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpContractinfo(EmpContractInfo empContractinfo) { |
| | | this.save(empContractinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpContractinfo(EmpContractInfo empContractinfo) { |
| | | this.saveOrUpdate(empContractinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpContractinfo(EmpContractInfo empContractinfo) { |
| | | LambdaQueryWrapper<EmpContractInfo> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpDimissionAttend; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpDimissionAttendMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpDimissionAttendService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpDimissionattend |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:离职当月考勤服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:38 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpDimissionAttendServiceImpl extends ServiceImpl |
| | | <EmpDimissionAttendMapper, EmpDimissionAttend> implements IEmpDimissionAttendService { |
| | | |
| | | private final EmpDimissionAttendMapper empDimissionattendMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpDimissionAttend> findEmpDimissionattends(QueryRequest request, EmpDimissionAttend empDimissionattend) { |
| | | LambdaQueryWrapper<EmpDimissionAttend> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpDimissionAttend> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpDimissionAttend> findEmpDimissionattends(EmpDimissionAttend empDimissionattend) { |
| | | LambdaQueryWrapper<EmpDimissionAttend> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpDimissionattend(EmpDimissionAttend empDimissionattend) { |
| | | this.save(empDimissionattend); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpDimissionattend(EmpDimissionAttend empDimissionattend) { |
| | | this.saveOrUpdate(empDimissionattend); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpDimissionattend(EmpDimissionAttend empDimissionattend) { |
| | | LambdaQueryWrapper<EmpDimissionAttend> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpInsurance; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpInsuranceMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpInsuranceService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpInsurance |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工社保申请服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:33 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpInsuranceServiceImpl extends ServiceImpl |
| | | <EmpInsuranceMapper, EmpInsurance> implements IEmpInsuranceService { |
| | | |
| | | private final EmpInsuranceMapper empInsuranceMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpInsurance> findEmpInsurances(QueryRequest request, EmpInsurance empInsurance) { |
| | | LambdaQueryWrapper<EmpInsurance> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpInsurance> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpInsurance> findEmpInsurances(EmpInsurance empInsurance) { |
| | | LambdaQueryWrapper<EmpInsurance> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpInsurance(EmpInsurance empInsurance) { |
| | | this.save(empInsurance); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpInsurance(EmpInsurance empInsurance) { |
| | | this.saveOrUpdate(empInsurance); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpInsurance(EmpInsurance empInsurance) { |
| | | LambdaQueryWrapper<EmpInsurance> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLaborTrouble; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpLaborTroubleMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpLaborTroubleService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLabortrouble |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工劳资案件服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:59 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpLaborTroubleServiceImpl extends ServiceImpl |
| | | <EmpLaborTroubleMapper, EmpLaborTrouble> implements IEmpLaborTroubleService { |
| | | |
| | | private final EmpLaborTroubleMapper empLabortroubleMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpLaborTrouble> findEmpLabortroubles(QueryRequest request, EmpLaborTrouble empLabortrouble) { |
| | | LambdaQueryWrapper<EmpLaborTrouble> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpLaborTrouble> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpLaborTrouble> findEmpLabortroubles(EmpLaborTrouble empLabortrouble) { |
| | | LambdaQueryWrapper<EmpLaborTrouble> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpLabortrouble(EmpLaborTrouble empLabortrouble) { |
| | | this.save(empLabortrouble); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpLabortrouble(EmpLaborTrouble empLabortrouble) { |
| | | this.saveOrUpdate(empLabortrouble); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpLabortrouble(EmpLaborTrouble empLabortrouble) { |
| | | LambdaQueryWrapper<EmpLaborTrouble> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpLeaveInfo; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpLeaveInfoMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpLeaveInfoService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpLeaveinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工请假记录服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:29 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpLeaveInfoServiceImpl extends ServiceImpl |
| | | <EmpLeaveInfoMapper, EmpLeaveInfo> implements IEmpLeaveInfoService { |
| | | |
| | | private final EmpLeaveInfoMapper empLeaveinfoMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpLeaveInfo> findEmpLeaveinfos(QueryRequest request, EmpLeaveInfo empLeaveinfo) { |
| | | LambdaQueryWrapper<EmpLeaveInfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpLeaveInfo> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpLeaveInfo> findEmpLeaveinfos(EmpLeaveInfo empLeaveinfo) { |
| | | LambdaQueryWrapper<EmpLeaveInfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpLeaveinfo(EmpLeaveInfo empLeaveinfo) { |
| | | this.save(empLeaveinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpLeaveinfo(EmpLeaveInfo empLeaveinfo) { |
| | | this.saveOrUpdate(empLeaveinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpLeaveinfo(EmpLeaveInfo empLeaveinfo) { |
| | | LambdaQueryWrapper<EmpLeaveInfo> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpOccupational; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpOccupationalMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpOccupationalService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpOccupational |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工伤案件服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:24 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpOccupationalServiceImpl extends ServiceImpl |
| | | <EmpOccupationalMapper, EmpOccupational> implements IEmpOccupationalService { |
| | | |
| | | private final EmpOccupationalMapper empOccupationalMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpOccupational> findEmpOccupationals(QueryRequest request, EmpOccupational empOccupational) { |
| | | LambdaQueryWrapper<EmpOccupational> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpOccupational> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpOccupational> findEmpOccupationals(EmpOccupational empOccupational) { |
| | | LambdaQueryWrapper<EmpOccupational> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpOccupational(EmpOccupational empOccupational) { |
| | | this.save(empOccupational); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpOccupational(EmpOccupational empOccupational) { |
| | | this.saveOrUpdate(empOccupational); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpOccupational(EmpOccupational empOccupational) { |
| | | LambdaQueryWrapper<EmpOccupational> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpPhysicalExam; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpPhysicalExamMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpPhysicalExamService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpPhysicalexam |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工体检信息服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:19 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpPhysicalExamServiceImpl extends ServiceImpl |
| | | <EmpPhysicalExamMapper, EmpPhysicalExam> implements IEmpPhysicalExamService { |
| | | |
| | | private final EmpPhysicalExamMapper empPhysicalexamMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpPhysicalExam> findEmpPhysicalexams(QueryRequest request, EmpPhysicalExam empPhysicalexam) { |
| | | LambdaQueryWrapper<EmpPhysicalExam> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpPhysicalExam> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpPhysicalExam> findEmpPhysicalexams(EmpPhysicalExam empPhysicalexam) { |
| | | LambdaQueryWrapper<EmpPhysicalExam> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpPhysicalexam(EmpPhysicalExam empPhysicalexam) { |
| | | this.save(empPhysicalexam); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpPhysicalexam(EmpPhysicalExam empPhysicalexam) { |
| | | this.saveOrUpdate(empPhysicalexam); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpPhysicalexam(EmpPhysicalExam empPhysicalexam) { |
| | | LambdaQueryWrapper<EmpPhysicalExam> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpRemarkInfo; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpRemarkInfoMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpRemarkInfoService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpRemarkinfo |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工备注信息服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:15 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpRemarkInfoServiceImpl extends ServiceImpl |
| | | <EmpRemarkInfoMapper, EmpRemarkInfo> implements IEmpRemarkInfoService { |
| | | |
| | | private final EmpRemarkInfoMapper empRemarkinfoMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpRemarkInfo> findEmpRemarkinfos(QueryRequest request, EmpRemarkInfo empRemarkinfo) { |
| | | LambdaQueryWrapper<EmpRemarkInfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpRemarkInfo> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpRemarkInfo> findEmpRemarkinfos(EmpRemarkInfo empRemarkinfo) { |
| | | LambdaQueryWrapper<EmpRemarkInfo> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpRemarkinfo(EmpRemarkInfo empRemarkinfo) { |
| | | this.save(empRemarkinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpRemarkinfo(EmpRemarkInfo empRemarkinfo) { |
| | | this.saveOrUpdate(empRemarkinfo); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpRemarkinfo(EmpRemarkInfo empRemarkinfo) { |
| | | LambdaQueryWrapper<EmpRemarkInfo> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpResign; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpResignMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpResignService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpResign |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工辞职申请服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:08 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpResignServiceImpl extends ServiceImpl |
| | | <EmpResignMapper, EmpResign> implements IEmpResignService { |
| | | |
| | | private final EmpResignMapper empResignMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpResign> findEmpResigns(QueryRequest request, EmpResign empResign) { |
| | | LambdaQueryWrapper<EmpResign> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpResign> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpResign> findEmpResigns(EmpResign empResign) { |
| | | LambdaQueryWrapper<EmpResign> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpResign(EmpResign empResign) { |
| | | this.save(empResign); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpResign(EmpResign empResign) { |
| | | this.saveOrUpdate(empResign); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpResign(EmpResign empResign) { |
| | | LambdaQueryWrapper<EmpResign> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |
| New file |
| | |
| | | package cc.mrbird.febs.server.hr.service.impl; |
| | | |
| | | import cc.mrbird.febs.server.hr.entity.EmpWorkExperience; |
| | | import cc.mrbird.febs.server.hr.mapper.EmpWorkExperienceMapper; |
| | | import cc.mrbird.febs.server.hr.service.IEmpWorkExperienceService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.annotation.Propagation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import cc.mrbird.febs.common.core.entity.QueryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | | * name:EmpWorkexperinece |
| | | * package:cc.mrbird.febs.server.hr.controller |
| | | * description:员工工作经历服务接口实现 |
| | | * |
| | | * @author luoyibo |
| | | * @date 2021-01-24 20:35:04 |
| | | * @since JDK1.8 |
| | | */ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) |
| | | public class EmpWorkExperienceServiceImpl extends ServiceImpl |
| | | <EmpWorkExperienceMapper, EmpWorkExperience> implements IEmpWorkExperienceService { |
| | | |
| | | private final EmpWorkExperienceMapper empWorkExperienceMapper; |
| | | |
| | | @Override |
| | | public IPage<EmpWorkExperience> findEmpWorkexperineces(QueryRequest request, EmpWorkExperience empWorkexperinece) { |
| | | LambdaQueryWrapper<EmpWorkExperience> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | Page<EmpWorkExperience> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | return this.page(page, queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EmpWorkExperience> findEmpWorkexperineces(EmpWorkExperience empWorkexperinece) { |
| | | LambdaQueryWrapper<EmpWorkExperience> queryWrapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置查询条件 |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void createEmpWorkexperinece(EmpWorkExperience empWorkexperinece) { |
| | | this.save(empWorkexperinece); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateEmpWorkexperinece(EmpWorkExperience empWorkexperinece) { |
| | | this.saveOrUpdate(empWorkexperinece); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void deleteEmpWorkexperinece(EmpWorkExperience empWorkexperinece) { |
| | | LambdaQueryWrapper<EmpWorkExperience> wapper = new LambdaQueryWrapper<>(); |
| | | // TODO 设置删除条件 |
| | | this.remove(wapper); |
| | | } |
| | | } |