luofl
2025-04-11 2fc4d1e0a7d1e786c99f3d113ac4449be2659c3f
cloud-server-activity/src/main/resources/mapper/PayHuiminMapper.xml
@@ -121,7 +121,7 @@
        thc.huiMinType,
        thc.salesMoney,
        thc.operatorId,
        thc.storeId,
        thc.storeIds,
        tph.appUserId,
        tph.paymentTime,
        thc.endTime,
@@ -136,7 +136,6 @@
        LEFT JOIN t_huimin_card thc ON tph.cardId = thc.id
        LEFT JOIN t_huimin_record thr ON tph.appUserId= thr.appUserId AND tph.cardId= thr.huiminCardId
        <where>
             tph.id IS NOT NULL
            <if test="query.huiMinName !=null and query.huiMinName != ''">
                AND thc.huiMinName LIKE CONCAT('%',#{query.huiMinName},'%')
            </if>
@@ -175,6 +174,7 @@
                </choose>
            </if>
        </where>
        GROUP BY tph.id
        ORDER BY tph.insertTime DESC
    </select>
</mapper>