叫号接口
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.czg.service.account.mapper.CallQueueMapper">
|
||||
|
||||
<select id="selectCallRecord" resultType="com.czg.account.dto.calltable.CallRecordVO">
|
||||
select tb_call_queue.*, tb_call_table.note, TIMESTAMPDIFF(SECOND, tb_call_queue.create_time, NOW()) as since_at
|
||||
from tb_call_queue
|
||||
left join tb_call_table on tb_call_queue.call_table_id = tb_call_table.id
|
||||
${qwSql}
|
||||
limit ${pageOffset}, ${pageSize}
|
||||
</select>
|
||||
<select id="selectCallRecord_COUNT" resultType="java.lang.Long">
|
||||
select count(1)
|
||||
from tb_call_queue
|
||||
left join tb_call_table on tb_call_queue.call_table_id = tb_call_table.id
|
||||
${qwSql}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user