xuhy
2024-12-11 0a1533fd30ec1a2f4624ccda4ff11f2535ea8a46
ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml
@@ -39,7 +39,7 @@
        WHERE 1=1 and tt.is_delete = 0
        <if test="cityCode != null and cityCode.size() > 0">
            <foreach collection="cityCode" item="id"  separator=",">
                and   FIND_IN_SET(#{id}, tt.region_ids)
                or   FIND_IN_SET(#{id}, tt.region_ids)
            </foreach>
        </if>
    </select>
@@ -208,6 +208,7 @@
        select  sum(payment_amount),count(1)
            from t_order
        <where>
            is_delete = 0
            <if test="dayType == 1">
               and  DATE(create_time ) = CURDATE()
            </if>