Commit f091c2d4 by huluobin

是否自动审核

parent 90ba06de
......@@ -32,6 +32,8 @@ public class CostTemplateApiDto {
@ApiModelProperty("是否开启最终人审核")
private Boolean enableFinalReview;
private Boolean setAutoCheck;
@ApiModelProperty("更新时间")
private LocalDateTime startTime;
@ApiModelProperty("更新时间")
......
......@@ -52,7 +52,7 @@ public class CostTemplate implements Serializable {
@ApiModelProperty("自动审核金额 冗余从表金额字段")
private BigDecimal autoCheckAmount;
@TableField(exist = false)
// @TableField(exist = false)
@ApiModelProperty("是否设置了自动审核")
private Boolean setAutoCheck;
......
......@@ -129,6 +129,9 @@ public class CostTemplateServiceImpl extends ServiceImpl<CostTemplateMapper, Cos
if (req.getCreateEndTime() != null) {
wrapper.le(CostTemplate::getCreateTime, req.getCreateEndTime());
}
if (req.getSetAutoCheck() != null) {
wrapper.eq(CostTemplate::getSetAutoCheck, req.getSetAutoCheck());
}
List<CostTemplate> costTemplateList = this.list(wrapper);
costTemplateColService.setCostTemplateCol(costTemplateList);
return costTemplateList;
......
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