Commit 3f0bd8b1 by 284718418@qq.com

合并 审批汇总新增加急字段

parent 35cbe3c8
...@@ -97,6 +97,9 @@ public class SpmkApproveSummary extends Model<SpmkApproveSummary> { ...@@ -97,6 +97,9 @@ public class SpmkApproveSummary extends Model<SpmkApproveSummary> {
@ApiModelProperty(value = "部门名称", example = "部门名称") @ApiModelProperty(value = "部门名称", example = "部门名称")
private String bmName; private String bmName;
@ApiModelProperty(value = "是否加急", example = "0-否 1-是")
private Integer isUrgent;
......
...@@ -652,7 +652,8 @@ public class SpmkController { ...@@ -652,7 +652,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("审批汇总-新增异常");
......
...@@ -57,4 +57,7 @@ public class SpmkApproveSummaryDto{ ...@@ -57,4 +57,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