@ -43,9 +43,9 @@ public class SysRoleDTO implements Serializable {
private String name;
/**
* 角色编码
* 角色类型键值(数据字典sysRoleType)
*/
private String code;
private String typeKey;
* 备注
@ -35,9 +35,9 @@ public class SysRoleEntity extends BaseEntity {
@ -70,7 +70,7 @@
LEFT JOIN sys_dept d ON d.id = rds.dept_id
WHERE
d.type_key = 'grid_party'
AND r.`code` = 'gridLeader'
AND r.type_key = 'gridLeader'
AND u.mobile = #{mobile}
ORDER BY
d.create_date DESC