style:修复 SQL 注入风险
- 移除了 GearPurchasePlanDetailMapper.xml 文件中的 SQL 注入风险点
- 将 ${ew.customSqlSegment()} 修改为 ${ew.customSqlSegment},去除了末尾的括号
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
s.name as supplierName
|
s.name as supplierName
|
||||||
from gear_purchase_plan_detail d
|
from gear_purchase_plan_detail d
|
||||||
left join gear_supplier s on d.supplier_id = s.supplier_id and s.del_flag = 0
|
left join gear_supplier s on d.supplier_id = s.supplier_id and s.del_flag = 0
|
||||||
${ew.customSqlSegment()}
|
${ew.customSqlSegment}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user