|
@@ -121,7 +121,7 @@ public class ContractInvoiceEvent extends BaseController {
|
|
|
if (!Objects.isNull(activityInstance) && activityInstance.containsKey("id")) {
|
|
|
String flowInstanceId = flowInstance.get("id").toString();
|
|
|
ContractInvoice entity = contractInvoiceService.selectByInstanceId(flowInstanceId);
|
|
|
- entity.setFlowStatus(ContractInvoiceConstants.INVOICE_ACTIVITY_FINISH);
|
|
|
+ entity.setFlowStatus(ContractInvoiceConstants.INVOICE_FINISH);
|
|
|
entity.setFlowFinishtime(LocalDateTime.now());
|
|
|
flowContractInvoiceService.updateById(entity);
|
|
|
}
|
|
@@ -147,7 +147,6 @@ public class ContractInvoiceEvent extends BaseController {
|
|
|
if (!Objects.isNull(flowInstance) && flowInstance.containsKey("id")) {
|
|
|
String flowInstanceId = flowInstance.get("id").toString();
|
|
|
ContractInvoice entity = contractInvoiceService.selectByInstanceId(flowInstanceId);
|
|
|
- entity.setFlowStatus(ContractInvoiceConstants.INVOICE_FINISH);
|
|
|
entity.setFlowFinishtime(LocalDateTime.now());
|
|
|
flowContractInvoiceService.updateById(entity);
|
|
|
projectService.calcProject(entity.getProjectId());
|