1
zhang
1 天以前 7d116115ade208f26ada36806642d2a3a6085c91
zy-acs-cv/src/main/resources/mapper/JobMapper.xml
@@ -71,10 +71,18 @@
        where job_sts = #{jobSts}
    </select>
    <select id="listJobByJobStsAndDay" resultMap="BaseResultMap">
        select *
        from cv_job
        where job_sts = #{jobSts}
          and DATEDIFF(NOW(), #{day}) > 1
    </select>
    <select id="listJobToLog" resultMap="BaseResultMap">
        select *
        from cv_job
        where job_sts = #{jobSts} and DATEDIFF(NOW(), #{day}) > 1
        where job_sts = #{jobSts}
          and DATEDIFF(NOW(), #{day}) > 1
    </select>
</mapper>