初始化git 基础代码
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
server:
|
||||
port: ${server.port:51701}
|
||||
spring:
|
||||
application:
|
||||
name: leadnews-schedule
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 192.168.200.130:8848
|
||||
config:
|
||||
server-addr: 192.168.200.130:8848
|
||||
file-extension: yml
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
<?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.heima.schedule.mapper.TaskinfoMapper">
|
||||
|
||||
<select id="queryFutureTime" resultType="com.heima.model.schedule.pojos.Taskinfo">
|
||||
select *
|
||||
from taskinfo
|
||||
where task_type = #{taskType}
|
||||
and priority = #{priority}
|
||||
and execute_time <![CDATA[<]]> #{future,javaType=java.util.Date}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user