修改取消投递报错问题
This commit is contained in:
@@ -327,6 +327,7 @@ public class AppJobController extends BaseController
|
||||
|
||||
return toAjax(jobApplyService.applyJobCencal(apply));
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
return error("取消投递失败,请稍后重试");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ public class JobApplyServiceImpl extends ServiceImpl<JobApplyMapper,JobApply> im
|
||||
|
||||
public JobApply getApplyInfo(JobApply jobApply){
|
||||
return jobApplyMapper.selectOne(Wrappers.<JobApply>lambdaQuery()
|
||||
.eq(JobApply::getDelFlag, 0)
|
||||
.eq(JobApply::getDelFlag, "0")
|
||||
.eq(JobApply::getJobId, jobApply.getJobId())
|
||||
.eq(JobApply::getUserId, jobApply.getUserId())
|
||||
.last("LIMIT 1"));
|
||||
|
||||
Reference in New Issue
Block a user