优化
This commit is contained in:
@ -82,6 +82,9 @@ public class WgzAppUserApplyForPayrollSettlementDetails {
|
||||
@ApiModelProperty("招工ID")
|
||||
private Long recruitId;
|
||||
|
||||
@ApiModelProperty("招工申请ID")
|
||||
private Long recruitApplyId;
|
||||
|
||||
@ApiModelProperty("务工者ID")
|
||||
private Long userId;
|
||||
|
||||
|
@ -401,6 +401,7 @@ public class WgzPayCalculationServiceImpl extends ServicePlusImpl<WgzPayCalculat
|
||||
.eq(WgzPayCalculationFiles::getCalculationId, id)
|
||||
);
|
||||
wgz.setFiles(files);
|
||||
wgz.setRecruitApplyId(wgzPayCalculation.getApplyKey());
|
||||
return wgz;
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
LEFT JOIN fbs_project_task as c ON (c.id = b.task_id)
|
||||
LEFT JOIN sys_dict_data as d ON (d.dict_type = 'type_of_work' and d.dict_value = b.type_of_work)
|
||||
WHERE
|
||||
b.id not in (SELECT recruit_id FROM bgt_project_recruit_apply WHERE user_id = #{req.userId} and status in ("3","5")) and
|
||||
b.id not in (SELECT recruit_id FROM bgt_project_recruit_apply WHERE user_id = #{req.userId} and status in ("0","1","3","5")) and
|
||||
b.status = '1' and
|
||||
DATE_FORMAT(NOW(), '%Y-%m-%d') BETWEEN b.recruit_begin_time AND b.recruit_end_time and
|
||||
b.del_flag = 0
|
||||
|
Reference in New Issue
Block a user