员工详情返回角色名称

This commit is contained in:
张松
2025-02-20 10:02:39 +08:00
parent a16e322a3c
commit f1456ba34f
4 changed files with 22 additions and 5 deletions

View File

@@ -87,4 +87,7 @@ public class ShopStaff implements Serializable {
*/
private Integer isPc;
@Column(ignore = true)
private String roleName;
}

View File

@@ -26,4 +26,6 @@ public interface ShopStaffService extends IService<ShopStaff> {
Boolean delete(ShopStaffRemoveDTO shopStaffRemoveDTO);
List<Long> permission(Long id);
ShopStaff detail(Long shopId, Long id);
}