<?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="org.dromara.system.mapper.TblDzbcOrderMapper">

    <select id="queryListByGroup" resultType="org.dromara.system.domain.vo.TblDzbcOrderVo"
            parameterType="org.dromara.system.domain.bo.TblDzbcOrderBo">
       select a.num , a.cdate as create_time from  ( select  count(*) as num, date_format(create_time,'%Y-%m-%d') as cdate from tbl_dzbc_order  ${ew.getCustomSqlSegment} group by cdate) a
    </select>
</mapper>
