|
@@ -4,11 +4,10 @@
|
|
|
|
|
|
<select id="pageList" resultType="com.fdkankan.ucenter.vo.response.CameraVo">
|
|
|
select c.id,c.sn_code,c.child_name ,d.balance,d.type , d.total_space,d.used_space,
|
|
|
- u.id as cooperationUser,u.user_name as cooperationUserName,g.pic,d.goods_id
|
|
|
+ u.id as cooperationUser,u.user_name as cooperationUserName
|
|
|
from t_camera c
|
|
|
left join t_camera_detail d on c.id = d.camera_id
|
|
|
left join t_user u on d.cooperation_user = u.id
|
|
|
- left join t_goods g on d.goods_id = g.id
|
|
|
WHERE c.rec_status = 'A'
|
|
|
<if test="param.selecttype !=null and param.selecttype == 2 and param.childName !=null and param.childName!='' ">
|
|
|
and c.child_name like CONCAT('%',#{param.childName},'%')
|
|
@@ -30,7 +29,6 @@
|
|
|
<select id="getCameraInfo" resultType="com.fdkankan.ucenter.vo.response.CameraAppVo">
|
|
|
select * from t_camera c
|
|
|
left join t_camera_detail d on c.id = d.camera_id
|
|
|
- left join t_goods g on d.goods_id = g.id
|
|
|
left join t_user u on d.user_id = u.id
|
|
|
where c.rec_status = 'A'
|
|
|
and c.child_name = #{childName}
|