Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -141,7 +141,7 @@ public class DinerServiceImpl implements DinerService { | ... | @@ -141,7 +141,7 @@ public class DinerServiceImpl implements DinerService { |
| 141 | public void deleteMpAccountDiner(SingleDinerRpcResponse diner) { | 141 | public void deleteMpAccountDiner(SingleDinerRpcResponse diner) { |
| 142 | final var loginInfo = LoginContextHolder.getLoginInfo(); | 142 | final var loginInfo = LoginContextHolder.getLoginInfo(); |
| 143 | final var mpAccountDinerRefRpcResponseList = mealOrderServiceRpcClient.queryMpAccountDinerRefsByCondition(loginInfo.getEnterpriseId(), List.of(loginInfo.getId()), List.of(diner.getId())); | 143 | final var mpAccountDinerRefRpcResponseList = mealOrderServiceRpcClient.queryMpAccountDinerRefsByCondition(loginInfo.getEnterpriseId(), List.of(loginInfo.getId()), List.of(diner.getId())); |
| 144 | - mealOrderServiceRpcClient.deleteDinersByIds(loginInfo, List.of(diner.getId())); | 144 | +// mealOrderServiceRpcClient.deleteDinersByIds(loginInfo, List.of(diner.getId())); |
| 145 | if (!mpAccountDinerRefRpcResponseList.isEmpty()) { | 145 | if (!mpAccountDinerRefRpcResponseList.isEmpty()) { |
| 146 | mealOrderServiceRpcClient.deleteMpAccountDinerRefsByIds(loginInfo.getEnterpriseId(), mpAccountDinerRefRpcResponseList.stream().map(SingleMpAccountDinerRefRpcResponse::getId).toList()); | 146 | mealOrderServiceRpcClient.deleteMpAccountDinerRefsByIds(loginInfo.getEnterpriseId(), mpAccountDinerRefRpcResponseList.stream().map(SingleMpAccountDinerRefRpcResponse::getId).toList()); |
| 147 | } | 147 | } | ... | ... |
-
Please register or login to post a comment