KKSU
2024-12-31 903d74d64f8d97f4b176d5454736c35b0268ada0
feat(mall): 为资金流列表添加来源电话字段

- 在 AdminMoneyFlowListVo 中添加 rtPhone 字段,用于存储来源电话
- 在 MallMoneyFlowMapper.xml 中添加查询来源电话的 SQL语句
- 在 moneyFlowList.html 中添加来源电话的列显示
3 files modified
7 ■■■■ changed files
src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java 2 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml 3 ●●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html 2 ●●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java
@@ -30,6 +30,8 @@
    private String phone;
    private String rtPhone;
    private Integer status;
    private String payMethod;
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -26,7 +26,8 @@
        select
        a.*,
        b.name,
        b.phone
        b.phone,
        (select phone from mall_member where id = a.rt_member_id) rtPhone
        from mall_money_flow a
        inner join mall_member b on a.member_id=b.id
        <where>
src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html
@@ -148,6 +148,8 @@
                                return '-';
                            }
                        }, minWidth: 80,align:'center'},
                    {field: 'rtPhone', title: '来源', minWidth: 150,align:'left'},
                    {field: 'createdTime', title: '创建时间', minWidth: 180,align:'center'}
                ]]
            });