修改运营商给下面用户赋值权限
This commit is contained in:
parent
7e3fedc64a
commit
740ea8d300
@ -45,7 +45,7 @@
|
||||
JOIN xhpc_charging_station xcs on xcs.operator_id = xo.operator_id
|
||||
where xo.del_flag = 0
|
||||
<if test="null != operatorIds and '' != operatorIds">
|
||||
and operator_id in
|
||||
and xo.operator_id in
|
||||
<foreach collection="operatorIds" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
|
||||
@ -294,8 +294,8 @@
|
||||
xo.contact_phone contactPhone, xo.phone, xo.attribute,`xo`.create_time createTime,`xo`.status,
|
||||
CASE WHEN xo.`status` = 0 THEN '正常' else '禁用' end statusName,su.user_id userId,
|
||||
xdb.dict_value attributenName
|
||||
from xhpc_operator `xo`
|
||||
LEFT JOIN sys_user su on su.operator_id = `xo`.operator_id
|
||||
from xhpc_operator xo
|
||||
LEFT JOIN sys_user su on su.operator_id = xo.operator_id
|
||||
LEFT JOIN xhpc_dict_biz xdb on xdb.`code` = 'operator_attribute' and xdb.dict_key = xo.attribute
|
||||
where xo.del_flag = 0
|
||||
<if test="name != null and name != ''">
|
||||
@ -313,7 +313,7 @@
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''"><!-- 结束时间检索 -->
|
||||
AND xo.create_time <= #{createTimeEnd}
|
||||
</if>
|
||||
group by su.operator_id
|
||||
group by xo.operator_id
|
||||
ORDER BY xo.update_time DESC
|
||||
</select>
|
||||
|
||||
@ -362,7 +362,7 @@
|
||||
xo.contact_phone contactPhone, xo.phone, xo.attribute, xo.duty_paragraph dutyParagraph,
|
||||
xdb.dict_value attributenName
|
||||
from xhpc_operator `xo`
|
||||
LEFT JOIN xhpc_dict_biz xdb on xdb.`code` = 'operator_attribute' and xdb.dict_key = xo.attribute
|
||||
LEFT JOIN xhpc_dict_biz xdb on xdb.`code` = 'operator_attribute' and xdb.dict_key = xo.attribute
|
||||
where xo.del_flag = 0
|
||||
ORDER BY xo.create_time DESC
|
||||
</select>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user