You've already forked FrameTour-BE
bug
This commit is contained in:
@ -96,6 +96,7 @@
|
||||
select *
|
||||
from device_config
|
||||
where device_id = #{deviceId}
|
||||
limit 1
|
||||
</select>
|
||||
<select id="getByDeviceId" resultType="com.ycwl.basic.model.pc.device.entity.DeviceEntity">
|
||||
select *
|
||||
|
@ -94,5 +94,6 @@
|
||||
#{id}
|
||||
</foreach>
|
||||
)
|
||||
order by create_at desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
@ -4,6 +4,6 @@
|
||||
<select id="listByMpId" resultType="com.ycwl.basic.model.pc.mp.MpNotifyConfigEntity">
|
||||
select *
|
||||
from mp_notify_config
|
||||
where mp_id = #{mpId}
|
||||
where mp_id = #{mpId} and status = 1
|
||||
</select>
|
||||
</mapper>
|
@ -163,4 +163,11 @@
|
||||
where ms.face_id = #{faceId} and ms.type = 1
|
||||
order by create_time desc
|
||||
</select>
|
||||
<select id="listVideoByScenicFaceRelation" resultType="com.ycwl.basic.model.pc.source.entity.SourceEntity">
|
||||
select s.*
|
||||
from member_source ms
|
||||
left join source s on ms.source_id = s.id
|
||||
where ms.face_id = #{faceId} and ms.type = 1 and ms.scenic_id = #{scenicId}
|
||||
order by create_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
@ -55,7 +55,7 @@
|
||||
</delete>
|
||||
<select id="list" resultType="com.ycwl.basic.model.pc.task.resp.TaskRespVO">
|
||||
select id, worker_id, face_id, member_id, template_id, scenic_id, task_params, video_url, `status`, result, create_time, update_time, start_time, end_time
|
||||
from task
|
||||
from task
|
||||
<where>
|
||||
<if test="workerId!= null">and worker_id = #{workerId} </if>
|
||||
<if test="memberId!= null">and member_id = #{memberId} </if>
|
||||
|
@ -110,4 +110,9 @@
|
||||
from template t
|
||||
where t.scenic_id = #{scenicId} and t.pid = 0 and t.status = 1
|
||||
</select>
|
||||
<select id="get" resultType="com.ycwl.basic.model.pc.template.entity.TemplateEntity">
|
||||
select *
|
||||
from template
|
||||
where id = #{id}
|
||||
</select>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user