feat(material-task): 新增年份参数
This commit is contained in:
@@ -113,6 +113,7 @@ public class MaterialTask extends Model<MaterialTask> {
|
||||
public MaterialTask(MaterialTaskCreateRequest params, SaBaseLoginUser user) {
|
||||
this.type = params.getType();
|
||||
this.month = params.getMonth();
|
||||
this.year = params.getYear();
|
||||
this.file = params.getFile();
|
||||
|
||||
this.createUserId = user.getId();
|
||||
|
@@ -9,6 +9,9 @@ public class MaterialTaskCreateRequest {
|
||||
@ApiModelProperty("任务类型")
|
||||
private Integer type;
|
||||
|
||||
@ApiModelProperty("年份")
|
||||
private Integer year;
|
||||
|
||||
@ApiModelProperty("月份")
|
||||
private Integer month;
|
||||
|
||||
|
Reference in New Issue
Block a user