|
|
<?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.task.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" />
|
|
|
<result column="push_status" property="pushStatus" jdbcType="TINYINT" />
|
|
|
</resultMap>
|
|
|
|
|
|
<!--黄海发现ms-task运行时报错,可能是因为缺失相应的sql导致,找快卜要了一下他们没给,只好根据自己的理解编写了一个-->
|
|
|
<!--Invalid bound statement (not found)的原因以及解决方法-->
|
|
|
<!--https://blog.csdn.net/axbhealj/article/details/130331164-->
|
|
|
<!--安装插件mybatisx,以便观察sql语句是否对应完整的问题-->
|
|
|
<select id="queryPushFailedChargeMarket" resultMap="BaseResultMap">
|
|
|
SELECT
|
|
|
*
|
|
|
FROM
|
|
|
t_charge_market
|
|
|
WHERE
|
|
|
push_status=0
|
|
|
</select>
|
|
|
</mapper> |