Commit 4f0a3b53 authored by 徐俊's avatar 徐俊

xujun

parent fa08fd34
...@@ -57,4 +57,8 @@ public class ComTalentBudget extends BaseEntity { ...@@ -57,4 +57,8 @@ public class ComTalentBudget extends BaseEntity {
/** 排序 */ /** 排序 */
@ApiModelProperty(value = "排序", position = 9) @ApiModelProperty(value = "排序", position = 9)
private Integer showIndex; private Integer showIndex;
/** 是否为必填项 */
@ApiModelProperty(value = "是否为必填项", position = 10)
private Boolean isRequired;
} }
\ No newline at end of file
...@@ -45,4 +45,7 @@ public class ComTalentBudgetDTO extends BaseDTO { ...@@ -45,4 +45,7 @@ public class ComTalentBudgetDTO extends BaseDTO {
@ApiModelProperty(value = "排序") @ApiModelProperty(value = "排序")
private Integer showIndex; private Integer showIndex;
@ApiModelProperty(value = "是否为必填项", position = 8)
private Boolean isRequired;
} }
\ No newline at end of file
...@@ -42,4 +42,10 @@ public class ComTalentBudgetQueryVO extends PaginationVO { ...@@ -42,4 +42,10 @@ public class ComTalentBudgetQueryVO extends PaginationVO {
@ApiModelProperty(value = "第五年预算") @ApiModelProperty(value = "第五年预算")
private BigDecimal yearValue5; private BigDecimal yearValue5;
@ApiModelProperty(value = "排序")
private Integer showIndex;
@ApiModelProperty(value = "是否为必填项", position = 8)
private Boolean isRequired;
} }
\ No newline at end of file
...@@ -74,6 +74,7 @@ public class ComTalentBudgetServiceImpl extends BaseServiceImpl<ComTalentBudgetD ...@@ -74,6 +74,7 @@ public class ComTalentBudgetServiceImpl extends BaseServiceImpl<ComTalentBudgetD
newVO.setYearValue5(new BigDecimal(0.00)); newVO.setYearValue5(new BigDecimal(0.00));
newVO.setBudgetName(p.getName()); newVO.setBudgetName(p.getName());
newVO.setShowIndex(i); newVO.setShowIndex(i);
newVO.setIsRequired(p.getIsRequired());
budgetList.add(newVO); budgetList.add(newVO);
i++; i++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment