refactor(oa): 采购计划 mapper 接口和 XML 文件改造

- 将 GearPurchasePlanDetailMapper 接口中的 LambdaQueryWrapper 替换为 QueryWrapper
- 更新 GearPurchasePlanDetailMapper.xml 中的 SQL 语句,使用 customSqlSegment 替代 getSqlSegment
- 重构 GearPurchasePlanDetailServiceImpl 中的查询方法,使用 QueryWrapper 替代 LambdaQueryWrapper- 优化 GearSupplierServiceImpl 中的查询方法,将 like 查询改为 eq 查询
This commit is contained in:
2025-08-30 16:53:10 +08:00
parent 637392a5ac
commit d8d8759644
4 changed files with 27 additions and 7 deletions

View File

@@ -44,7 +44,7 @@
s.name as supplierName
from gear_purchase_plan_detail d
left join gear_supplier s on d.supplier_id = s.supplier_id and s.del_flag = 0
${ew.getSqlSegment()}
${ew.customSqlSegment()}
</select>