|
@@ -44,7 +44,7 @@
|
|
|
LEFT JOIN xjr_department d ON w.dept_id = d.id
|
|
|
LEFT JOIN base_personnel_labour_capital_title bp ON bp.labour_capital_id = t.id
|
|
|
WHERE
|
|
|
- t.delete_mark = 0 and t.category = #{dto.category}
|
|
|
+ t.delete_mark = 0 and t1.category = #{dto.category}
|
|
|
and YEAR(t1.date_of_issue) = #{dto.year}
|
|
|
and t.job_number = #{dto.jobNumber}
|
|
|
</select>
|