Commit bdb7a457 authored by 张宇杰's avatar 张宇杰

修改

parent e251d407
...@@ -1098,7 +1098,7 @@ ...@@ -1098,7 +1098,7 @@
create_id as 'createId' create_id as 'createId'
from t_record from t_record
<where> <where>
AND create_id = #{realID} (create_id = '0696a85864f34816adf41e7ce363751c')
<if test="createBy != null and createBy != ''"> <if test="createBy != null and createBy != ''">
AND create_by like concat(concat('%',#{createBy},'%')) AND create_by like concat(concat('%',#{createBy},'%'))
</if> </if>
...@@ -1108,9 +1108,6 @@ ...@@ -1108,9 +1108,6 @@
<if test="createTime != null"> <if test="createTime != null">
AND create_time = #{createTime} AND create_time = #{createTime}
</if> </if>
<if test="qnYear == null or qnYear == ''"><!-- 年份 -->
AND qn_year = YEAR(NOW())
</if>
<if test="qnYear != null and qnYear != ''"><!-- 年份 --> <if test="qnYear != null and qnYear != ''"><!-- 年份 -->
AND qn_year = #{qnYear} AND qn_year = #{qnYear}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment