refactor(oa): 采购计划 mapper 接口和 XML 文件改造
- 将 GearPurchasePlanDetailMapper 接口中的 LambdaQueryWrapper 替换为 QueryWrapper - 更新 GearPurchasePlanDetailMapper.xml 中的 SQL 语句,使用 customSqlSegment 替代 getSqlSegment - 重构 GearPurchasePlanDetailServiceImpl 中的查询方法,使用 QueryWrapper 替代 LambdaQueryWrapper- 优化 GearSupplierServiceImpl 中的查询方法,将 like 查询改为 eq 查询
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user