|
@@ -677,6 +677,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(2);
|
|
detail.setStatus(2);
|
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -746,6 +748,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(4);
|
|
detail.setStatus(4);
|
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -769,6 +773,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (bills == null) {
|
|
if (bills == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(3);
|
|
detail.setStatus(3);
|
|
|
detail.setAuditDateTo(new Date());
|
|
detail.setAuditDateTo(new Date());
|
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
@@ -790,6 +796,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(4);
|
|
detail.setStatus(4);
|
|
|
detail.setAuditDateTo(new Date());
|
|
detail.setAuditDateTo(new Date());
|
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
int count = finStlBillsMapper.updateById(detail);
|
|
@@ -866,6 +874,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(2);
|
|
detail.setStatus(2);
|
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -934,6 +944,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(4);
|
|
detail.setStatus(4);
|
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -957,6 +969,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (bills == null) {
|
|
if (bills == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(3);
|
|
detail.setStatus(3);
|
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -977,6 +991,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(4);
|
|
detail.setStatus(4);
|
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
int count = finInvoicesMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -1052,6 +1068,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(2);
|
|
detail.setStatus(2);
|
|
|
int count = amendsMapper.updateById(detail);
|
|
int count = amendsMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -1125,6 +1143,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(4);
|
|
detail.setStatus(4);
|
|
|
int count = amendsMapper.updateById(detail);
|
|
int count = amendsMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
@@ -1151,6 +1171,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (bills == null) {
|
|
if (bills == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setApprovedDate(new Date());
|
|
detail.setApprovedDate(new Date());
|
|
|
detail.setStatus(3);
|
|
detail.setStatus(3);
|
|
|
int count = amendsMapper.updateById(detail);
|
|
int count = amendsMapper.updateById(detail);
|
|
@@ -1204,6 +1226,8 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, L
|
|
|
if (detail == null) {
|
|
if (detail == null) {
|
|
|
throw new SecurityException("审批通过失败");
|
|
throw new SecurityException("审批通过失败");
|
|
|
}
|
|
}
|
|
|
|
|
+ int version = StringUtil.isBlank(detail.getVersion()) ? 1 : Integer.parseInt(detail.getVersion());
|
|
|
|
|
+ detail.setVersion(String.valueOf(version + 1));
|
|
|
detail.setStatus(4);
|
|
detail.setStatus(4);
|
|
|
int count = amendsMapper.updateById(detail);
|
|
int count = amendsMapper.updateById(detail);
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|