puzhibing
2023-08-04 7e312fda9048ef171ff146acf6c8c679d123d357
cloud-server-competition/src/main/resources/mapper/CompetitionMapper.xml
@@ -13,9 +13,8 @@
            a.registerCondition,
            a.introduction,
            DATE_FORMAT(a.registerEndTime, '%Y-%m-%d %H:%i') as registerEndTime,
            CONCAT(a.startAge, '-', a.endAge) as age,
            (a.baseNumber + a.applicantsNumber) as heat
            CONCAT(a.startAge, '-', a.endAge) as `age`,
            (a.baseNumber + a.applicantsNumber) as `heat`
            from t_competition a
            where a.auditStatus = 2 and a.`status` = 2 and a.state = 1
            <if test="null != cityCode and '' != cityCode">