Blame view

RenshejuHistoryMapper.xml 959 Bytes
涂亚平 committed
1 2 3 4
<?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.subsidy.mapper.RenshejuHistoryMapper">

涂亚平 committed
5 6 7 8 9 10 11 12 13 14
   <select id="dailyData" parameterType="string" resultType="com.subsidy.model.RenshejuHistoryDO">
        SELECT
            *
        FROM
            rensheju_history t
        WHERE
            t.delete_date IS NULL
            AND DATE_FORMAT( t.create_date, '%Y-%m-%d' ) = DATE_FORMAT( now(), '%Y-%m-%d' )
            AND t.interface_name = #{post}
   </select>
涂亚平 committed
15

涂亚平 committed
16 17 18 19 20 21 22 23 24 25
    <select id="dailyDatas" parameterType="string" resultType="com.subsidy.model.RenshejuHistoryDO">
        SELECT
            *
        FROM
            rensheju_history t
        WHERE
            t.delete_date IS NULL
            AND DATE_FORMAT( t.create_date, '%Y-%m-%d' ) = DATE_FORMAT( now(), '%Y-%m-%d' )
            AND t.interface_name = #{post}
   </select>
涂亚平 committed
26
</mapper>