xuhy
2024-10-29 76561071d3441cd8a551772d0f43d93c9f9a1e6a
ruoyi-system/src/main/resources/mapper/system/TFoundationPersonMapper.xml
@@ -8,6 +8,7 @@
        <result column="mealCount" property="mealCount" />
        <result column="createTime" property="createTime" />
        <result column="shopId" property="shopId" />
        <result column="mealType" property="mealType" />
    </resultMap>
    <!-- 通用查询结果列 -->
@@ -16,7 +17,7 @@
    </sql>
    <select id="getList" resultType="com.ruoyi.system.vo.TFoundationPersonVO">
        select
            tfp.id, tfp.mealCount,tfp.createTime,tfp.shopId,ts.shopName
            tfp.id, tfp.mealCount,tfp.createTime,tfp.shopId,tfp.mealType,ts.shopName
        from t_foundation_person tfp
        left join t_shop ts on ts.id = tfp.shopId
        <where>