1.0.28 部门添加分管副总

dev
yinq 1 month ago
parent 35de964169
commit 00ff015ccf

@ -58,6 +58,11 @@ public class SysDept extends TenantEntity {
*/
private Long leader;
/**
*
*/
private Long vicePresident;
/**
*
*/

@ -55,6 +55,11 @@ public class SysDeptBo extends BaseEntity {
*/
private Long leader;
/**
*
*/
private Long vicePresident;
/**
*
*/

@ -6,6 +6,8 @@ import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.system.domain.SysDept;
import java.io.Serial;
@ -74,8 +76,21 @@ public class SysDeptVo implements Serializable {
*
*/
@ExcelProperty(value = "负责人")
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "leader")
private String leaderName;
/**
* ID
*/
private Long vicePresident;
/**
*
*/
@ExcelProperty(value = "分管副总")
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "vicePresident")
private String vicePresidentName;
/**
*
*/

Loading…
Cancel
Save