Commit 9b832009 authored by hongguangwu's avatar hongguangwu

MVP1.4

parent 293fa870
......@@ -20,11 +20,17 @@ import java.time.LocalDateTime;
@ToString
public class BusinessEmployeeExtendListVO implements Serializable {
/**
* 人员表主键
* 项目人员表主键
*/
@Schema(description = "人员表主键", name = "id")
@Schema(description = "项目人员表主键", name = "id")
private String id;
/**
* 人员表主键
*/
@Schema(description = "人员表主键", name = "empId")
private String empId;
/**
* 人员拓展表主键
*/
......
......@@ -31,6 +31,11 @@ public class EmployeeBusinessVo {
@ExcelAttribute(name = "主键", maxLength = 32)
@Schema(description = "主键", name = "id")
private String id;
/**
* 人员表主键
*/
@Schema(description = "人员表主键", name = "empId")
private String empId;
/**
* 姓名
*/
......
......@@ -1622,6 +1622,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
private void initEmpBusinessInfo(TEmployeeProject employeeInfo, TEmployeeInfo employee
, EmployeeBusinessVo businessVo, TBusinessEmployeeExtendInfo tBusinessEmployeeExtendInfo) {
businessVo.setEmpId(employeeInfo.getEmpId());
businessVo.setSettleDomain(employeeInfo.getDeptId());
businessVo.setBelongUnit(employeeInfo.getUnitId());
if (employee != null) {
......
......@@ -879,6 +879,7 @@
<select id="getTEmployeeBusinessPage" resultMap="businessEmployeeExtendListVO">
SELECT
a.ID,
a.EMP_ID as empId,
b.ID as extendId,
a.EMP_NAME,
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