@@ -22,7 +22,7 @@
<if test="dto.year != null and dto.month != null">
and YEAR(t.date_of_issue) = #{dto.year}
and MONTH(t.date_of_issue) = #{dto.month}
- and t.job_number = #{dto.jobNumber}
+ and t1.job_number = #{dto.jobNumber}
</if>
</select>