feat(material-task): 新增年份参数

This commit is contained in:
han0
2023-11-23 18:43:48 +08:00
parent 1a647d1b0c
commit e49a121280
2 changed files with 4 additions and 0 deletions

View File

@@ -113,6 +113,7 @@ public class MaterialTask extends Model<MaterialTask> {
public MaterialTask(MaterialTaskCreateRequest params, SaBaseLoginUser user) { public MaterialTask(MaterialTaskCreateRequest params, SaBaseLoginUser user) {
this.type = params.getType(); this.type = params.getType();
this.month = params.getMonth(); this.month = params.getMonth();
this.year = params.getYear();
this.file = params.getFile(); this.file = params.getFile();
this.createUserId = user.getId(); this.createUserId = user.getId();

View File

@@ -9,6 +9,9 @@ public class MaterialTaskCreateRequest {
@ApiModelProperty("任务类型") @ApiModelProperty("任务类型")
private Integer type; private Integer type;
@ApiModelProperty("年份")
private Integer year;
@ApiModelProperty("月份") @ApiModelProperty("月份")
private Integer month; private Integer month;