feat(wms): 优化应收款和应付款管理查询功能

- 新增 selectVoPagePlus 方法以支持自定义 SQL 查询
-重构 queryPageList 方法,使用新的查询方式
- 添加供应商名称和客户名称字段到相应的 VO 类- 更新 XML 文件以包含新的查询 SQL
This commit is contained in:
JR
2025-08-13 13:26:12 +08:00
parent 936f85d401
commit f3089f9417
8 changed files with 93 additions and 10 deletions

View File

@@ -21,5 +21,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by"/>
</resultMap>
<select id="selectVoPagePlus" resultType="com.klp.domain.vo.WmsReceivableVo">
select r.receivable_id,
r.customer_id,
r.order_id,
r.due_date,
r.amount,
r.paid_amount,
r.balance_amount,
r.status,
r.del_flag,
r.remark,
r.create_time,
r.create_by,
r.update_time,
r.update_by,
c.name as customerName
from wms_receivable r
left join wms_customer c on r.customer_id = c.customer_id
${ew.customSqlSegment}
</select>
</mapper>