Pu Zhibing
5 小时以前 821fc2f632f8b974a2c0fc37630e13c5fbe6086c
ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/UserActivityMapper.xml
@@ -47,7 +47,10 @@
        (select count(id) from t_order_cross_city where state in (6,8,9) and activityId = a.id)
        ) as number
        from t_user_activity a
        where a.companyId = #{companyId}
        where 1 = 1
        <if test="null != companyId">
            and a.companyId = #{companyId}
        </if>
        <if test="null != start and null != end">
            and a.insertTime between #{start} and #{end}
        </if>