manage/src/main/resources/mapping/TCouponReceiveMapper.xml
@@ -24,5 +24,12 @@ <sql id="Base_Column_List"> id, couponId, userId, type, amount, storeId, endTime, amountCondition, status, createTime, updateTime, createBy, updateBy, isDelete </sql> <select id="pageList" resultType="com.jilongda.manage.vo.TAppUserCouponVO"> select t1.* ,t2.name as couponName from t_coupon_receive t1 left join t_coupon t2 on t1.couponId = t2.id where t1.userId = #{query.id} and t1.isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} </select> </mapper>