|
@@ -324,6 +324,9 @@
|
|
<if test="outstandingArgument != null and outstandingArgument != ''">and p.outstanding_argument =
|
|
<if test="outstandingArgument != null and outstandingArgument != ''">and p.outstanding_argument =
|
|
#{outstandingArgument}
|
|
#{outstandingArgument}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="year != null and year != ''"><!-- 开始时间检索 -->
|
|
|
|
+ AND date_format(p.update_time,'%Y') = #{year}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
order by p.update_time desc
|
|
order by p.update_time desc
|
|
</select>
|
|
</select>
|
|
@@ -390,6 +393,9 @@
|
|
<if test="endTime != null and endTime != ''"><!-- 结束时间检索 -->
|
|
<if test="endTime != null and endTime != ''"><!-- 结束时间检索 -->
|
|
AND date_format(create_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d')
|
|
AND date_format(create_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="year != null and year != ''"><!-- 开始时间检索 -->
|
|
|
|
+ AND date_format(update_time,'%Y') = #{year}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
order by create_time desc
|
|
order by create_time desc
|
|
</select>
|
|
</select>
|