Commit 9b832009 authored by hongguangwu's avatar hongguangwu

MVP1.4

parent 293fa870
...@@ -20,12 +20,18 @@ import java.time.LocalDateTime; ...@@ -20,12 +20,18 @@ import java.time.LocalDateTime;
@ToString @ToString
public class BusinessEmployeeExtendListVO implements Serializable { public class BusinessEmployeeExtendListVO implements Serializable {
/** /**
* 人员表主键 * 项目人员表主键
*/ */
@Schema(description = "人员表主键", name = "id") @Schema(description = "项目人员表主键", name = "id")
private String id; private String id;
/** /**
* 人员表主键
*/
@Schema(description = "人员表主键", name = "empId")
private String empId;
/**
* 人员拓展表主键 * 人员拓展表主键
*/ */
@Schema(description = "人员拓展表主键", name = "extendId") @Schema(description = "人员拓展表主键", name = "extendId")
......
...@@ -31,6 +31,11 @@ public class EmployeeBusinessVo { ...@@ -31,6 +31,11 @@ public class EmployeeBusinessVo {
@ExcelAttribute(name = "主键", maxLength = 32) @ExcelAttribute(name = "主键", maxLength = 32)
@Schema(description = "主键", name = "id") @Schema(description = "主键", name = "id")
private String id; private String id;
/**
* 人员表主键
*/
@Schema(description = "人员表主键", name = "empId")
private String empId;
/** /**
* 姓名 * 姓名
*/ */
......
...@@ -1622,6 +1622,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap ...@@ -1622,6 +1622,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
private void initEmpBusinessInfo(TEmployeeProject employeeInfo, TEmployeeInfo employee private void initEmpBusinessInfo(TEmployeeProject employeeInfo, TEmployeeInfo employee
, EmployeeBusinessVo businessVo, TBusinessEmployeeExtendInfo tBusinessEmployeeExtendInfo) { , EmployeeBusinessVo businessVo, TBusinessEmployeeExtendInfo tBusinessEmployeeExtendInfo) {
businessVo.setEmpId(employeeInfo.getEmpId());
businessVo.setSettleDomain(employeeInfo.getDeptId()); businessVo.setSettleDomain(employeeInfo.getDeptId());
businessVo.setBelongUnit(employeeInfo.getUnitId()); businessVo.setBelongUnit(employeeInfo.getUnitId());
if (employee != null) { if (employee != null) {
......
...@@ -879,6 +879,7 @@ ...@@ -879,6 +879,7 @@
<select id="getTEmployeeBusinessPage" resultMap="businessEmployeeExtendListVO"> <select id="getTEmployeeBusinessPage" resultMap="businessEmployeeExtendListVO">
SELECT SELECT
a.ID, a.ID,
a.EMP_ID as empId,
b.ID as extendId, b.ID as extendId,
a.EMP_NAME, a.EMP_NAME,
a.EMP_IDCARD, a.EMP_IDCARD,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment