|
|
@@ -4,13 +4,12 @@
|
|
|
|
|
|
<select id="pageList" resultType="com.fdkankan.manage.vo.response.CameraDetailVo">
|
|
|
select c.id ,c.sn_code,c.activated_time ,d.create_time as outTime ,d.type,d.own as outType ,co.company_name ,u.user_name, c.wifi_name,
|
|
|
- d.order_sn,an.id as agentId,an.name as agentName,d.buy_date,d.colour,d.version,d.feedback_option_id ,fo.name_cn as feedbackOptionName
|
|
|
+ d.order_sn,an.id as agentId,an.name as agentName,d.buy_date,d.colour,d.version,d.feedback_option_id
|
|
|
from t_camera c
|
|
|
left join t_camera_detail d on c.id = d.camera_id
|
|
|
left join t_company co on d.company_id = co.id
|
|
|
left join t_user u on d.user_id = u.id
|
|
|
left join t_agent_new an on d.agent_id = an.id
|
|
|
- left join t_feedback_option fo on d.feedback_option_id = fo.id
|
|
|
where c.rec_status = 'A'
|
|
|
<if test="param.userId !=null ">
|
|
|
and d.user_id = #{param.userId}
|