Commit baa59660 authored by wzp's avatar wzp

修改bug

parent 3ab60608
......@@ -23,9 +23,9 @@
</sql>
<select id="getList" resultMap="BaseResultMap">
SELECT b.id,b.organ_id,b.mac,b.status,b.area_id,b.create_time,b.update_time,r.`name` organ_name
FROM t_box_operation b
left join t_organ r on r.id = b.organ_id
SELECT b.id,b.organ_id,b.mac,b.status,b.area_id,b.create_time,b.update_time,r.`user_name` organ_name
FROM t_box_operation b
left join t_user r on r.org_id = b.organ_id and r.type = '3'
where 1=1
<if test="status!= null and status != '' ">
and b.status =#{status}
......
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