优化
This commit is contained in:
		@ -29,4 +29,7 @@ public class BgtAttendanceDetailDTO {
 | 
			
		||||
	@ApiModelProperty("日期")
 | 
			
		||||
	private LocalDate date;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("招工申请ID")
 | 
			
		||||
	private Long recruitApplyId;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ import java.time.LocalDate;
 | 
			
		||||
@Data
 | 
			
		||||
@NoArgsConstructor
 | 
			
		||||
@Accessors(chain = true)
 | 
			
		||||
@ApiModel("App包工头总体考勤视图对象")
 | 
			
		||||
@ApiModel("App包工头个人考勤基础信息视图对象")
 | 
			
		||||
public class BgtAttendancePersonBaseInfoVO {
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("务工者Id")
 | 
			
		||||
@ -25,12 +25,15 @@ public class BgtAttendancePersonBaseInfoVO {
 | 
			
		||||
	@ApiModelProperty("头像")
 | 
			
		||||
	private String avatarName;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("身份证号码")
 | 
			
		||||
	private String identityCard;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("进场时间")
 | 
			
		||||
	private LocalDate entryTime;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("离场时间")
 | 
			
		||||
	private LocalDate leaveTime;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("选择状态(0未选择 1已选择)")
 | 
			
		||||
	@ApiModelProperty("0报名 1包工同意  2包工头拒绝(截止时间)3务工者同意  4务工者拒绝  5进场 6离场")
 | 
			
		||||
	private String status;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -11,7 +11,7 @@ import java.util.List;
 | 
			
		||||
@Data
 | 
			
		||||
@NoArgsConstructor
 | 
			
		||||
@Accessors(chain = true)
 | 
			
		||||
@ApiModel("App包工头总体考勤视图对象")
 | 
			
		||||
@ApiModel("App包工头个人考勤统计视图对象")
 | 
			
		||||
public class BgtAttendancePersonCountVO {
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("出勤天数")
 | 
			
		||||
 | 
			
		||||
@ -146,14 +146,6 @@ public class BgtProjectRecruitApplyServiceImpl extends ServicePlusImpl<BgtProjec
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public TableDataInfo<BgtProjectRecruitApplyVO> appQueryPageList(BgtProjectRecruitApplyQueryDTO dto) {
 | 
			
		||||
		if (dto.getTaskId() != null) {
 | 
			
		||||
			List<Long> recruitIdsByTaskId = iBgtProjectRecruitService.getRecruitIdsByTaskId(dto.getTaskId());
 | 
			
		||||
			if (dto.getRecruitIds() == null) {
 | 
			
		||||
				dto.setRecruitIds(recruitIdsByTaskId);
 | 
			
		||||
			} else {
 | 
			
		||||
				dto.getRecruitIds().addAll(recruitIdsByTaskId);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		if(dto.getDate()!=null){
 | 
			
		||||
			LocalDate date = dto.getDate();
 | 
			
		||||
			dto.setBeginDate(date.with(TemporalAdjusters.firstDayOfMonth()));
 | 
			
		||||
 | 
			
		||||
@ -101,7 +101,7 @@ public class BgtWageApplicationServiceImpl extends ServicePlusImpl<BgtWageApplic
 | 
			
		||||
			.setRecipientId(add.getUserId())
 | 
			
		||||
			.setHeadline(map.get(HEADLINE))
 | 
			
		||||
			.setSubheading(map.get(SUBHEADING))
 | 
			
		||||
			.setTableId(task.getId())
 | 
			
		||||
			.setTableId(add.getId())
 | 
			
		||||
			.setTableName(SqlHelper.table(FbsProjectTask.class).getTableName())
 | 
			
		||||
			.setMessageLargeType(BGT_LARGE_SETTLEMENT);
 | 
			
		||||
		bgtMessageService.sendAMessage(bgtMessage);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user