You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
2.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.charge.station.dao.ChargeMarketDOMapper" >
<resultMap id="BaseResultMap" type="com.charge.task.model.ChargeMarketDO" >
<!--
WARNING - @mbg.generated
-->
<id column="id" property="id" jdbcType="BIGINT" />
<result column="activity_type" property="activityType" jdbcType="TINYINT" />
<result column="activity_name" property="activityName" jdbcType="VARCHAR" />
<result column="activity_start_time" property="activityStartTime" jdbcType="TIMESTAMP" />
<result column="activity_end_time" property="activityEndTime" jdbcType="TIMESTAMP" />
<result column="activity_discount_type" property="activityDiscountType" jdbcType="TINYINT" />
<result column="activity_discount" property="activityDiscount" jdbcType="INTEGER" />
<result column="activity_app_price_show" property="activityAppPriceShow" jdbcType="TINYINT" />
<result column="activity_user_range" property="activityUserRange" jdbcType="TINYINT" />
<result column="activity_company_id" property="activityCompanyId" jdbcType="VARCHAR" />
<result column="activity_charge_range" property="activityChargeRange" jdbcType="TINYINT" />
<result column="activity_station_id" property="activityStationId" jdbcType="VARCHAR" />
<result column="activity_status" property="activityStatus" jdbcType="TINYINT" />
<result column="activity_image_url" property="activityImageUrl" jdbcType="VARCHAR" />
<result column="activity_content" property="activityContent" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
</resultMap>
<!--黄海发现ms-task运行时报错可能是因为缺失相应的sql导致找快卜要了一下他们没给只好根据自己的理解编写了一个-->
<!--Invalid bound statement (not found)的原因以及解决方法-->
<!--https://blog.csdn.net/axbhealj/article/details/130331164-->
<select id="queryPushFailedChargeMarket" resultMap="BaseResultMap">
SELECT
*
FROM
t_charge_market
WHERE
push_status=0
</select>
</mapper>