111
This commit is contained in:
		@ -23,6 +23,9 @@ public class WgzAppCancelRegistrationProjectDetailsRes implements Serializable {
 | 
			
		||||
	@ApiModelProperty("主键ID")
 | 
			
		||||
	private Long id;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("招工申请主键ID")
 | 
			
		||||
	private Long recruitApplyId;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("项目ID")
 | 
			
		||||
	private Long projectId;
 | 
			
		||||
 | 
			
		||||
@ -105,10 +108,13 @@ public class WgzAppCancelRegistrationProjectDetailsRes implements Serializable {
 | 
			
		||||
	//-----------
 | 
			
		||||
	//-----------
 | 
			
		||||
	//-----------
 | 
			
		||||
	@ApiModelProperty("消息主键ID")
 | 
			
		||||
	private Long messageId;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("是否需要操作(0不需要 1需要 2已操作)")
 | 
			
		||||
	private String isOperation;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("招工是否正常(0正常 1已招满 2已失效)")
 | 
			
		||||
	@ApiModelProperty("招工是否正常(1正常 2已招满 3已失效)")
 | 
			
		||||
	private String full;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("务工者状态:0报名 1包工同意  2包工头拒绝 3务工者同意  4务工者拒绝  5进场 6离场 7取消")
 | 
			
		||||
 | 
			
		||||
@ -82,7 +82,7 @@ public class WgzAppRegistrationInformationRes implements Serializable {
 | 
			
		||||
	@ApiModelProperty("招工是否正常(0正常 1已招满 2已失效)")
 | 
			
		||||
	private String full;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("务工者同意拒绝状态:3务工者同意  4务工者拒绝")
 | 
			
		||||
	@ApiModelProperty("务工者状态:0报名 1包工同意  2包工头拒绝 3务工者同意  4务工者拒绝  5进场 6离场 7取消")
 | 
			
		||||
	private String status;
 | 
			
		||||
 | 
			
		||||
//	@ApiModelProperty("附件实体数据")
 | 
			
		||||
 | 
			
		||||
@ -51,8 +51,7 @@ import java.time.LocalDateTime;
 | 
			
		||||
import java.time.temporal.TemporalAdjusters;
 | 
			
		||||
import java.util.*;
 | 
			
		||||
 | 
			
		||||
import static com.ruoyi.common.constants.BgtMessageConstant.BGT_SMALL_MAKE_UP;
 | 
			
		||||
import static com.ruoyi.common.constants.BgtMessageConstant.BGT_TYPE_SIGN_UP;
 | 
			
		||||
import static com.ruoyi.common.constants.BgtMessageConstant.*;
 | 
			
		||||
import static com.ruoyi.common.constants.WgzAndBgtMessageConstant.*;
 | 
			
		||||
import static com.ruoyi.common.constants.WgzAndBgtMessageConstant.USERTYPE_BGT;
 | 
			
		||||
 | 
			
		||||
@ -275,7 +274,7 @@ public class WgzDailyClockServiceImpl extends ServicePlusImpl<WgzDailyClockMappe
 | 
			
		||||
				setSubheading(WgzAndBgtMessageConstant.wgzMessage(mp,"212")).
 | 
			
		||||
				setTableId(dc.getId()).
 | 
			
		||||
				setTableName(SqlHelper.table(WgzDailyClock.class).getTableName()).
 | 
			
		||||
				setMessageLargeType(BGT_TYPE_SIGN_UP).
 | 
			
		||||
				setMessageLargeType(BGT_LARGE_OTHER).
 | 
			
		||||
				setMessageSmallType(BGT_SMALL_MAKE_UP);
 | 
			
		||||
			if (!iBgtMessageService.sendAMessage(bgtMessage)){
 | 
			
		||||
				throw new RuntimeException("发送日报补卡消息失败!");
 | 
			
		||||
 | 
			
		||||
@ -237,7 +237,7 @@ public class WgzMessageServiceImpl extends ServicePlusImpl<WgzMessageMapper, Wgz
 | 
			
		||||
		if(count == num){
 | 
			
		||||
			return "1"; //已招满
 | 
			
		||||
		}
 | 
			
		||||
		if (!LocalDate.now().isBefore(recruitEndTime)){
 | 
			
		||||
		if (LocalDate.now().isAfter(recruitEndTime)){
 | 
			
		||||
			return "2"; //已失效
 | 
			
		||||
		}
 | 
			
		||||
		return "0";
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user