上下班缺卡定时任务
This commit is contained in:
@ -4,6 +4,8 @@ import com.ruoyi.common.bo.PageReq;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
@ -16,11 +18,11 @@ import java.time.LocalDateTime;
|
||||
@NoArgsConstructor
|
||||
@Accessors(chain = true)
|
||||
@ApiModel("项目进行中请求对象")
|
||||
public class WgzAppUnderwayReq extends PageReq {
|
||||
|
||||
public class WgzAppUnderwayReq extends PageReq implements Serializable {
|
||||
@ApiModelProperty("1进行中 2已完成")
|
||||
private String type;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "务工者唯一标识",hidden = true)
|
||||
private Long userId;
|
||||
}
|
||||
|
@ -123,4 +123,9 @@ public interface IWgzAttendanceService extends IServicePlus<WgzAttendance> {
|
||||
*/
|
||||
BgtAttendanceDetailVO bgtAttendanceDetail(BgtAttendanceDetailDTO dto);
|
||||
|
||||
/**
|
||||
* 添加缺卡记录
|
||||
*/
|
||||
Boolean addAMissingCardRecord (List<WgzAttendance> list);
|
||||
|
||||
}
|
||||
|
@ -631,4 +631,10 @@ public class WgzAttendanceServiceImpl extends ServicePlusImpl<WgzAttendanceMappe
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Boolean addAMissingCardRecord(List<WgzAttendance> list) {
|
||||
return super.saveBatch(list);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user