...
|
...
|
@@ -47,12 +47,12 @@ |
|
|
select
|
|
|
*
|
|
|
from task_shedule
|
|
|
where addsource = #{page.params.addSource,jdbcType=INTEGER}
|
|
|
<if test="page.params.eventName != null && page.params.eventName != ''" >
|
|
|
and eventname like CONCAT('%',#{page.params.eventName,jdbcType=VARCHAR},'%' )
|
|
|
where addsource = #{params.addSource,jdbcType=INTEGER}
|
|
|
<if test="params.eventName != null && params.eventName != ''" >
|
|
|
and eventname like CONCAT('%',#{params.eventName,jdbcType=VARCHAR},'%' )
|
|
|
</if>
|
|
|
order by id
|
|
|
limit #{page.startIndex},#{page.pageSize}
|
|
|
limit #{startIndex},#{pageSize}
|
|
|
</select>
|
|
|
|
|
|
<!--<select id="selectByPageWithSourceGateway" resultMap="BaseResultMap">
|
...
|
...
|
@@ -71,9 +71,9 @@ |
|
|
select
|
|
|
count(1)
|
|
|
from task_shedule
|
|
|
where addsource = #{page.params.addSource,jdbcType=INTEGER}
|
|
|
<if test="page.params.eventName != null && page.params.eventName != ''" >
|
|
|
and eventname like CONCAT('%',#{page.params.eventName,jdbcType=VARCHAR},'%' )
|
|
|
where addsource = #{params.addSource,jdbcType=INTEGER}
|
|
|
<if test="params.eventName != null && params.eventName != ''" >
|
|
|
and eventname like CONCAT('%',#{params.eventName,jdbcType=VARCHAR},'%' )
|
|
|
</if>
|
|
|
</select>
|
|
|
|
...
|
...
|
|