| New file |
| | |
| | | package cc.mrbird.febs.server.hr.annotation; |
| | | |
| | | import java.lang.annotation.ElementType; |
| | | import java.lang.annotation.Retention; |
| | | import java.lang.annotation.RetentionPolicy; |
| | | import java.lang.annotation.Target; |
| | | |
| | | /** |
| | | * @author MrBird |
| | | */ |
| | | @Target(ElementType.METHOD) |
| | | @Retention(RetentionPolicy.RUNTIME) |
| | | public @interface ControllerEndpoint { |
| | | |
| | | String operation() default ""; |
| | | |
| | | String exceptionMessage() default "FEBS系统内部异常"; |
| | | } |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpAccidentCases; |
| | | import cc.mrbird.febs.server.hr.entity.EmpBaseInfo; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empAccidentCasesService.findEmpAccidentcasess(request, empAccidentcases)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpAccidentCases empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpAccidentCases> records = this.empAccidentCasesService.findEmpAccidentcasess(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpAccidentCases.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empAccidentcases:add')") |
| | | public void addEmpAccidentCases(@Valid EmpAccidentCases empAccidentcases) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpAccidentCases; |
| | | import cc.mrbird.febs.server.hr.entity.EmpBadRecord; |
| | | import cc.mrbird.febs.server.hr.entity.EmpBaseInfo; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empBadrecordService.findEmpBadrecords(request, empBadrecord)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpBadRecord empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpBadRecord> records = this.empBadrecordService.findEmpBadrecords(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpBadRecord.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empBadrecord:add')") |
| | | public void addEmpBadrecord(@Valid EmpBadRecord empBadrecord) throws FebsException { |
| | |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.system.SystemUser; |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import com.wuwenze.poi.ExcelKit; |
| | | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import cc.mrbird.febs.common.core.entity.FebsResponse; |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "导出员工") |
| | | @PostMapping("export") |
| | | public void export(QueryRequest request, HttpServletResponse response, String exportField) throws IOException { |
| | | EmpBaseInfo empBaseinfo = new EmpBaseInfo(); |
| | | empBaseinfo.setDelFlag(0); |
| | | List<EmpBaseInfo> exportList = empBaseInfoService.findEmpBaseInfos(empBaseinfo); |
| | | List<Map<String, Object>> listMapDicItem = new ArrayList(); |
| | | List<Map<String, Object>> allList = PoiExportExcel.getDataList(exportField, exportList, listMapDicItem); |
| | | String fileName = "在职员工列表"; |
| | | Date currentDate = new Date(); |
| | | String dateStr = DateUtil.formatDate(currentDate); |
| | | boolean result = PoiExportExcel.exportCommonExcel(response, fileName + dateStr, fileName, allList); |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpBaseInfo empBaseinfo, HttpServletResponse response) throws IOException { |
| | | |
| | | List<EmpBaseInfo> records = this.empBaseInfoService.findZsEmpBaseInfos(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpBaseInfo.class, response).downXlsx(records, false); |
| | | } |
| | | |
| | | @ApiOperation(value = "导入员工") |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpAccidentCases; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empContractinfoService.findEmpContractinfos(request, empContractinfo)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpContractInfo empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpContractInfo> records = this.empContractinfoService.findEmpContractinfos(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpContractInfo.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empContractinfo:add')") |
| | | public void addEmpContractinfo(@Valid EmpContractInfo empContractinfo) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpContractInfo; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empDimissionattendService.findEmpDimissionattends(request, empDimissionattend)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpDimissionAttend empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpDimissionAttend> records = this.empDimissionattendService.findEmpDimissionattends(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpDimissionAttend.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empDimissionattend:add')") |
| | | public void addEmpDimissionattend(@Valid EmpDimissionAttend empDimissionattend) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpDimissionAttend; |
| | | import cc.mrbird.febs.server.hr.entity.EmpDimissionLog; |
| | | import cc.mrbird.febs.server.hr.service.IEmpDimissionLogService; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | <String, Object> dataTable = FebsUtil.getDataTable(this.empDimissionlogService.findEmpDimissionLogs(request, empDimissionlog)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpDimissionLog empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpDimissionLog> records = this.empDimissionlogService.findEmpDimissionLogs(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpDimissionLog.class, response).downXlsx(records, false); |
| | | } |
| | | @ApiOperation(value = "员工离职记录增加") |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empDimissionlog:add')") |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpDimissionLog; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empInsuranceService.findEmpInsurances(request, empInsurance)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpInsurance empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpInsurance> records = this.empInsuranceService.findEmpInsurances(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpInsurance.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empInsurance:add')") |
| | | public void addEmpInsurance(@Valid EmpInsurance empInsurance) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpInsurance; |
| | | import cc.mrbird.febs.server.hr.entity.EmpJobChange; |
| | | import cc.mrbird.febs.server.hr.service.IEmpJobChangeService; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | <String, Object> dataTable = FebsUtil.getDataTable(this.empJobchangeService.findEmpJobChanges(request, empJobchange)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpJobChange empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpJobChange> records = this.empJobchangeService.findEmpJobChanges(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpJobChange.class, response).downXlsx(records, false); |
| | | } |
| | | @ApiOperation(value = "员工调岗记录增加") |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empJobchange:add')") |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpJobChange; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empLabortroubleService.findEmpLabortroubles(request, empLabortrouble)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpLaborTrouble empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpLaborTrouble> records = this.empLabortroubleService.findEmpLabortroubles(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpLaborTrouble.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empLabortrouble:add')") |
| | | public void addEmpLabortrouble(@Valid EmpLaborTrouble empLabortrouble) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpLaborTrouble; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empLeaveinfoService.findEmpLeaveInfos(request, empLeaveinfo)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpLeaveInfo empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpLeaveInfo> records = this.empLeaveinfoService.findEmpLeaveInfos(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpLeaveInfo.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empLeaveinfo:add')") |
| | | public void addEmpLeaveinfo(@Valid EmpLeaveInfo empLeaveinfo) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpLeaveInfo; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empOccupationalService.findEmpOccupationals(request, empOccupational)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpOccupational empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpOccupational> records = this.empOccupationalService.findEmpOccupationals(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpOccupational.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empOccupational:add')") |
| | | public void addEmpOccupational(@Valid EmpOccupational empOccupational) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpOccupational; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empPhysicalExamService.findEmpPhysicalExams(request, empPhysicalexam)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpPhysicalExam empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpPhysicalExam> records = this.empPhysicalExamService.findEmpPhysicalExams(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpPhysicalExam.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empPhysicalexam:add')") |
| | | public void addEmpPhysicalExam(@Valid EmpPhysicalExam empPhysicalexam) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpPhysicalExam; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empRemarkinfoService.findEmpRemarkinfos(request, empRemarkinfo)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpRemarkInfo empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpRemarkInfo> records = this.empRemarkinfoService.findEmpRemarkinfos(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpRemarkInfo.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empRemarkinfo:add')") |
| | | public void addEmpRemarkinfo(@Valid EmpRemarkInfo empRemarkinfo) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpRemarkInfo; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empResignService.findEmpResigns(request, empResign)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpResign empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpResign> records = this.empResignService.findEmpResigns(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpResign.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empResign:add')") |
| | | public void addEmpResign(@Valid EmpResign empResign) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpResign; |
| | | import cc.mrbird.febs.server.hr.entity.EmpUnemployment; |
| | | import cc.mrbird.febs.server.hr.service.IEmpUnemploymentService; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empUnemploymentService.findEmpUnemployments(request, empUnemployment)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpUnemployment empBaseinfo, HttpServletResponse response) { |
| | | |
| | | List<EmpUnemployment> records = this.empUnemploymentService.findEmpUnemployments(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpUnemployment.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empUnemployment:add')") |
| | | public void addEmpUnemployment(@Valid EmpUnemployment empUnemployment) throws FebsException { |
| | |
| | | package cc.mrbird.febs.server.hr.controller; |
| | | |
| | | import cc.mrbird.febs.server.hr.annotation.ControllerEndpoint; |
| | | import cc.mrbird.febs.server.hr.entity.EmpUnemployment; |
| | | 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 com.wuwenze.poi.ExcelKit; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.empWorkExperienceService.findEmpWorkExperiences(request, empWorkexperience)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出员工") |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpWorkExperience empBaseinfo, HttpServletResponse response) { |
| | | empBaseinfo.setDelFlag(0); |
| | | List<EmpWorkExperience> records = this.empWorkExperienceService.findEmpWorkExperiences(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpWorkExperience.class, response).downXlsx(records, false); |
| | | } |
| | | @PostMapping |
| | | @PreAuthorize("hasAuthority('empWorkexperience:add')") |
| | | public void addEmpWorkExperience(@Valid EmpWorkExperience empWorkexperience) throws FebsException { |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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 java.math.BigDecimal; |
| | | |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_accidentcases") |
| | | @Excel("员工意外险案件") |
| | | public class EmpAccidentCases implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 3423747469056866015L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "injuredTime", type = "datetime", explain = "受伤时间") |
| | |
| | | @JsonSerialize(using = DateTimeSerializer.class) |
| | | @JsonDeserialize(using = DateTimeDeserializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ExcelField(value = "受伤时间", writeConverter = TimeConverter.class) |
| | | private Date injuredTime; |
| | | |
| | | @FieldInfo(name = "injuredAddress", type = "varchar", explain = "受伤地点") |
| | | @TableField("injuredAddress") |
| | | @ExcelField(value = "受伤地点") |
| | | private String injuredAddress = ""; |
| | | |
| | | @FieldInfo(name = "injuredPart", type = "varchar", explain = "受伤部位") |
| | | @TableField("injuredPart") |
| | | @ExcelField(value = "受伤部位") |
| | | private String injuredPart = ""; |
| | | |
| | | @FieldInfo(name = "injuredDiacrisis", type = "varchar", explain = "意外险诊断") |
| | | @TableField("injuredDiacrisis") |
| | | @ExcelField(value = "意外险诊断") |
| | | private String injuredDiacrisis = ""; |
| | | |
| | | @FieldInfo(name = "injuredDescribe", type = "varchar", explain = "受伤经过描述") |
| | | @TableField("injuredDescribe") |
| | | @ExcelField(value = "受伤经过描述") |
| | | private String injuredDescribe = ""; |
| | | |
| | | @FieldInfo(name = "hospitalName", type = "varchar", explain = "就诊医院") |
| | | @TableField("hospitalName") |
| | | @ExcelField(value = "就诊医院") |
| | | private String hospitalName = ""; |
| | | |
| | | @FieldInfo(name = "treatmentName", type = "varchar", explain = "就诊科室") |
| | | @TableField("treatmentName") |
| | | @ExcelField(value = "就诊科室") |
| | | private String treatmentName = ""; |
| | | |
| | | @FieldInfo(name = "hospitalizatioFlag", type = "bit", explain = "是否住院") |
| | | @TableField("hospitalizatioFlag") |
| | | @ExcelField(value = "是否住院", writeConverterExp = "0=未住院,1=已住院") |
| | | private Integer hospitalizatioFlag = 0; |
| | | |
| | | @FieldInfo(name = "bedNumb", type = "tinyint", explain = "床号") |
| | | @TableField("bedNumb") |
| | | @ExcelField(value = "床号") |
| | | private Integer bedNumb = 0; |
| | | |
| | | @FieldInfo(name = "reprotTime", type = "date", explain = "报案时间") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "报案时间", writeConverter = TimeConverter.class) |
| | | private Date reprotTime; |
| | | |
| | | @FieldInfo(name = "submitTime", type = "datetime", explain = "资料提交日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "资料提交日期", writeConverter = TimeConverter.class) |
| | | private Date submitTime; |
| | | |
| | | @FieldInfo(name = "sbumitBy", type = "varchar", explain = "递交人") |
| | | @TableField("sbumitBy") |
| | | @ExcelField(value = "递交人") |
| | | private String sbumitBy = ""; |
| | | |
| | | @FieldInfo(name = "expensesFee", type = "decimal", explain = "医疗总费用") |
| | | @TableField("expensesFee") |
| | | @ExcelField(value = "医疗总费用") |
| | | private BigDecimal expensesFee = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "expenseReport", type = "varchar", explain = "报单号") |
| | | @TableField("expenseReport") |
| | | @ExcelField(value = "报单号") |
| | | private String expenseReport = ""; |
| | | |
| | | @FieldInfo(name = "innsureFee", type = "decimal", explain = "保险赔付费用") |
| | | @TableField("innsureFee") |
| | | @ExcelField(value = "保险赔付费用") |
| | | private BigDecimal innsureFee = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "hrDoDate", type = "date", explain = "人事处理时间") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "人事处理时间", writeConverter = TimeConverter.class) |
| | | private Date hrDoDate; |
| | | |
| | | @FieldInfo(name = "settleDate", type = "date", explain = "案结日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "案结日期", writeConverter = TimeConverter.class) |
| | | private Date settleDate; |
| | | |
| | | @FieldInfo(name = "settleStatus", type = "bit", explain = "结案状态 0-未结案 1-已结案") |
| | | @TableField("settleStatus") |
| | | @ExcelField(value = "结案状态", writeConverterExp = "0=未结案,1=已结案") |
| | | private Integer settleStatus = 0; |
| | | |
| | | @FieldInfo(name = "remark", type = "varchar", explain = "备注") |
| | | @TableField("remark") |
| | | @ExcelField(value = "备注") |
| | | private String remark = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_badrecord") |
| | | @Excel("员工不良记录") |
| | | public class EmpBadRecord implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 3681849796837950530L; |
| | |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "badDate", type = "date", explain = "不良记录日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "不良记录日期", writeConverter = TimeConverter.class) |
| | | private Date badDate; |
| | | |
| | | @FieldInfo(name = "reporter", type = "varchar", explain = "报备人") |
| | | @TableField("reporter") |
| | | @ExcelField(value = "报备人") |
| | | private String reporter = ""; |
| | | |
| | | @FieldInfo(name = "badContent", type = "varchar", explain = "不良记录描述") |
| | | @TableField("badContent") |
| | | @ExcelField(value = "不良记录描述") |
| | | private String badContent = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_baseInfo") |
| | | @Excel("员工基本信息表") |
| | | public class EmpBaseInfo implements Serializable { |
| | | |
| | | @FieldInfo(name = "empId", type = "bigint", explain = "员工Id") |
| | |
| | | |
| | | @FieldInfo(name = "archivesNumb", type = "varchar", explain = "档案号") |
| | | @TableField("archivesNumb") |
| | | @ExcelField(value = "档案号") |
| | | private String archivesNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "护卫点(部门)") |
| | | private String deptName = ""; |
| | | |
| | | @NotBlank(message = "{required}") |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @NotBlank(message = "{required}") |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @NotBlank(message = "{required}") |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "sexName", type = "varchar", explain = "性别") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @NotBlank(message = "{required}") |
| | | @FieldInfo(name = "empType", type = "varchar", explain = "员工类别,员工类别字典表") |
| | | @TableField("empType") |
| | | @ExcelField(value = "员工类别", writeConverterExp = "1=正式工,2=临时工") |
| | | private String empType = ""; |
| | | |
| | | @FieldInfo(name = "empTypeName", type = "varchar", explain = "员工类别,员工类别字典表") |
| | |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "nation", type = "varchar", explain = "民族") |
| | |
| | | |
| | | @FieldInfo(name = "nationName", type = "varchar", explain = "民族") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "民族") |
| | | private String nationName = ""; |
| | | |
| | | @FieldInfo(name = "certificateValidity", type = "date", explain = "证件有效期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "证件有效期", writeConverter = TimeConverter.class) |
| | | private Date certificateValidity; |
| | | |
| | | @FieldInfo(name = "marriage", type = "varchar", explain = "婚姻状况") |
| | |
| | | |
| | | @FieldInfo(name = "marriageName", type = "varchar", explain = "婚姻状况") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "婚姻状况") |
| | | private String marriageName = ""; |
| | | |
| | | @FieldInfo(name = "age", type = "tinyint", explain = "年龄") |
| | | @TableField("age") |
| | | @ExcelField(value = "年龄") |
| | | private Integer age = 0; |
| | | |
| | | @FieldInfo(name = "stature", type = "smallint", explain = "身高") |
| | | @TableField("stature") |
| | | @ExcelField(value = "身高") |
| | | private Integer stature = 0; |
| | | |
| | | @FieldInfo(name = "birthdate", type = "date", explain = "出生日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "出生日期", writeConverter = TimeConverter.class) |
| | | private Date birthdate; |
| | | |
| | | @FieldInfo(name = "politics", type = "varchar", explain = "政治面貌") |
| | |
| | | |
| | | @FieldInfo(name = "politicsName", type = "varchar", explain = "政治面貌") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "政治面貌") |
| | | private String politicsName = ""; |
| | | |
| | | @FieldInfo(name = "entryDate", type = "date", explain = "入职日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "入职日期", writeConverter = TimeConverter.class) |
| | | private Date entryDate; |
| | | |
| | | @FieldInfo(name = "dimissionDate", type = "date", explain = "离职日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "离职日期", writeConverter = TimeConverter.class) |
| | | private Date dimissionDate; |
| | | |
| | | @FieldInfo(name = "education", type = "varchar", explain = "最高学历") |
| | |
| | | |
| | | @FieldInfo(name = "educationName", type = "varchar", explain = "最高学历") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "最高学历") |
| | | private String educationName = ""; |
| | | |
| | | @FieldInfo(name = "seniority", type = "tinyint", explain = "入司工龄") |
| | | @TableField("seniority") |
| | | @ExcelField(value = "入司工龄") |
| | | private Integer seniority = 0; |
| | | |
| | | @FieldInfo(name = "nativePlace", type = "varchar", explain = "籍贯") |
| | |
| | | |
| | | @FieldInfo(name = "nativePlaceName", type = "varchar", explain = "籍贯") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "籍贯") |
| | | private String nativePlaceName = ""; |
| | | |
| | | @FieldInfo(name = "censusAddress", type = "varchar", explain = "户籍地址") |
| | | @TableField("censusAddress") |
| | | @ExcelField(value = "户籍地址") |
| | | private String censusAddress = ""; |
| | | |
| | | @FieldInfo(name = "currentAddress", type = "varchar", explain = "现住址") |
| | | @TableField("currentAddress") |
| | | @ExcelField(value = "现住址") |
| | | private String currentAddress = ""; |
| | | |
| | | @FieldInfo(name = "guardNumb", type = "varchar", explain = "保安员证号") |
| | | @TableField("guardNumb") |
| | | @ExcelField(value = "保安员证号") |
| | | private String guardNumb = ""; |
| | | |
| | | @FieldInfo(name = "telePhone", type = "varchar", explain = "电话号码") |
| | | @TableField("telePhone") |
| | | @ExcelField(value = "电话号码") |
| | | private String telePhone = ""; |
| | | |
| | | @FieldInfo(name = "returnReceipt", type = "varchar", explain = "保安员回执") |
| | | @TableField("returnReceipt") |
| | | @ExcelField(value = "保安员回执") |
| | | private String returnReceipt = ""; |
| | | |
| | | @FieldInfo(name = "introducer", type = "varchar", explain = "招聘介绍人") |
| | | @TableField("introducer") |
| | | @ExcelField(value = "招聘介绍人") |
| | | private String introducer = ""; |
| | | |
| | | @FieldInfo(name = "archivesStatus", type = "varchar", explain = "档案情况") |
| | |
| | | |
| | | @FieldInfo(name = "archivesStatusName", type = "varchar", explain = "档案情况") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "档案情况") |
| | | private String archivesStatusName = ""; |
| | | |
| | | @FieldInfo(name = "bankName", type = "varchar", explain = "银行名称") |
| | | @TableField("bankName") |
| | | @ExcelField(value = "银行名称") |
| | | private String bankName = ""; |
| | | |
| | | @FieldInfo(name = "bankNumb", type = "varchar", explain = "银行账号") |
| | | @TableField("bankNumb") |
| | | @ExcelField(value = "银行账号") |
| | | private String bankNumb = ""; |
| | | |
| | | @FieldInfo(name = "InsuranceType", type = "varchar", explain = "保险类型") |
| | |
| | | |
| | | @FieldInfo(name = "InsuranceTypeName", type = "varchar", explain = "保险类型") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "保险类型") |
| | | private String insuranceTypeName = ""; |
| | | |
| | | @FieldInfo(name = "socialNumb", type = "varchar", explain = "社保电脑号") |
| | | @TableField("socialNumb") |
| | | @ExcelField(value = "社保电脑号") |
| | | private String socialNumb = ""; |
| | | |
| | | @FieldInfo(name = "family", type = "varchar", explain = "家庭成员及关系") |
| | | @TableField("family") |
| | | @ExcelField(value = "家庭成员及关系") |
| | | private String family = ""; |
| | | |
| | | @FieldInfo(name = "handbookStatus", type = "varchar", explain = "员工手册") |
| | | @TableField("handbookStatus") |
| | | @ExcelField(value = "员工手册") |
| | | private String handbookStatus = ""; |
| | | |
| | | @FieldInfo(name = "urgencyPhone", type = "varchar", explain = "紧急联系电话") |
| | | @TableField("urgencyPhone") |
| | | @ExcelField(value = "紧急联系电话") |
| | | private String urgencyPhone = ""; |
| | | |
| | | @FieldInfo(name = "empCardStatus", type = "varchar", explain = "工作证") |
| | | @TableField("empCardStatus") |
| | | @ExcelField(value = "工作证") |
| | | private String empCardStatus = ""; |
| | | |
| | | @FieldInfo(name = "certificateList", type = "varchar", explain = "相关证件") |
| | |
| | | |
| | | @FieldInfo(name = "certificateListName", type = "varchar", explain = "相关证件") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "相关证件") |
| | | private String certificateListName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | |
| | | |
| | | @FieldInfo(name = "dimissionType", type = "varchar", explain = "离职类型") |
| | | @TableField("dimissionType") |
| | | @ExcelField(value = "离职类型",writeConverterExp = "1=正常离职,2=自动离职,3=公司劝退,4=公司辞退,5=试用期内" ) |
| | | private String dimissionType; |
| | | |
| | | |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_contractinfo") |
| | | @Excel("员工合同信息") |
| | | public class EmpContractInfo implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 4152214737054224645L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "beginDate", type = "date", explain = "开始日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "开始日期", writeConverter = TimeConverter.class) |
| | | private Date beginDate; |
| | | |
| | | @FieldInfo(name = "endDate", type = "date", explain = "结束日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "结束日期", writeConverter = TimeConverter.class) |
| | | private Date endDate; |
| | | |
| | | @FieldInfo(name = "contractStatus", type = "varchar", explain = "合同状态") |
| | | @TableField("contractStatus") |
| | | @ExcelField(value = "合同状态", writeConverterExp = "1=有效,2=到期,3=续签,4=存档") |
| | | private String contractStatus = ""; |
| | | |
| | | @FieldInfo(name = "contractPeriod", type = "tinyint", explain = "合同期限(年)") |
| | | @TableField("contractPeriod") |
| | | @ExcelField(value = "合同期限(年)") |
| | | private Integer contractPeriod = 0; |
| | | |
| | | @FieldInfo(name = "transactor", type = "varchar", explain = "合同办理人") |
| | | @TableField("transactor") |
| | | @ExcelField(value = "合同办理人") |
| | | private String transactor = ""; |
| | | |
| | | @FieldInfo(name = "signingDate", type = "date", explain = "合同签订日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "合同签订日期", writeConverter = TimeConverter.class) |
| | | private Date signingDate; |
| | | |
| | | @FieldInfo(name = "remark", type = "varchar", explain = "备注") |
| | | @TableField("remark") |
| | | @ExcelField(value = "备注") |
| | | private String remark = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_dimissionattend") |
| | | @Excel("离职当月考勤") |
| | | public class EmpDimissionAttend implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 6080263775807562989L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "attendYear", type = "varchar", explain = "离职考勤年份") |
| | | @TableField(exist = false) |
| | | @ExcelField(value = "考勤年份") |
| | | private String attendYear = ""; |
| | | |
| | | @FieldInfo(name = "attendMonth", type = "varchar", explain = "离职考勤月份") |
| | | @TableField("attendMonth") |
| | | @ExcelField(value = "考勤月份") |
| | | private String attendMonth = ""; |
| | | |
| | | @FieldInfo(name = "attendDays", type = "decimal", explain = "出勤天数") |
| | | @TableField("attendDays") |
| | | @ExcelField(value = "出勤天数") |
| | | private BigDecimal attendDays = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "overtimeHour", type = "decimal", explain = "加班小时") |
| | | @TableField("overtimeHour") |
| | | @ExcelField(value = "加班小时") |
| | | private BigDecimal overtimeHour = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "overtimeDay", type = "decimal", explain = "加班(天)") |
| | | @TableField("overtimeDay") |
| | | @ExcelField(value = "加班(天)") |
| | | private BigDecimal overtimeDay = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "leaveDay", type = "decimal", explain = "请假(天)") |
| | | @TableField("leaveDay") |
| | | @ExcelField(value = "请假(天)") |
| | | private BigDecimal leaveDay = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "deduct", type = "decimal", explain = "有无代扣款项") |
| | | @TableField("deduct") |
| | | @ExcelField(value = "有无代扣款项") |
| | | private BigDecimal deduct = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "absenteeism", type = "decimal", explain = "旷工(天)") |
| | | @TableField("absenteeism") |
| | | @ExcelField(value = "旷工(天)") |
| | | private BigDecimal absenteeism = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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 java.math.BigDecimal; |
| | | |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_dimissionlog") |
| | | @Excel("员工离职记录") |
| | | public class EmpDimissionLog implements Serializable { |
| | | |
| | | @FieldInfo(name = "closeId", type = "bigint", explain = "档案关闭Id") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "入职日期", writeConverter = TimeConverter.class) |
| | | private Date entryDate; |
| | | |
| | | @FieldInfo(name = "dimissionDate", type = "date", explain = "离职日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "离职日期", writeConverter = TimeConverter.class) |
| | | private Date dimissionDate; |
| | | |
| | | @FieldInfo(name = "dimissionType", type = "varchar", explain = "离职类型") |
| | | @TableField("dimissionType") |
| | | @ExcelField(value = "离职类型",writeConverterExp = "1=正常离职,2=自动离职,3=公司劝退,4=公司辞退,5=试用期内" ) |
| | | private String dimissionType = "1"; |
| | | |
| | | @FieldInfo(name = "selfLeaveDay", type = "decimal", explain = "自离天数") |
| | | @TableField("selfLeaveDay") |
| | | @ExcelField(value = "自离天数") |
| | | private BigDecimal selfLeaveDay = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "reporter", type = "varchar", explain = "报备人") |
| | | @TableField("reporter") |
| | | @ExcelField(value = "报备人") |
| | | private String reporter = ""; |
| | | |
| | | @FieldInfo(name = "remark", type = "varchar", explain = "备注") |
| | | @TableField("remark") |
| | | @ExcelField(value = "备注") |
| | | private String remark = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_insurance") |
| | | @Excel("员工社保申请") |
| | | public class EmpInsurance implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 208703298339870887L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "applayDate", type = "date", explain = "申请日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "申请日期", writeConverter = TimeConverter.class) |
| | | private Date applayDate; |
| | | |
| | | @FieldInfo(name = "proposer", type = "varchar", explain = "申请人") |
| | | @TableField("proposer") |
| | | @ExcelField(value = "申请人") |
| | | private String proposer = ""; |
| | | |
| | | @FieldInfo(name = "insuranceGaers", type = "varchar", explain = "社保档位") |
| | | @TableField("insuranceGaers") |
| | | @ExcelField(value = "社保档位") |
| | | private String insuranceGaers = ""; |
| | | |
| | | @FieldInfo(name = "reportStatus", type = "bit", explain = "是否已报告 0-未报告 1-已报告") |
| | | @TableField("reportStatus") |
| | | @ExcelField(value = "是否已报告", writeConverterExp = "0=未报告,1=已报告") |
| | | private Integer reportStatus = 0; |
| | | |
| | | @FieldInfo(name = "applayStatus", type = "bit", explain = "申请状态 0-未申请 1-已申请") |
| | | @TableField("applayStatus") |
| | | @ExcelField(value = "申请状态", writeConverterExp = "0=未申请,1=已申请") |
| | | private Integer applayStatus = 0; |
| | | |
| | | @FieldInfo(name = "auditor", type = "varchar", explain = "审核人") |
| | | @TableField("auditor") |
| | | @ExcelField(value = "审核人") |
| | | private String auditor = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_jobchange") |
| | | @Excel("员工调岗记录") |
| | | public class EmpJobChange implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 4229887878987429956L; |
| | |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "oldDeptName", type = "varchar", explain = "原部门") |
| | | @TableField("oldDeptName") |
| | | @ExcelField(value = "原部门") |
| | | private String oldDeptName = ""; |
| | | |
| | | @FieldInfo(name = "oldJobName", type = "varchar", explain = "原岗位") |
| | | @TableField("oldJobName") |
| | | @ExcelField(value = "原岗位") |
| | | private String oldJobName = ""; |
| | | |
| | | @FieldInfo(name = "newDeptName", type = "varchar", explain = "新部门") |
| | | @TableField("newDeptName") |
| | | @ExcelField(value = "新部门") |
| | | private String newDeptName = ""; |
| | | |
| | | @FieldInfo(name = "newJobName", type = "varchar", explain = "新岗位") |
| | | @TableField("newJobName") |
| | | @ExcelField(value = "新岗位") |
| | | private String newJobName = ""; |
| | | |
| | | @FieldInfo(name = "changeType", type = "varchar", explain = "调岗类型") |
| | | @TableField("changeType") |
| | | @ExcelField(value = "调岗类型",writeConverterExp = "2=升职,3=调动") |
| | | private String changeType = ""; |
| | | |
| | | @FieldInfo(name = "changeDate", type = "date", explain = "调岗位日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "调岗位日期", writeConverter = TimeConverter.class) |
| | | private Date changeDate; |
| | | |
| | | @FieldInfo(name = "changeReason", type = "varchar", explain = "调岗原因") |
| | | @TableField("changeReason") |
| | | @ExcelField(value = "调岗原因") |
| | | private String changeReason = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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 java.math.BigDecimal; |
| | | |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_labortrouble") |
| | | @Excel("员工劳资案件") |
| | | public class EmpLaborTrouble implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -7587978188799851715L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "arbitrationDate", type = "date", explain = "仲裁日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "仲裁日期", writeConverter = TimeConverter.class) |
| | | private Date arbitrationDate; |
| | | |
| | | @FieldInfo(name = "arbitrationType", type = "varchar", explain = "仲裁类型") |
| | | @TableField("arbitrationType") |
| | | @ExcelField(value = "仲裁类型", writeConverterExp = "01=未报告,02=民事纠纷,03=合同纠纷") |
| | | private String arbitrationType = ""; |
| | | |
| | | @FieldInfo(name = "arbitrationReason", type = "varchar", explain = "仲裁事由") |
| | | @TableField("arbitrationReason") |
| | | @ExcelField(value = "仲裁事由") |
| | | private String arbitrationReason = ""; |
| | | |
| | | @FieldInfo(name = "reporter", type = "varchar", explain = "报备人") |
| | | @TableField("reporter") |
| | | @ExcelField(value = "报备人") |
| | | private String reporter = ""; |
| | | |
| | | @FieldInfo(name = "arbitrationPay", type = "decimal", explain = "仲裁赔付(元)") |
| | | @TableField("arbitrationPay") |
| | | @ExcelField(value = "仲裁赔付(元)") |
| | | private BigDecimal arbitrationPay = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "arbitrationStatus", type = "bit", explain = "仲裁状态") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "案结日期", writeConverter = TimeConverter.class) |
| | | private Date settleDate; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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 java.math.BigDecimal; |
| | | |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_leaveinfo") |
| | | @Excel("员工请假记录") |
| | | public class EmpLeaveInfo implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -906183894054123470L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "beginTime", type = "datetime", explain = "开始时间") |
| | |
| | | @JsonSerialize(using = DateTimeSerializer.class) |
| | | @JsonDeserialize(using = DateTimeDeserializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ExcelField(value = "开始时间", writeConverter = TimeConverter.class) |
| | | private Date beginTime; |
| | | |
| | | @FieldInfo(name = "endTime", type = "datetime", explain = "结束时间") |
| | |
| | | @JsonSerialize(using = DateTimeSerializer.class) |
| | | @JsonDeserialize(using = DateTimeDeserializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ExcelField(value = "结束时间", writeConverter = TimeConverter.class) |
| | | private Date endTime; |
| | | |
| | | @FieldInfo(name = "leaveType", type = "varchar", explain = "请假类型") |
| | | @TableField("leaveType") |
| | | @ExcelField(value = "请假类型", writeConverterExp = "1=事假,2=病假") |
| | | private String leaveType = ""; |
| | | |
| | | @FieldInfo(name = "leaveDay", type = "decimal", explain = "请假天数") |
| | | @TableField("leaveDay") |
| | | @ExcelField(value = "请假天数") |
| | | private BigDecimal leaveDay = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "reporter", type = "varchar", explain = "报备人") |
| | | @TableField("reporter") |
| | | @ExcelField(value = "报备人") |
| | | private String reporter = ""; |
| | | |
| | | @FieldInfo(name = "returnDate", type = "date", explain = "到岗时间") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "到岗时间", writeConverter = TimeConverter.class) |
| | | private Date returnDate; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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 java.math.BigDecimal; |
| | | |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_occupational") |
| | | @Excel("员工工伤案件") |
| | | public class EmpOccupational implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 5704201515491620531L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "injuredTime", type = "datetime", explain = "受伤时间") |
| | |
| | | @JsonSerialize(using = DateTimeSerializer.class) |
| | | @JsonDeserialize(using = DateTimeDeserializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ExcelField(value = "受伤时间", writeConverter = TimeConverter.class) |
| | | private Date injuredTime; |
| | | |
| | | @FieldInfo(name = "injuredAddress", type = "varchar", explain = "受伤地点") |
| | | @TableField("injuredAddress") |
| | | @ExcelField(value = "受伤地点") |
| | | private String injuredAddress = ""; |
| | | |
| | | @FieldInfo(name = "injuredPart", type = "varchar", explain = "受伤部位") |
| | | @TableField("injuredPart") |
| | | @ExcelField(value = "受伤部位") |
| | | private String injuredPart = ""; |
| | | |
| | | @FieldInfo(name = "injuredDiacrisis", type = "varchar", explain = "受伤诊断") |
| | | @TableField("injuredDiacrisis") |
| | | @ExcelField(value = "受伤诊断") |
| | | private String injuredDiacrisis = ""; |
| | | |
| | | @FieldInfo(name = "injuredDescribe", type = "varchar", explain = "受伤经过描述") |
| | | @TableField("injuredDescribe") |
| | | @ExcelField(value = "受伤经过描述") |
| | | private String injuredDescribe = ""; |
| | | |
| | | @FieldInfo(name = "hospitalName", type = "varchar", explain = "就诊医院") |
| | | @TableField("hospitalName") |
| | | @ExcelField(value = "就诊医院") |
| | | private String hospitalName = ""; |
| | | |
| | | @FieldInfo(name = "treatmentName", type = "varchar", explain = "就诊科室") |
| | | @TableField("treatmentName") |
| | | @ExcelField(value = "就诊科室") |
| | | private String treatmentName = ""; |
| | | |
| | | @FieldInfo(name = "hospitalizatioFlag", type = "bit", explain = "是否住院") |
| | | @TableField("hospitalizatioFlag") |
| | | @ExcelField(value = "是否住院", writeConverterExp = "0=未住院,1=已住院") |
| | | private Integer hospitalizatioFlag = 0; |
| | | |
| | | @FieldInfo(name = "bedNumb", type = "tinyint", explain = "床号") |
| | | @TableField("bedNumb") |
| | | @ExcelField(value = "床号") |
| | | private Integer bedNumb = 0; |
| | | |
| | | @FieldInfo(name = "reportTime", type = "datetime", explain = "报案时间") |
| | |
| | | @JsonSerialize(using = DateTimeSerializer.class) |
| | | @JsonDeserialize(using = DateTimeDeserializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ExcelField(value = "报案时间", writeConverter = TimeConverter.class) |
| | | private Date reportTime; |
| | | |
| | | @FieldInfo(name = "submitTime", type = "datetime", explain = "资料递交日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "资料递交日期", writeConverter = TimeConverter.class) |
| | | private Date submitTime; |
| | | |
| | | @FieldInfo(name = "sbumitBy", type = "varchar", explain = "递交人") |
| | | @TableField("sbumitBy") |
| | | @ExcelField(value = "递交人") |
| | | private String sbumitBy = ""; |
| | | |
| | | @FieldInfo(name = "hrDoDate", type = "date", explain = "人事处理时间") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "人事处理时间", writeConverter = TimeConverter.class) |
| | | private Date hrDoDate; |
| | | |
| | | @FieldInfo(name = "expensesFee", type = "decimal", explain = "医疗总费用") |
| | | @TableField("expensesFee") |
| | | @ExcelField(value = "医疗总费用") |
| | | private BigDecimal expensesFee = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "eliminate", type = "decimal", explain = "剔除总额") |
| | | @TableField("eliminate") |
| | | @ExcelField(value = "剔除总额") |
| | | private BigDecimal eliminate = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "socialDisability", type = "decimal", explain = "一次性伤残补助金") |
| | | @TableField("socialDisability") |
| | | @ExcelField(value = "一次性伤残补助金") |
| | | private BigDecimal socialDisability = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "socialAllowance", type = "decimal", explain = "住院伙食补贴") |
| | | @TableField("socialAllowance") |
| | | @ExcelField(value = "住院伙食补贴") |
| | | private BigDecimal socialAllowance = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "socialSubsidy", type = "decimal", explain = "一次性医疗补助金") |
| | | @TableField("socialSubsidy") |
| | | @ExcelField(value = "一次性医疗补助金") |
| | | private BigDecimal socialSubsidy = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "socialCompensation", type = "decimal", explain = "社保赔偿总费用") |
| | | @TableField("socialCompensation") |
| | | @ExcelField(value = "社保赔偿总费用") |
| | | private BigDecimal socialCompensation = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "compensated", type = "decimal", explain = "已赔付医药费用") |
| | | @TableField("compensated") |
| | | @ExcelField(value = "已赔付医药费用") |
| | | private BigDecimal compensated = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "otherCompensated", type = "decimal", explain = "其他赔偿报销") |
| | | @TableField("otherCompensated") |
| | | @ExcelField(value = "其他赔偿报销") |
| | | private BigDecimal otherCompensated = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "companylDisability", type = "decimal", explain = "公司一次性伤残补助金") |
| | | @TableField("companylDisability") |
| | | @ExcelField(value = "公司一次性伤残补助金") |
| | | private BigDecimal companylDisability = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "companyAllowance", type = "decimal", explain = "工伤生活补贴") |
| | | @TableField("companyAllowance") |
| | | @ExcelField(value = "工伤生活补贴") |
| | | private BigDecimal companyAllowance = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "companySubsidy", type = "decimal", explain = "公司一次性医疗补助金") |
| | | @TableField("companySubsidy") |
| | | @ExcelField(value = "公司一次性医疗补助金") |
| | | private BigDecimal companySubsidy = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "companyCompensation", type = "decimal", explain = "公司赔偿总费用") |
| | | @TableField("companyCompensation") |
| | | @ExcelField(value = "公司赔偿总费用") |
| | | private BigDecimal companyCompensation = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "jobSubsidy", type = "decimal", explain = "公司一次性就业补助金") |
| | | @TableField("jobSubsidy") |
| | | @ExcelField(value = "公司一次性就业补助金") |
| | | private BigDecimal jobSubsidy = BigDecimal.ZERO; |
| | | |
| | | @FieldInfo(name = "settleStatus", type = "bit", explain = "结案状态 0-未结案 1-已结案") |
| | | @TableField("settleStatus") |
| | | @ExcelField(value = "是否已报告", writeConverterExp = "0=未结案,1=已结案") |
| | | private Integer settleStatus = 0; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_physicalexam") |
| | | @Excel("员工体检信息") |
| | | public class EmpPhysicalExam implements Serializable { |
| | | |
| | | @FieldInfo(name = "physicalExamId", type = "bigint", explain = "体检Id") |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "hospital", type = "varchar", explain = "体检医院") |
| | | @TableField("hospital") |
| | | @ExcelField(value = "体检医院") |
| | | private String hospital = ""; |
| | | |
| | | @FieldInfo(name = "physicalExamDate", type = "date", explain = "体检日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "体检日期", writeConverter = TimeConverter.class) |
| | | private Date physicalExamDate; |
| | | |
| | | @FieldInfo(name = "physicalExamType", type = "varchar", explain = "体检类型") |
| | | @TableField("physicalExamType") |
| | | @ExcelField(value = "体检类型", writeConverterExp = "1=入职体检,2=员工体检") |
| | | private String physicalExamType = ""; |
| | | |
| | | @FieldInfo(name = "bloodPressure", type = "varchar", explain = "血压") |
| | | @TableField("bloodPressure") |
| | | @ExcelField(value = "血压") |
| | | private String bloodPressure = ""; |
| | | |
| | | @FieldInfo(name = "transaminase", type = "varchar", explain = "转氨酶") |
| | | @TableField("transaminase") |
| | | @ExcelField(value = "转氨酶") |
| | | private String transaminase = ""; |
| | | |
| | | @FieldInfo(name = "ecg", type = "varchar", explain = "心电图") |
| | | @TableField("ecg") |
| | | @ExcelField(value = "心电图") |
| | | private String ecg = ""; |
| | | |
| | | @FieldInfo(name = "conclusion", type = "varchar", explain = "体检结论") |
| | | @TableField("conclusion") |
| | | @ExcelField(value = "体检结论") |
| | | private String conclusion = ""; |
| | | |
| | | @FieldInfo(name = "reviewRecord", type = "varchar", explain = "复查记录") |
| | | @TableField("reviewRecord") |
| | | @ExcelField(value = "复查记录") |
| | | private String reviewRecord = ""; |
| | | |
| | | @FieldInfo(name = "remark", type = "varchar", explain = "备注") |
| | | @TableField("remark") |
| | | @ExcelField(value = "备注") |
| | | private String remark = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_remarkinfo") |
| | | @Excel("员工备注信息") |
| | | public class EmpRemarkInfo implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 3084540653935731579L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "remarkContent", type = "varchar", explain = "备注内容") |
| | | @TableField("remarkContent") |
| | | @ExcelField(value = "备注内容") |
| | | private String remarkContent = ""; |
| | | |
| | | @FieldInfo(name = "remarkDate", type = "date", explain = "备注日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "备注日期", writeConverter = TimeConverter.class) |
| | | private Date remarkDate; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_resign") |
| | | @Excel("员工辞职申请") |
| | | public class EmpResign implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -4692256235815402125L; |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "applayDate", type = "date", explain = "申请日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "申请日期", writeConverter = TimeConverter.class) |
| | | private Date applayDate; |
| | | |
| | | @FieldInfo(name = "reporter", type = "varchar", explain = "报备人") |
| | | @TableField("reporter") |
| | | @ExcelField(value = "报备人") |
| | | private String reporter = ""; |
| | | |
| | | @FieldInfo(name = "reason", type = "varchar", explain = "事由") |
| | | @TableField("reason") |
| | | @ExcelField(value = "事由") |
| | | private String reason = ""; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_unemployment") |
| | | @Excel("失业金领取") |
| | | public class EmpUnemployment implements Serializable { |
| | | |
| | | @FieldInfo(name = "unemploymentId", type = "bigint", explain = "失业金领取Id") |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb = ""; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName = ""; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb = ""; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "JobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "applayDate", type = "date", explain = "申请日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "申请日期", writeConverter = TimeConverter.class) |
| | | private Date applayDate; |
| | | |
| | | @FieldInfo(name = "applayReason", type = "varchar", explain = "申报事由") |
| | | @TableField("applayReason") |
| | | @ExcelField(value = "申报事由") |
| | | private String applayReason = ""; |
| | | |
| | | @FieldInfo(name = "reporter", type = "varchar", explain = "报备人") |
| | | @TableField("reporter") |
| | | @ExcelField(value = "报备人") |
| | | private String reporter = ""; |
| | | |
| | | @FieldInfo(name = "auditor", type = "varchar", explain = "审核人") |
| | | @TableField("auditor") |
| | | @ExcelField(value = "审核人") |
| | | private String auditor = ""; |
| | | |
| | | @FieldInfo(name = "remark", type = "varchar", explain = "备注") |
| | | @TableField("remark") |
| | | @ExcelField(value = "备注") |
| | | private String remark = ""; |
| | | |
| | | |
| | |
| | | import java.util.Date; |
| | | |
| | | import cc.mrbird.febs.common.core.annotation.FieldInfo; |
| | | import cc.mrbird.febs.common.core.converter.TimeConverter; |
| | | 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.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.wuwenze.poi.annotation.Excel; |
| | | import com.wuwenze.poi.annotation.ExcelField; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("t_emp_workExperience") |
| | | @Excel("员工工作经历") |
| | | public class EmpWorkExperience implements Serializable { |
| | | |
| | | @FieldInfo(name = "workExperienceId", type = "bigint", explain = "工作经历Id") |
| | |
| | | |
| | | @FieldInfo(name = "empNumb", type = "varchar", explain = "员工编号") |
| | | @TableField("empNumb") |
| | | @ExcelField(value = "员工编号") |
| | | private String empNumb; |
| | | |
| | | @FieldInfo(name = "empName", type = "varchar", explain = "员工姓名") |
| | | @TableField("empName") |
| | | @ExcelField(value = "员工姓名") |
| | | private String empName; |
| | | |
| | | @FieldInfo(name = "empStatus", type = "varchar", explain = "员工状态") |
| | | @TableField("empStatus") |
| | | @ExcelField(value = "员工状态",writeConverterExp = "0=在职,1=离职,2=退休" ) |
| | | private String empStatus = ""; |
| | | |
| | | @FieldInfo(name = "certificateNumb", type = "varchar", explain = "证件号码") |
| | | @TableField("certificateNumb") |
| | | @ExcelField(value = "证件号码") |
| | | private String certificateNumb; |
| | | |
| | | @FieldInfo(name = "sex", type = "varchar", explain = "性别码,使用国标性别性别码") |
| | | @TableField("sex") |
| | | @ExcelField(value = "性别", writeConverterExp = "1=男,2=女") |
| | | private String sex; |
| | | |
| | | @FieldInfo(name = "deptId", type = "bigint", explain = "部门Id") |
| | |
| | | |
| | | @FieldInfo(name = "deptName", type = "varchar", explain = "部门名称") |
| | | @TableField("deptName") |
| | | @ExcelField(value = "部门名称") |
| | | private String deptName = ""; |
| | | |
| | | @FieldInfo(name = "jobId", type = "bigint", explain = "岗位Id") |
| | |
| | | |
| | | @FieldInfo(name = "jobName", type = "varchar", explain = "岗位名称") |
| | | @TableField("jobName") |
| | | @ExcelField(value = "岗位名称") |
| | | private String jobName = ""; |
| | | |
| | | @FieldInfo(name = "workUnit", type = "varchar", explain = "工作单位") |
| | | @TableField("workUnit") |
| | | @ExcelField(value = "工作单位") |
| | | private String workUnit; |
| | | |
| | | @FieldInfo(name = "beginDate", type = "date", explain = "开始日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "开始日期", writeConverter = TimeConverter.class) |
| | | private Date beginDate; |
| | | |
| | | @FieldInfo(name = "endDate", type = "date", explain = "结束日期") |
| | |
| | | @JsonSerialize(using = DateSerializer.class) |
| | | @JsonDeserialize(using = DateDeSerializer.class) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelField(value = "结束日期", writeConverter = TimeConverter.class) |
| | | private Date endDate; |
| | | |
| | | @FieldInfo(name = "jobContent", type = "varchar", explain = "主要工作内容") |
| | | @TableField("jobContent") |
| | | @ExcelField(value = "主要工作内容") |
| | | private String jobContent; |
| | | |
| | | @FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间") |