feat:operationLogService
This commit is contained in:
@@ -788,7 +788,11 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
|||||||
signFranchiseDAO.updateAuditByShopId(auditId, shopId);
|
signFranchiseDAO.updateAuditByShopId(auditId, shopId);
|
||||||
//审批记录表记录
|
//审批记录表记录
|
||||||
List<OperationLogDO> operationLogs = operationLogDAO.getBySubStageStatusEnumAndsStatus(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_83_5, OperationTypeEnum.OPERATION_TYPE_1.getCode());
|
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;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
throw new ServiceException(ErrorCodeEnum.DUPLICATE_SUBMISSION);
|
throw new ServiceException(ErrorCodeEnum.DUPLICATE_SUBMISSION);
|
||||||
|
|||||||
Reference in New Issue
Block a user