v1.0.63 #75

Merged
timi merged 3 commits from dev into master 2026-10-29 12:02:14 +00:00
Showing only changes of commit 6fd765661d - Show all commits
@@ -560,7 +560,8 @@ public class GaoOrderFulfillmentServiceImplement extends AbstractEntityService<G
GaoOrderFulfillment fulfillment = mapper.selectById(request.getFulfillmentId());
TimiException.required(fulfillment, "not found fulfillment");
String loginUserId = userLoginService.getRequireLoginUserId();
TimiException.requiredTrue(loginUserId.equals(fulfillment.getOperatorUserId()), "只能撤销自己提交的履约");
TimiException.requiredTrue(roleChecker.hasAny(ModuleCode.GAO, GaoRoleCode.STORE_MANAGER.name())
|| loginUserId.equals(fulfillment.getOperatorUserId()), "只能撤销自己提交的履约");
return releaseInternal(request, GaoOrderFulfillment.Status.CANCELLED);
}