Commit 857b68ca by 龙于生

审批汇总新增加急字段

parent 1e60c1b9
...@@ -96,7 +96,9 @@ public class SpmkApproveSummary extends Model<SpmkApproveSummary> { ...@@ -96,7 +96,9 @@ public class SpmkApproveSummary extends Model<SpmkApproveSummary> {
private String bmId; private String bmId;
@ApiModelProperty(value = "部门名称", example = "部门名称") @ApiModelProperty(value = "部门名称", example = "部门名称")
private String bmName; private String bmName;
@ApiModelProperty(value = "是否加急", example = "0-否 1-是")
private Integer isUrgent;
......
...@@ -668,7 +668,8 @@ public class SpmkController { ...@@ -668,7 +668,8 @@ public class SpmkController {
.approveName(spmkApproveSummaryDto.getApproveName()) .approveName(spmkApproveSummaryDto.getApproveName())
.assoType(spmkApproveSummaryDto.getAssoType()) .assoType(spmkApproveSummaryDto.getAssoType())
.sts(ApproveSummarySts.IN.ordinal()) .sts(ApproveSummarySts.IN.ordinal())
.currentApprover(currentApprover).build(); .currentApprover(currentApprover).isUrgent(spmkApproveSummaryDto.getIsUrgent())
.build();
if (!as.insert()) { if (!as.insert()) {
throw new CustomException("审批汇总-新增异常"); throw new CustomException("审批汇总-新增异常");
......
...@@ -59,4 +59,7 @@ public class SpmkApproveSummaryDto{ ...@@ -59,4 +59,7 @@ public class SpmkApproveSummaryDto{
@ApiModelProperty(value = "审批流程", example = "审批流程", required = true) @ApiModelProperty(value = "审批流程", example = "审批流程", required = true)
private Router router; private Router router;
@ApiModelProperty(value = "是否加急", example = "是否加急", required = true)
private Integer isUrgent;
} }
...@@ -80,7 +80,8 @@ ...@@ -80,7 +80,8 @@
a.update_time, a.update_time,
a.end_time, a.end_time,
a.digest, a.digest,
a.is_delete a.is_delete,
a.is_urgent
</sql> </sql>
<sql id="Base_Column_List_Alias"> <sql id="Base_Column_List_Alias">
......
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