feat:operationLogService

This commit is contained in:
suzhuhong
2026-05-20 15:58:03 +08:00
parent 9c7800164b
commit b89e8c9352

View File

@@ -788,7 +788,11 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
signFranchiseDAO.updateAuditByShopId(auditId, shopId);
//审批记录表记录
List<OperationLogDO> operationLogs = operationLogDAO.getBySubStageStatusEnumAndsStatus(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_83_5, OperationTypeEnum.OPERATION_TYPE_1.getCode());
operationLogService.batchUpdateProcessed(operationLogs, auditId, user.getUserId(), request.getCause());
if (CollectionUtils.isEmpty(operationLogs)){
operationLogService.handleApproveTimeNoDate(shopId,SHOP_SUB_STAGE_STATUS_83_5,auditId, user.getUserId(), request.getCause());
}else {
operationLogService.batchUpdateProcessed(operationLogs, auditId, user.getUserId(), request.getCause());
}
return true;
} else {
throw new ServiceException(ErrorCodeEnum.DUPLICATE_SUBMISSION);