修改bug

This commit is contained in:
yangjun 2026-03-05 17:09:20 +08:00
parent fab292eb6f
commit 65acd6e306
2 changed files with 4 additions and 2 deletions

View File

@ -207,7 +207,9 @@
where b.employee_id = #{employeeId}
and b.status = #{status}
and b.iz_history = #{izHistory}
<if test="applyType != null and applyType !=''">
and b.apply_type = #{applyType}
</if>
order by b.create_time desc
limit 1
</select>

View File

@ -104,7 +104,7 @@ public class EmployeesApplyServiceImpl extends ServiceImpl<EmployeesApplyMapper,
usingEa.setEmployeeId(employeesApply.getEmployeeId());
usingEa.setStatus("1");
usingEa.setIzHistory("N");
usingEa.setApplyType("2");
// usingEa.setApplyType("2");
EmployeesApply modifyData = baseMapper.getModifyData(usingEa);
if (modifyData == null) {
return Collections.emptyList();