Commit 5caf99092018eb75843be991a42b35c651517d63
1 parent
837f1556
fix: selectBatchIds 已过期
Showing
63 changed files
with
101 additions
and
101 deletions
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/image/AiImageServiceImpl.java
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/knowledge/AiKnowledgeDocumentServiceImpl.java
| ... | ... | @@ -200,7 +200,7 @@ public class AiKnowledgeDocumentServiceImpl implements AiKnowledgeDocumentServic |
| 200 | 200 | if (CollUtil.isEmpty(ids)) { |
| 201 | 201 | return Collections.emptyList(); |
| 202 | 202 | } |
| 203 | - return knowledgeDocumentMapper.selectBatchIds(ids); | |
| 203 | + return knowledgeDocumentMapper.selectByIds(ids); | |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | @Override | ... | ... |
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/knowledge/AiKnowledgeSegmentServiceImpl.java
| ... | ... | @@ -351,7 +351,7 @@ public class AiKnowledgeSegmentServiceImpl implements AiKnowledgeSegmentService |
| 351 | 351 | if (CollUtil.isEmpty(ids)) { |
| 352 | 352 | return Collections.emptyList(); |
| 353 | 353 | } |
| 354 | - return segmentMapper.selectBatchIds(ids); | |
| 354 | + return segmentMapper.selectByIds(ids); | |
| 355 | 355 | } |
| 356 | 356 | |
| 357 | 357 | } | ... | ... |
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/model/AiChatRoleServiceImpl.java
| ... | ... | @@ -163,7 +163,7 @@ public class AiChatRoleServiceImpl implements AiChatRoleService { |
| 163 | 163 | if (CollUtil.isEmpty(ids)) { |
| 164 | 164 | return Collections.emptyList(); |
| 165 | 165 | } |
| 166 | - return chatRoleMapper.selectBatchIds(ids); | |
| 166 | + return chatRoleMapper.selectByIds(ids); | |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | @Override | ... | ... |
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/model/AiToolServiceImpl.java
| ... | ... | @@ -84,7 +84,7 @@ public class AiToolServiceImpl implements AiToolService { |
| 84 | 84 | |
| 85 | 85 | @Override |
| 86 | 86 | public List<AiToolDO> getToolList(Collection<Long> ids) { |
| 87 | - return toolMapper.selectBatchIds(ids); | |
| 87 | + return toolMapper.selectByIds(ids); | |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | @Override |
| ... | ... | @@ -97,4 +97,4 @@ public class AiToolServiceImpl implements AiToolService { |
| 97 | 97 | return toolMapper.selectListByStatus(status); |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | -} | |
| 101 | 100 | \ No newline at end of file |
| 101 | +} | ... | ... |
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/definition/BpmFormServiceImpl.java
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/definition/BpmUserGroupServiceImpl.java
| ... | ... | @@ -70,7 +70,7 @@ public class BpmUserGroupServiceImpl implements BpmUserGroupService { |
| 70 | 70 | |
| 71 | 71 | @Override |
| 72 | 72 | public List<BpmUserGroupDO> getUserGroupList(Collection<Long> ids) { |
| 73 | - return userGroupMapper.selectBatchIds(ids); | |
| 73 | + return userGroupMapper.selectByIds(ids); | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | |
| ... | ... | @@ -90,7 +90,7 @@ public class BpmUserGroupServiceImpl implements BpmUserGroupService { |
| 90 | 90 | return; |
| 91 | 91 | } |
| 92 | 92 | // 获得用户组信息 |
| 93 | - List<BpmUserGroupDO> userGroups = userGroupMapper.selectBatchIds(ids); | |
| 93 | + List<BpmUserGroupDO> userGroups = userGroupMapper.selectByIds(ids); | |
| 94 | 94 | Map<Long, BpmUserGroupDO> userGroupMap = convertMap(userGroups, BpmUserGroupDO::getId); |
| 95 | 95 | // 校验 |
| 96 | 96 | ids.forEach(id -> { | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/business/CrmBusinessServiceImpl.java
| ... | ... | @@ -328,7 +328,7 @@ public class CrmBusinessServiceImpl implements CrmBusinessService { |
| 328 | 328 | if (CollUtil.isEmpty(ids)) { |
| 329 | 329 | return ListUtil.empty(); |
| 330 | 330 | } |
| 331 | - return businessMapper.selectBatchIds(ids); | |
| 331 | + return businessMapper.selectByIds(ids); | |
| 332 | 332 | } |
| 333 | 333 | |
| 334 | 334 | @Override | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/business/CrmBusinessStatusServiceImpl.java
| ... | ... | @@ -160,7 +160,7 @@ public class CrmBusinessStatusServiceImpl implements CrmBusinessStatusService { |
| 160 | 160 | if (CollUtil.isEmpty(ids)) { |
| 161 | 161 | return Collections.emptyList(); |
| 162 | 162 | } |
| 163 | - return businessStatusTypeMapper.selectBatchIds(ids); | |
| 163 | + return businessStatusTypeMapper.selectByIds(ids); | |
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | @Override |
| ... | ... | @@ -175,7 +175,7 @@ public class CrmBusinessStatusServiceImpl implements CrmBusinessStatusService { |
| 175 | 175 | if (CollUtil.isEmpty(ids)) { |
| 176 | 176 | return Collections.emptyList(); |
| 177 | 177 | } |
| 178 | - return businessStatusMapper.selectBatchIds(ids); | |
| 178 | + return businessStatusMapper.selectByIds(ids); | |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | @Override | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/contact/CrmContactServiceImpl.java
| ... | ... | @@ -262,7 +262,7 @@ public class CrmContactServiceImpl implements CrmContactService { |
| 262 | 262 | if (CollUtil.isEmpty(ids)) { |
| 263 | 263 | return ListUtil.empty(); |
| 264 | 264 | } |
| 265 | - return contactMapper.selectBatchIds(ids); | |
| 265 | + return contactMapper.selectByIds(ids); | |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | 268 | @Override |
| ... | ... | @@ -303,4 +303,4 @@ public class CrmContactServiceImpl implements CrmContactService { |
| 303 | 303 | return contactMapper.selectListByCustomerIdOwnerUserId(customerId, ownerUserId); |
| 304 | 304 | } |
| 305 | 305 | |
| 306 | -} | |
| 307 | 306 | \ No newline at end of file |
| 307 | +} | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/contract/CrmContractServiceImpl.java
| ... | ... | @@ -341,7 +341,7 @@ public class CrmContractServiceImpl implements CrmContractService { |
| 341 | 341 | if (CollUtil.isEmpty(ids)) { |
| 342 | 342 | return ListUtil.empty(); |
| 343 | 343 | } |
| 344 | - return contractMapper.selectBatchIds(ids); | |
| 344 | + return contractMapper.selectByIds(ids); | |
| 345 | 345 | } |
| 346 | 346 | |
| 347 | 347 | @Override | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/customer/CrmCustomerServiceImpl.java
| ... | ... | @@ -392,7 +392,7 @@ public class CrmCustomerServiceImpl implements CrmCustomerService { |
| 392 | 392 | @Transactional(rollbackFor = Exception.class) |
| 393 | 393 | public void receiveCustomer(List<Long> ids, Long ownerUserId, Boolean isReceive) { |
| 394 | 394 | // 1.1 校验存在 |
| 395 | - List<CrmCustomerDO> customers = customerMapper.selectBatchIds(ids); | |
| 395 | + List<CrmCustomerDO> customers = customerMapper.selectByIds(ids); | |
| 396 | 396 | if (customers.size() != ids.size()) { |
| 397 | 397 | throw exception(CUSTOMER_NOT_EXISTS); |
| 398 | 398 | } |
| ... | ... | @@ -496,7 +496,7 @@ public class CrmCustomerServiceImpl implements CrmCustomerService { |
| 496 | 496 | if (CollUtil.isEmpty(ids)) { |
| 497 | 497 | return Collections.emptyList(); |
| 498 | 498 | } |
| 499 | - return customerMapper.selectBatchIds(ids); | |
| 499 | + return customerMapper.selectByIds(ids); | |
| 500 | 500 | } |
| 501 | 501 | |
| 502 | 502 | @Override | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/permission/CrmPermissionServiceImpl.java
| ... | ... | @@ -187,7 +187,7 @@ public class CrmPermissionServiceImpl implements CrmPermissionService { |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | private void validatePermissionExists(Collection<Long> ids) { |
| 190 | - List<CrmPermissionDO> permissionList = permissionMapper.selectBatchIds(ids); | |
| 190 | + List<CrmPermissionDO> permissionList = permissionMapper.selectByIds(ids); | |
| 191 | 191 | if (ObjUtil.notEqual(permissionList.size(), ids.size())) { |
| 192 | 192 | throw exception(CRM_PERMISSION_NOT_EXISTS); |
| 193 | 193 | } |
| ... | ... | @@ -268,7 +268,7 @@ public class CrmPermissionServiceImpl implements CrmPermissionService { |
| 268 | 268 | |
| 269 | 269 | @Override |
| 270 | 270 | public void deletePermissionBatch(Collection<Long> ids, Long userId) { |
| 271 | - List<CrmPermissionDO> permissions = permissionMapper.selectBatchIds(ids); | |
| 271 | + List<CrmPermissionDO> permissions = permissionMapper.selectByIds(ids); | |
| 272 | 272 | if (CollUtil.isEmpty(permissions)) { |
| 273 | 273 | throw exception(CRM_PERMISSION_NOT_EXISTS); |
| 274 | 274 | } | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/product/CrmProductCategoryServiceImpl.java
| ... | ... | @@ -132,7 +132,7 @@ public class CrmProductCategoryServiceImpl implements CrmProductCategoryService |
| 132 | 132 | |
| 133 | 133 | @Override |
| 134 | 134 | public List<CrmProductCategoryDO> getProductCategoryList(Collection<Long> ids) { |
| 135 | - return productCategoryMapper.selectBatchIds(ids); | |
| 135 | + return productCategoryMapper.selectByIds(ids); | |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | } | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/product/CrmProductServiceImpl.java
| ... | ... | @@ -158,7 +158,7 @@ public class CrmProductServiceImpl implements CrmProductService { |
| 158 | 158 | if (CollUtil.isEmpty(ids)) { |
| 159 | 159 | return Collections.emptyList(); |
| 160 | 160 | } |
| 161 | - List<CrmProductDO> list = productMapper.selectBatchIds(ids); | |
| 161 | + List<CrmProductDO> list = productMapper.selectByIds(ids); | |
| 162 | 162 | Map<Long, CrmProductDO> productMap = convertMap(list, CrmProductDO::getId); |
| 163 | 163 | for (Long id : ids) { |
| 164 | 164 | CrmProductDO product = productMap.get(id); |
| ... | ... | @@ -177,7 +177,7 @@ public class CrmProductServiceImpl implements CrmProductService { |
| 177 | 177 | if (CollUtil.isEmpty(ids)) { |
| 178 | 178 | return Collections.emptyList(); |
| 179 | 179 | } |
| 180 | - return productMapper.selectBatchIds(ids); | |
| 180 | + return productMapper.selectByIds(ids); | |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | } | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivablePlanServiceImpl.java
| ... | ... | @@ -165,7 +165,7 @@ public class CrmReceivablePlanServiceImpl implements CrmReceivablePlanService { |
| 165 | 165 | if (CollUtil.isEmpty(ids)) { |
| 166 | 166 | return ListUtil.empty(); |
| 167 | 167 | } |
| 168 | - return receivablePlanMapper.selectBatchIds(ids); | |
| 168 | + return receivablePlanMapper.selectByIds(ids); | |
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | @Override | ... | ... |
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableServiceImpl.java
| ... | ... | @@ -277,7 +277,7 @@ public class CrmReceivableServiceImpl implements CrmReceivableService { |
| 277 | 277 | if (CollUtil.isEmpty(ids)) { |
| 278 | 278 | return ListUtil.empty(); |
| 279 | 279 | } |
| 280 | - return receivableMapper.selectBatchIds(ids); | |
| 280 | + return receivableMapper.selectByIds(ids); | |
| 281 | 281 | } |
| 282 | 282 | |
| 283 | 283 | @Override | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/finance/ErpAccountServiceImpl.java
| ... | ... | @@ -101,7 +101,7 @@ public class ErpAccountServiceImpl implements ErpAccountService { |
| 101 | 101 | |
| 102 | 102 | @Override |
| 103 | 103 | public List<ErpAccountDO> getAccountList(Collection<Long> ids) { |
| 104 | - return accountMapper.selectBatchIds(ids); | |
| 104 | + return accountMapper.selectByIds(ids); | |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | @Override |
| ... | ... | @@ -109,4 +109,4 @@ public class ErpAccountServiceImpl implements ErpAccountService { |
| 109 | 109 | return accountMapper.selectPage(pageReqVO); |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | -} | |
| 113 | 112 | \ No newline at end of file |
| 113 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/finance/ErpFinancePaymentServiceImpl.java
| ... | ... | @@ -214,7 +214,7 @@ public class ErpFinancePaymentServiceImpl implements ErpFinancePaymentService { |
| 214 | 214 | @Transactional(rollbackFor = Exception.class) |
| 215 | 215 | public void deleteFinancePayment(List<Long> ids) { |
| 216 | 216 | // 1. 校验不处于已审批 |
| 217 | - List<ErpFinancePaymentDO> payments = financePaymentMapper.selectBatchIds(ids); | |
| 217 | + List<ErpFinancePaymentDO> payments = financePaymentMapper.selectByIds(ids); | |
| 218 | 218 | if (CollUtil.isEmpty(payments)) { |
| 219 | 219 | return; |
| 220 | 220 | } |
| ... | ... | @@ -270,4 +270,4 @@ public class ErpFinancePaymentServiceImpl implements ErpFinancePaymentService { |
| 270 | 270 | return financePaymentItemMapper.selectListByPaymentIds(paymentIds); |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | -} | |
| 274 | 273 | \ No newline at end of file |
| 274 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/finance/ErpFinanceReceiptServiceImpl.java
| ... | ... | @@ -214,7 +214,7 @@ public class ErpFinanceReceiptServiceImpl implements ErpFinanceReceiptService { |
| 214 | 214 | @Transactional(rollbackFor = Exception.class) |
| 215 | 215 | public void deleteFinanceReceipt(List<Long> ids) { |
| 216 | 216 | // 1. 校验不处于已审批 |
| 217 | - List<ErpFinanceReceiptDO> receipts = financeReceiptMapper.selectBatchIds(ids); | |
| 217 | + List<ErpFinanceReceiptDO> receipts = financeReceiptMapper.selectByIds(ids); | |
| 218 | 218 | if (CollUtil.isEmpty(receipts)) { |
| 219 | 219 | return; |
| 220 | 220 | } |
| ... | ... | @@ -270,4 +270,4 @@ public class ErpFinanceReceiptServiceImpl implements ErpFinanceReceiptService { |
| 270 | 270 | return financeReceiptItemMapper.selectListByReceiptIds(receiptIds); |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | -} | |
| 274 | 273 | \ No newline at end of file |
| 274 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/product/ErpProductCategoryServiceImpl.java
| ... | ... | @@ -143,7 +143,7 @@ public class ErpProductCategoryServiceImpl implements ErpProductCategoryService |
| 143 | 143 | |
| 144 | 144 | @Override |
| 145 | 145 | public List<ErpProductCategoryDO> getProductCategoryList(Collection<Long> ids) { |
| 146 | - return erpProductCategoryMapper.selectBatchIds(ids); | |
| 146 | + return erpProductCategoryMapper.selectByIds(ids); | |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | -} | |
| 150 | 149 | \ No newline at end of file |
| 150 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/product/ErpProductServiceImpl.java
| ... | ... | @@ -72,7 +72,7 @@ public class ErpProductServiceImpl implements ErpProductService { |
| 72 | 72 | if (CollUtil.isEmpty(ids)) { |
| 73 | 73 | return Collections.emptyList(); |
| 74 | 74 | } |
| 75 | - List<ErpProductDO> list = productMapper.selectBatchIds(ids); | |
| 75 | + List<ErpProductDO> list = productMapper.selectByIds(ids); | |
| 76 | 76 | Map<Long, ErpProductDO> productMap = convertMap(list, ErpProductDO::getId); |
| 77 | 77 | for (Long id : ids) { |
| 78 | 78 | ErpProductDO product = productMap.get(id); |
| ... | ... | @@ -108,7 +108,7 @@ public class ErpProductServiceImpl implements ErpProductService { |
| 108 | 108 | if (CollUtil.isEmpty(ids)) { |
| 109 | 109 | return Collections.emptyList(); |
| 110 | 110 | } |
| 111 | - List<ErpProductDO> list = productMapper.selectBatchIds(ids); | |
| 111 | + List<ErpProductDO> list = productMapper.selectByIds(ids); | |
| 112 | 112 | return buildProductVOList(list); |
| 113 | 113 | } |
| 114 | 114 | |
| ... | ... | @@ -144,4 +144,4 @@ public class ErpProductServiceImpl implements ErpProductService { |
| 144 | 144 | return productMapper.selectCountByUnitId(unitId); |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | -} | |
| 148 | 147 | \ No newline at end of file |
| 148 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/product/ErpProductUnitServiceImpl.java
| ... | ... | @@ -105,7 +105,7 @@ public class ErpProductUnitServiceImpl implements ErpProductUnitService { |
| 105 | 105 | |
| 106 | 106 | @Override |
| 107 | 107 | public List<ErpProductUnitDO> getProductUnitList(Collection<Long> ids) { |
| 108 | - return productUnitMapper.selectBatchIds(ids); | |
| 108 | + return productUnitMapper.selectByIds(ids); | |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | -} | |
| 112 | 111 | \ No newline at end of file |
| 112 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/purchase/ErpPurchaseInServiceImpl.java
| ... | ... | @@ -240,7 +240,7 @@ public class ErpPurchaseInServiceImpl implements ErpPurchaseInService { |
| 240 | 240 | @Transactional(rollbackFor = Exception.class) |
| 241 | 241 | public void deletePurchaseIn(List<Long> ids) { |
| 242 | 242 | // 1. 校验不处于已审批 |
| 243 | - List<ErpPurchaseInDO> purchaseIns = purchaseInMapper.selectBatchIds(ids); | |
| 243 | + List<ErpPurchaseInDO> purchaseIns = purchaseInMapper.selectByIds(ids); | |
| 244 | 244 | if (CollUtil.isEmpty(purchaseIns)) { |
| 245 | 245 | return; |
| 246 | 246 | } |
| ... | ... | @@ -305,4 +305,4 @@ public class ErpPurchaseInServiceImpl implements ErpPurchaseInService { |
| 305 | 305 | return purchaseInItemMapper.selectListByInIds(inIds); |
| 306 | 306 | } |
| 307 | 307 | |
| 308 | -} | |
| 309 | 308 | \ No newline at end of file |
| 309 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/purchase/ErpPurchaseOrderServiceImpl.java
| ... | ... | @@ -231,7 +231,7 @@ public class ErpPurchaseOrderServiceImpl implements ErpPurchaseOrderService { |
| 231 | 231 | @Transactional(rollbackFor = Exception.class) |
| 232 | 232 | public void deletePurchaseOrder(List<Long> ids) { |
| 233 | 233 | // 1. 校验不处于已审批 |
| 234 | - List<ErpPurchaseOrderDO> purchaseOrders = purchaseOrderMapper.selectBatchIds(ids); | |
| 234 | + List<ErpPurchaseOrderDO> purchaseOrders = purchaseOrderMapper.selectByIds(ids); | |
| 235 | 235 | if (CollUtil.isEmpty(purchaseOrders)) { |
| 236 | 236 | return; |
| 237 | 237 | } |
| ... | ... | @@ -292,4 +292,4 @@ public class ErpPurchaseOrderServiceImpl implements ErpPurchaseOrderService { |
| 292 | 292 | return purchaseOrderItemMapper.selectListByOrderIds(orderIds); |
| 293 | 293 | } |
| 294 | 294 | |
| 295 | -} | |
| 296 | 295 | \ No newline at end of file |
| 296 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/purchase/ErpPurchaseReturnServiceImpl.java
| ... | ... | @@ -236,7 +236,7 @@ public class ErpPurchaseReturnServiceImpl implements ErpPurchaseReturnService { |
| 236 | 236 | @Transactional(rollbackFor = Exception.class) |
| 237 | 237 | public void deletePurchaseReturn(List<Long> ids) { |
| 238 | 238 | // 1. 校验不处于已审批 |
| 239 | - List<ErpPurchaseReturnDO> purchaseReturns = purchaseReturnMapper.selectBatchIds(ids); | |
| 239 | + List<ErpPurchaseReturnDO> purchaseReturns = purchaseReturnMapper.selectByIds(ids); | |
| 240 | 240 | if (CollUtil.isEmpty(purchaseReturns)) { |
| 241 | 241 | return; |
| 242 | 242 | } |
| ... | ... | @@ -301,4 +301,4 @@ public class ErpPurchaseReturnServiceImpl implements ErpPurchaseReturnService { |
| 301 | 301 | return purchaseReturnItemMapper.selectListByReturnIds(returnIds); |
| 302 | 302 | } |
| 303 | 303 | |
| 304 | -} | |
| 305 | 304 | \ No newline at end of file |
| 305 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/purchase/ErpSupplierServiceImpl.java
| ... | ... | @@ -78,7 +78,7 @@ public class ErpSupplierServiceImpl implements ErpSupplierService { |
| 78 | 78 | |
| 79 | 79 | @Override |
| 80 | 80 | public List<ErpSupplierDO> getSupplierList(Collection<Long> ids) { |
| 81 | - return supplierMapper.selectBatchIds(ids); | |
| 81 | + return supplierMapper.selectByIds(ids); | |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | @Override |
| ... | ... | @@ -91,4 +91,4 @@ public class ErpSupplierServiceImpl implements ErpSupplierService { |
| 91 | 91 | return supplierMapper.selectListByStatus(status); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | -} | |
| 95 | 94 | \ No newline at end of file |
| 95 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/sale/ErpCustomerServiceImpl.java
| ... | ... | @@ -81,7 +81,7 @@ public class ErpCustomerServiceImpl implements ErpCustomerService { |
| 81 | 81 | |
| 82 | 82 | @Override |
| 83 | 83 | public List<ErpCustomerDO> getCustomerList(Collection<Long> ids) { |
| 84 | - return customerMapper.selectBatchIds(ids); | |
| 84 | + return customerMapper.selectByIds(ids); | |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | @Override |
| ... | ... | @@ -94,4 +94,4 @@ public class ErpCustomerServiceImpl implements ErpCustomerService { |
| 94 | 94 | return customerMapper.selectListByStatus(status); |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | -} | |
| 98 | 97 | \ No newline at end of file |
| 98 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/sale/ErpSaleOrderServiceImpl.java
| ... | ... | @@ -243,7 +243,7 @@ public class ErpSaleOrderServiceImpl implements ErpSaleOrderService { |
| 243 | 243 | @Transactional(rollbackFor = Exception.class) |
| 244 | 244 | public void deleteSaleOrder(List<Long> ids) { |
| 245 | 245 | // 1. 校验不处于已审批 |
| 246 | - List<ErpSaleOrderDO> saleOrders = saleOrderMapper.selectBatchIds(ids); | |
| 246 | + List<ErpSaleOrderDO> saleOrders = saleOrderMapper.selectByIds(ids); | |
| 247 | 247 | if (CollUtil.isEmpty(saleOrders)) { |
| 248 | 248 | return; |
| 249 | 249 | } |
| ... | ... | @@ -304,4 +304,4 @@ public class ErpSaleOrderServiceImpl implements ErpSaleOrderService { |
| 304 | 304 | return saleOrderItemMapper.selectListByOrderIds(orderIds); |
| 305 | 305 | } |
| 306 | 306 | |
| 307 | -} | |
| 308 | 307 | \ No newline at end of file |
| 308 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/sale/ErpSaleOutServiceImpl.java
| ... | ... | @@ -248,7 +248,7 @@ public class ErpSaleOutServiceImpl implements ErpSaleOutService { |
| 248 | 248 | @Transactional(rollbackFor = Exception.class) |
| 249 | 249 | public void deleteSaleOut(List<Long> ids) { |
| 250 | 250 | // 1. 校验不处于已审批 |
| 251 | - List<ErpSaleOutDO> saleOuts = saleOutMapper.selectBatchIds(ids); | |
| 251 | + List<ErpSaleOutDO> saleOuts = saleOutMapper.selectByIds(ids); | |
| 252 | 252 | if (CollUtil.isEmpty(saleOuts)) { |
| 253 | 253 | return; |
| 254 | 254 | } |
| ... | ... | @@ -313,4 +313,4 @@ public class ErpSaleOutServiceImpl implements ErpSaleOutService { |
| 313 | 313 | return saleOutItemMapper.selectListByOutIds(outIds); |
| 314 | 314 | } |
| 315 | 315 | |
| 316 | -} | |
| 317 | 316 | \ No newline at end of file |
| 317 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/sale/ErpSaleReturnServiceImpl.java
| ... | ... | @@ -248,7 +248,7 @@ public class ErpSaleReturnServiceImpl implements ErpSaleReturnService { |
| 248 | 248 | @Transactional(rollbackFor = Exception.class) |
| 249 | 249 | public void deleteSaleReturn(List<Long> ids) { |
| 250 | 250 | // 1. 校验不处于已审批 |
| 251 | - List<ErpSaleReturnDO> saleReturns = saleReturnMapper.selectBatchIds(ids); | |
| 251 | + List<ErpSaleReturnDO> saleReturns = saleReturnMapper.selectByIds(ids); | |
| 252 | 252 | if (CollUtil.isEmpty(saleReturns)) { |
| 253 | 253 | return; |
| 254 | 254 | } |
| ... | ... | @@ -313,4 +313,4 @@ public class ErpSaleReturnServiceImpl implements ErpSaleReturnService { |
| 313 | 313 | return saleReturnItemMapper.selectListByReturnIds(returnIds); |
| 314 | 314 | } |
| 315 | 315 | |
| 316 | -} | |
| 317 | 316 | \ No newline at end of file |
| 317 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/stock/ErpStockCheckServiceImpl.java
| ... | ... | @@ -177,7 +177,7 @@ public class ErpStockCheckServiceImpl implements ErpStockCheckService { |
| 177 | 177 | @Transactional(rollbackFor = Exception.class) |
| 178 | 178 | public void deleteStockCheck(List<Long> ids) { |
| 179 | 179 | // 1. 校验不处于已审批 |
| 180 | - List<ErpStockCheckDO> stockChecks = stockCheckMapper.selectBatchIds(ids); | |
| 180 | + List<ErpStockCheckDO> stockChecks = stockCheckMapper.selectByIds(ids); | |
| 181 | 181 | if (CollUtil.isEmpty(stockChecks)) { |
| 182 | 182 | return; |
| 183 | 183 | } |
| ... | ... | @@ -229,4 +229,4 @@ public class ErpStockCheckServiceImpl implements ErpStockCheckService { |
| 229 | 229 | return stockCheckItemMapper.selectListByCheckIds(checkIds); |
| 230 | 230 | } |
| 231 | 231 | |
| 232 | -} | |
| 233 | 232 | \ No newline at end of file |
| 233 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/stock/ErpStockInServiceImpl.java
| ... | ... | @@ -173,7 +173,7 @@ public class ErpStockInServiceImpl implements ErpStockInService { |
| 173 | 173 | @Transactional(rollbackFor = Exception.class) |
| 174 | 174 | public void deleteStockIn(List<Long> ids) { |
| 175 | 175 | // 1. 校验不处于已审批 |
| 176 | - List<ErpStockInDO> stockIns = stockInMapper.selectBatchIds(ids); | |
| 176 | + List<ErpStockInDO> stockIns = stockInMapper.selectByIds(ids); | |
| 177 | 177 | if (CollUtil.isEmpty(stockIns)) { |
| 178 | 178 | return; |
| 179 | 179 | } |
| ... | ... | @@ -225,4 +225,4 @@ public class ErpStockInServiceImpl implements ErpStockInService { |
| 225 | 225 | return stockInItemMapper.selectListByInIds(inIds); |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | -} | |
| 229 | 228 | \ No newline at end of file |
| 229 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/stock/ErpStockMoveServiceImpl.java
| ... | ... | @@ -174,7 +174,7 @@ public class ErpStockMoveServiceImpl implements ErpStockMoveService { |
| 174 | 174 | @Transactional(rollbackFor = Exception.class) |
| 175 | 175 | public void deleteStockMove(List<Long> ids) { |
| 176 | 176 | // 1. 校验不处于已审批 |
| 177 | - List<ErpStockMoveDO> stockMoves = stockMoveMapper.selectBatchIds(ids); | |
| 177 | + List<ErpStockMoveDO> stockMoves = stockMoveMapper.selectByIds(ids); | |
| 178 | 178 | if (CollUtil.isEmpty(stockMoves)) { |
| 179 | 179 | return; |
| 180 | 180 | } |
| ... | ... | @@ -226,4 +226,4 @@ public class ErpStockMoveServiceImpl implements ErpStockMoveService { |
| 226 | 226 | return stockMoveItemMapper.selectListByMoveIds(moveIds); |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | -} | |
| 230 | 229 | \ No newline at end of file |
| 230 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/stock/ErpStockOutServiceImpl.java
| ... | ... | @@ -173,7 +173,7 @@ public class ErpStockOutServiceImpl implements ErpStockOutService { |
| 173 | 173 | @Transactional(rollbackFor = Exception.class) |
| 174 | 174 | public void deleteStockOut(List<Long> ids) { |
| 175 | 175 | // 1. 校验不处于已审批 |
| 176 | - List<ErpStockOutDO> stockOuts = stockOutMapper.selectBatchIds(ids); | |
| 176 | + List<ErpStockOutDO> stockOuts = stockOutMapper.selectByIds(ids); | |
| 177 | 177 | if (CollUtil.isEmpty(stockOuts)) { |
| 178 | 178 | return; |
| 179 | 179 | } |
| ... | ... | @@ -225,4 +225,4 @@ public class ErpStockOutServiceImpl implements ErpStockOutService { |
| 225 | 225 | return stockOutItemMapper.selectListByOutIds(outIds); |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | -} | |
| 229 | 228 | \ No newline at end of file |
| 229 | +} | ... | ... |
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/stock/ErpWarehouseServiceImpl.java
| ... | ... | @@ -93,7 +93,7 @@ public class ErpWarehouseServiceImpl implements ErpWarehouseService { |
| 93 | 93 | if (CollUtil.isEmpty(ids)) { |
| 94 | 94 | return Collections.emptyList(); |
| 95 | 95 | } |
| 96 | - List<ErpWarehouseDO> list = warehouseMapper.selectBatchIds(ids); | |
| 96 | + List<ErpWarehouseDO> list = warehouseMapper.selectByIds(ids); | |
| 97 | 97 | Map<Long, ErpWarehouseDO> warehouseMap = convertMap(list, ErpWarehouseDO::getId); |
| 98 | 98 | for (Long id : ids) { |
| 99 | 99 | ErpWarehouseDO warehouse = warehouseMap.get(id); |
| ... | ... | @@ -114,7 +114,7 @@ public class ErpWarehouseServiceImpl implements ErpWarehouseService { |
| 114 | 114 | |
| 115 | 115 | @Override |
| 116 | 116 | public List<ErpWarehouseDO> getWarehouseList(Collection<Long> ids) { |
| 117 | - return warehouseMapper.selectBatchIds(ids); | |
| 117 | + return warehouseMapper.selectByIds(ids); | |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | @Override |
| ... | ... | @@ -122,4 +122,4 @@ public class ErpWarehouseServiceImpl implements ErpWarehouseService { |
| 122 | 122 | return warehouseMapper.selectPage(pageReqVO); |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | -} | |
| 126 | 125 | \ No newline at end of file |
| 126 | +} | ... | ... |
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/device/IotDeviceServiceImpl.java
| ... | ... | @@ -155,7 +155,7 @@ public class IotDeviceServiceImpl implements IotDeviceService { |
| 155 | 155 | @Transactional(rollbackFor = Exception.class) |
| 156 | 156 | public void updateDeviceGroup(IotDeviceUpdateGroupReqVO updateReqVO) { |
| 157 | 157 | // 1.1 校验设备存在 |
| 158 | - List<IotDeviceDO> devices = deviceMapper.selectBatchIds(updateReqVO.getIds()); | |
| 158 | + List<IotDeviceDO> devices = deviceMapper.selectByIds(updateReqVO.getIds()); | |
| 159 | 159 | if (CollUtil.isEmpty(devices)) { |
| 160 | 160 | return; |
| 161 | 161 | } |
| ... | ... | @@ -193,7 +193,7 @@ public class IotDeviceServiceImpl implements IotDeviceService { |
| 193 | 193 | if (CollUtil.isEmpty(ids)) { |
| 194 | 194 | return; |
| 195 | 195 | } |
| 196 | - List<IotDeviceDO> devices = deviceMapper.selectBatchIds(ids); | |
| 196 | + List<IotDeviceDO> devices = deviceMapper.selectByIds(ids); | |
| 197 | 197 | if (CollUtil.isEmpty(devices)) { |
| 198 | 198 | return; |
| 199 | 199 | } |
| ... | ... | @@ -451,4 +451,4 @@ public class IotDeviceServiceImpl implements IotDeviceService { |
| 451 | 451 | )); |
| 452 | 452 | } |
| 453 | 453 | |
| 454 | -} | |
| 455 | 454 | \ No newline at end of file |
| 455 | +} | ... | ... |
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/product/IotProductCategoryServiceImpl.java
| ... | ... | @@ -78,7 +78,7 @@ public class IotProductCategoryServiceImpl implements IotProductCategoryService |
| 78 | 78 | if (CollUtil.isEmpty(ids)) { |
| 79 | 79 | return CollUtil.newArrayList(); |
| 80 | 80 | } |
| 81 | - return iotProductCategoryMapper.selectBatchIds(ids); | |
| 81 | + return iotProductCategoryMapper.selectByIds(ids); | |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | @Override |
| ... | ... | @@ -120,4 +120,4 @@ public class IotProductCategoryServiceImpl implements IotProductCategoryService |
| 120 | 120 | return categoryDeviceCountMap; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | -} | |
| 124 | 123 | \ No newline at end of file |
| 124 | +} | ... | ... |
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/service/brand/ProductBrandServiceImpl.java
| ... | ... | @@ -90,7 +90,7 @@ public class ProductBrandServiceImpl implements ProductBrandService { |
| 90 | 90 | |
| 91 | 91 | @Override |
| 92 | 92 | public List<ProductBrandDO> getBrandList(Collection<Long> ids) { |
| 93 | - return brandMapper.selectBatchIds(ids); | |
| 93 | + return brandMapper.selectByIds(ids); | |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | @Override | ... | ... |
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/service/category/ProductCategoryServiceImpl.java
| ... | ... | @@ -109,7 +109,7 @@ public class ProductCategoryServiceImpl implements ProductCategoryService { |
| 109 | 109 | return; |
| 110 | 110 | } |
| 111 | 111 | // 获得商品分类信息 |
| 112 | - List<ProductCategoryDO> list = productCategoryMapper.selectBatchIds(ids); | |
| 112 | + List<ProductCategoryDO> list = productCategoryMapper.selectByIds(ids); | |
| 113 | 113 | Map<Long, ProductCategoryDO> categoryMap = CollectionUtils.convertMap(list, ProductCategoryDO::getId); |
| 114 | 114 | // 校验 |
| 115 | 115 | ids.forEach(id -> { | ... | ... |
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/service/property/ProductPropertyServiceImpl.java
| ... | ... | @@ -106,7 +106,7 @@ public class ProductPropertyServiceImpl implements ProductPropertyService { |
| 106 | 106 | |
| 107 | 107 | @Override |
| 108 | 108 | public List<ProductPropertyDO> getPropertyList(Collection<Long> ids) { |
| 109 | - return productPropertyMapper.selectBatchIds(ids); | |
| 109 | + return productPropertyMapper.selectByIds(ids); | |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | @Override | ... | ... |
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/service/sku/ProductSkuServiceImpl.java
| ... | ... | @@ -81,7 +81,7 @@ public class ProductSkuServiceImpl implements ProductSkuService { |
| 81 | 81 | if (CollUtil.isEmpty(ids)) { |
| 82 | 82 | return ListUtil.empty(); |
| 83 | 83 | } |
| 84 | - return productSkuMapper.selectBatchIds(ids); | |
| 84 | + return productSkuMapper.selectByIds(ids); | |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | @Override |
| ... | ... | @@ -268,7 +268,7 @@ public class ProductSkuServiceImpl implements ProductSkuService { |
| 268 | 268 | }); |
| 269 | 269 | |
| 270 | 270 | // 更新 SPU 库存 |
| 271 | - List<ProductSkuDO> skus = productSkuMapper.selectBatchIds( | |
| 271 | + List<ProductSkuDO> skus = productSkuMapper.selectByIds( | |
| 272 | 272 | convertSet(updateStockReqDTO.getItems(), ProductSkuUpdateStockReqDTO.Item::getId)); |
| 273 | 273 | Map<Long, Integer> spuStockIncrCounts = ProductSkuConvert.INSTANCE.convertSpuStockMap( |
| 274 | 274 | updateStockReqDTO.getItems(), skus); | ... | ... |
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/service/spu/ProductSpuServiceImpl.java
| ... | ... | @@ -137,7 +137,7 @@ public class ProductSpuServiceImpl implements ProductSpuService { |
| 137 | 137 | return Collections.emptyList(); |
| 138 | 138 | } |
| 139 | 139 | // 获得商品信息 |
| 140 | - List<ProductSpuDO> list = productSpuMapper.selectBatchIds(ids); | |
| 140 | + List<ProductSpuDO> list = productSpuMapper.selectByIds(ids); | |
| 141 | 141 | Map<Long, ProductSpuDO> spuMap = CollectionUtils.convertMap(list, ProductSpuDO::getId); |
| 142 | 142 | // 校验 |
| 143 | 143 | ids.forEach(id -> { |
| ... | ... | @@ -202,7 +202,7 @@ public class ProductSpuServiceImpl implements ProductSpuService { |
| 202 | 202 | if (CollUtil.isEmpty(ids)) { |
| 203 | 203 | return Collections.emptyList(); |
| 204 | 204 | } |
| 205 | - Map<Long, ProductSpuDO> spuMap = convertMap(productSpuMapper.selectBatchIds(ids), ProductSpuDO::getId); | |
| 205 | + Map<Long, ProductSpuDO> spuMap = convertMap(productSpuMapper.selectByIds(ids), ProductSpuDO::getId); | |
| 206 | 206 | // 需要按照 ids 顺序返回。例如说:店铺装修选择了 [3, 1, 2] 三个商品,返回结果还是 [3, 1, 2] 这样的顺序 |
| 207 | 207 | return convertList(ids, spuMap::get); |
| 208 | 208 | } | ... | ... |
yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/service/bargain/BargainActivityServiceImpl.java
| ... | ... | @@ -154,7 +154,7 @@ public class BargainActivityServiceImpl implements BargainActivityService { |
| 154 | 154 | |
| 155 | 155 | @Override |
| 156 | 156 | public List<BargainActivityDO> getBargainActivityList(Set<Long> ids) { |
| 157 | - return bargainActivityMapper.selectBatchIds(ids); | |
| 157 | + return bargainActivityMapper.selectByIds(ids); | |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | @Override | ... | ... |
yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/service/coupon/CouponTemplateServiceImpl.java
| ... | ... | @@ -132,7 +132,7 @@ public class CouponTemplateServiceImpl implements CouponTemplateService { |
| 132 | 132 | |
| 133 | 133 | @Override |
| 134 | 134 | public List<CouponTemplateDO> getCouponTemplateList(Collection<Long> ids) { |
| 135 | - return couponTemplateMapper.selectBatchIds(ids); | |
| 135 | + return couponTemplateMapper.selectByIds(ids); | |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | } | ... | ... |
yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/service/diy/DiyPageServiceImpl.java
| ... | ... | @@ -104,7 +104,7 @@ public class DiyPageServiceImpl implements DiyPageService { |
| 104 | 104 | if (CollUtil.isEmpty(ids)) { |
| 105 | 105 | return ListUtil.empty(); |
| 106 | 106 | } |
| 107 | - return diyPageMapper.selectBatchIds(ids); | |
| 107 | + return diyPageMapper.selectByIds(ids); | |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | @Override | ... | ... |
yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/service/seckill/SeckillConfigServiceImpl.java
| ... | ... | @@ -132,7 +132,7 @@ public class SeckillConfigServiceImpl implements SeckillConfigService { |
| 132 | 132 | return; |
| 133 | 133 | } |
| 134 | 134 | // 1. 如果有数量不匹配,说明有不存在的,则抛出 SECKILL_CONFIG_NOT_EXISTS 业务异常 |
| 135 | - List<SeckillConfigDO> configs = seckillConfigMapper.selectBatchIds(ids); | |
| 135 | + List<SeckillConfigDO> configs = seckillConfigMapper.selectByIds(ids); | |
| 136 | 136 | if (configs.size() != ids.size()) { |
| 137 | 137 | throw exception(SECKILL_CONFIG_NOT_EXISTS); |
| 138 | 138 | } | ... | ... |
yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/service/delivery/DeliveryExpressTemplateServiceImpl.java
| ... | ... | @@ -176,7 +176,7 @@ public class DeliveryExpressTemplateServiceImpl implements DeliveryExpressTempla |
| 176 | 176 | |
| 177 | 177 | @Override |
| 178 | 178 | public List<DeliveryExpressTemplateDO> getDeliveryExpressTemplateList(Collection<Long> ids) { |
| 179 | - return expressTemplateMapper.selectBatchIds(ids); | |
| 179 | + return expressTemplateMapper.selectByIds(ids); | |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | @Override |
| ... | ... | @@ -205,7 +205,7 @@ public class DeliveryExpressTemplateServiceImpl implements DeliveryExpressTempla |
| 205 | 205 | if (CollUtil.isEmpty(ids)) { |
| 206 | 206 | return Collections.emptyMap(); |
| 207 | 207 | } |
| 208 | - List<DeliveryExpressTemplateDO> templateList = expressTemplateMapper.selectBatchIds(ids); | |
| 208 | + List<DeliveryExpressTemplateDO> templateList = expressTemplateMapper.selectByIds(ids); | |
| 209 | 209 | // 查询 templateCharge 数组 |
| 210 | 210 | List<DeliveryExpressTemplateChargeDO> chargeList = expressTemplateChargeMapper.selectByTemplateIds(ids); |
| 211 | 211 | // 查询 templateFree 数组 | ... | ... |
yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/service/delivery/DeliveryPickUpStoreServiceImpl.java
| ... | ... | @@ -75,7 +75,7 @@ public class DeliveryPickUpStoreServiceImpl implements DeliveryPickUpStoreServic |
| 75 | 75 | |
| 76 | 76 | @Override |
| 77 | 77 | public List<DeliveryPickUpStoreDO> getDeliveryPickUpStoreList(Collection<Long> ids) { |
| 78 | - return deliveryPickUpStoreMapper.selectBatchIds(ids); | |
| 78 | + return deliveryPickUpStoreMapper.selectByIds(ids); | |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | @Override | ... | ... |
yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/service/order/TradeOrderQueryServiceImpl.java
| ... | ... | @@ -84,7 +84,7 @@ public class TradeOrderQueryServiceImpl implements TradeOrderQueryService { |
| 84 | 84 | if (CollUtil.isEmpty(ids)) { |
| 85 | 85 | return Collections.emptyList(); |
| 86 | 86 | } |
| 87 | - return tradeOrderMapper.selectBatchIds(ids); | |
| 87 | + return tradeOrderMapper.selectByIds(ids); | |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | @Override | ... | ... |
yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/service/group/MemberGroupServiceImpl.java
| ... | ... | @@ -87,7 +87,7 @@ public class MemberGroupServiceImpl implements MemberGroupService { |
| 87 | 87 | if (CollUtil.isEmpty(ids)) { |
| 88 | 88 | return ListUtil.empty(); |
| 89 | 89 | } |
| 90 | - return memberGroupMapper.selectBatchIds(ids); | |
| 90 | + return memberGroupMapper.selectByIds(ids); | |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | @Override | ... | ... |
yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/service/level/MemberLevelServiceImpl.java
| ... | ... | @@ -169,7 +169,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { |
| 169 | 169 | if (CollUtil.isEmpty(ids)) { |
| 170 | 170 | return Collections.emptyList(); |
| 171 | 171 | } |
| 172 | - return memberLevelMapper.selectBatchIds(ids); | |
| 172 | + return memberLevelMapper.selectByIds(ids); | |
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | @Override | ... | ... |
yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/service/tag/MemberTagServiceImpl.java
| ... | ... | @@ -109,7 +109,7 @@ public class MemberTagServiceImpl implements MemberTagService { |
| 109 | 109 | if (CollUtil.isEmpty(ids)) { |
| 110 | 110 | return ListUtil.empty(); |
| 111 | 111 | } |
| 112 | - return memberTagMapper.selectBatchIds(ids); | |
| 112 | + return memberTagMapper.selectByIds(ids); | |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | @Override | ... | ... |
yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/service/user/MemberUserServiceImpl.java
| ... | ... | @@ -137,7 +137,7 @@ public class MemberUserServiceImpl implements MemberUserService { |
| 137 | 137 | if (CollUtil.isEmpty(ids)) { |
| 138 | 138 | return ListUtil.empty(); |
| 139 | 139 | } |
| 140 | - return memberUserMapper.selectBatchIds(ids); | |
| 140 | + return memberUserMapper.selectByIds(ids); | |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | @Override | ... | ... |
yudao-module-mp/src/main/java/cn/iocoder/yudao/module/mp/service/user/MpUserServiceImpl.java
yudao-module-pay/src/main/java/cn/iocoder/yudao/module/pay/service/app/PayAppServiceImpl.java
| ... | ... | @@ -121,7 +121,7 @@ public class PayAppServiceImpl implements PayAppService { |
| 121 | 121 | if (CollUtil.isEmpty(ids)) { |
| 122 | 122 | return Collections.emptyList(); |
| 123 | 123 | } |
| 124 | - return appMapper.selectBatchIds(ids); | |
| 124 | + return appMapper.selectByIds(ids); | |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | @Override | ... | ... |
yudao-module-pay/src/main/java/cn/iocoder/yudao/module/pay/service/order/PayOrderServiceImpl.java
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/dept/DeptServiceImpl.java
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/dept/PostServiceImpl.java
| ... | ... | @@ -113,7 +113,7 @@ public class PostServiceImpl implements PostService { |
| 113 | 113 | if (CollUtil.isEmpty(ids)) { |
| 114 | 114 | return Collections.emptyList(); |
| 115 | 115 | } |
| 116 | - return postMapper.selectBatchIds(ids); | |
| 116 | + return postMapper.selectByIds(ids); | |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | @Override |
| ... | ... | @@ -137,7 +137,7 @@ public class PostServiceImpl implements PostService { |
| 137 | 137 | return; |
| 138 | 138 | } |
| 139 | 139 | // 获得岗位信息 |
| 140 | - List<PostDO> posts = postMapper.selectBatchIds(ids); | |
| 140 | + List<PostDO> posts = postMapper.selectByIds(ids); | |
| 141 | 141 | Map<Long, PostDO> postMap = convertMap(posts, PostDO::getId); |
| 142 | 142 | // 校验 |
| 143 | 143 | ids.forEach(id -> { | ... | ... |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/permission/MenuServiceImpl.java
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java
| ... | ... | @@ -200,7 +200,7 @@ public class RoleServiceImpl implements RoleService { |
| 200 | 200 | if (CollectionUtil.isEmpty(ids)) { |
| 201 | 201 | return Collections.emptyList(); |
| 202 | 202 | } |
| 203 | - return roleMapper.selectBatchIds(ids); | |
| 203 | + return roleMapper.selectByIds(ids); | |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | @Override |
| ... | ... | @@ -236,7 +236,7 @@ public class RoleServiceImpl implements RoleService { |
| 236 | 236 | return; |
| 237 | 237 | } |
| 238 | 238 | // 获得角色信息 |
| 239 | - List<RoleDO> roles = roleMapper.selectBatchIds(ids); | |
| 239 | + List<RoleDO> roles = roleMapper.selectByIds(ids); | |
| 240 | 240 | Map<Long, RoleDO> roleMap = convertMap(roles, RoleDO::getId); |
| 241 | 241 | // 校验 |
| 242 | 242 | ids.forEach(id -> { | ... | ... |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/social/SocialUserServiceImpl.java
| ... | ... | @@ -54,7 +54,7 @@ public class SocialUserServiceImpl implements SocialUserService { |
| 54 | 54 | return Collections.emptyList(); |
| 55 | 55 | } |
| 56 | 56 | // 获得社交用户 |
| 57 | - return socialUserMapper.selectBatchIds(convertSet(socialUserBinds, SocialUserBindDO::getSocialUserId)); | |
| 57 | + return socialUserMapper.selectByIds(convertSet(socialUserBinds, SocialUserBindDO::getSocialUserId)); | |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | @Override | ... | ... |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java
| ... | ... | @@ -291,7 +291,7 @@ public class AdminUserServiceImpl implements AdminUserService { |
| 291 | 291 | if (CollUtil.isEmpty(userIds)) { |
| 292 | 292 | return Collections.emptyList(); |
| 293 | 293 | } |
| 294 | - return userMapper.selectBatchIds(userIds); | |
| 294 | + return userMapper.selectByIds(userIds); | |
| 295 | 295 | } |
| 296 | 296 | |
| 297 | 297 | @Override |
| ... | ... | @@ -299,7 +299,7 @@ public class AdminUserServiceImpl implements AdminUserService { |
| 299 | 299 | if (CollUtil.isEmpty(ids)) { |
| 300 | 300 | return Collections.emptyList(); |
| 301 | 301 | } |
| 302 | - return userMapper.selectBatchIds(ids); | |
| 302 | + return userMapper.selectByIds(ids); | |
| 303 | 303 | } |
| 304 | 304 | |
| 305 | 305 | @Override |
| ... | ... | @@ -308,7 +308,7 @@ public class AdminUserServiceImpl implements AdminUserService { |
| 308 | 308 | return; |
| 309 | 309 | } |
| 310 | 310 | // 获得岗位信息 |
| 311 | - List<AdminUserDO> users = userMapper.selectBatchIds(ids); | |
| 311 | + List<AdminUserDO> users = userMapper.selectByIds(ids); | |
| 312 | 312 | Map<Long, AdminUserDO> userMap = CollectionUtils.convertMap(users, AdminUserDO::getId); |
| 313 | 313 | // 校验 |
| 314 | 314 | ids.forEach(id -> { | ... | ... |