日照智慧社区接口服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
596 B

<?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="com.epmet.dao.stats.DimDateDao">
<select id="selectDimDate" resultType="com.epmet.dto.stats.DimDateDTO">
SELECT
*
FROM
`dim_date`
WHERE
del_flag = '0'
<if test="createdTime != null and createdTime.trim() != ''">
AND DATE_FORMAT(created_time, "%Y-%m-%d") = #{createdTime}
</if>
ORDER BY created_time DESC
</select>
</mapper>