src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -359,4 +359,17 @@ a.status <![CDATA[< ]]> 4 and a.member_id = #{memberId} </select> <select id="selectCountByCreateTime" resultType="java.lang.Integer"> select count(a.id) from mall_order_info a where a.status = 4 and a.comment_state = 2 <if test="createdTime != null"> and date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createdTime} </if> </select> </mapper>