|
@@ -3,25 +3,29 @@
|
|
<mapper namespace="com.platform.yijia.dao.IntegralShopPicMapper">
|
|
<mapper namespace="com.platform.yijia.dao.IntegralShopPicMapper">
|
|
<!--积分规则返回结果-->
|
|
<!--积分规则返回结果-->
|
|
<resultMap id="BaseResultMap" type="com.platform.yijia.pojo.IntegralShopPic">
|
|
<resultMap id="BaseResultMap" type="com.platform.yijia.pojo.IntegralShopPic">
|
|
- <id column="id" jdbcType="INTEGER" property="id" />
|
|
|
|
- <result column="name" jdbcType="VARCHAR" property="name" />
|
|
|
|
- <result column="url" jdbcType="VARCHAR" property="url" />
|
|
|
|
- <result column="img_status" jdbcType="VARCHAR" property="imgStatus" />
|
|
|
|
|
|
+<!-- <id column="id" jdbcType="INTEGER" property="id" />-->
|
|
|
|
+<!-- <result column="name" jdbcType="VARCHAR" property="name" />-->
|
|
|
|
+<!-- <result column="url" jdbcType="VARCHAR" property="url" />-->
|
|
|
|
+<!-- <result column="img_status" jdbcType="VARCHAR" property="imgStatus" />-->
|
|
|
|
+<!-- <result column="station_name" jdbcType="VARCHAR" property="stationName" />-->
|
|
<result column="station_id" jdbcType="INTEGER" property="stationId" />
|
|
<result column="station_id" jdbcType="INTEGER" property="stationId" />
|
|
- <result column="station_name" jdbcType="VARCHAR" property="stationName" />
|
|
|
|
|
|
+ <result column="image1" jdbcType="VARCHAR" property="image1" />
|
|
|
|
+ <result column="image2" jdbcType="VARCHAR" property="image2" />
|
|
|
|
+ <result column="image3" jdbcType="VARCHAR" property="image3" />
|
|
|
|
+ <result column="image4" jdbcType="VARCHAR" property="image4" />
|
|
|
|
+ <result column="image5" jdbcType="VARCHAR" property="image5" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<!--查询油站积分商城图片信息-->
|
|
<!--查询油站积分商城图片信息-->
|
|
<select id="getIntegralShopPicList" resultMap="BaseResultMap" parameterType="com.platform.yijia.pojo.IntegralShopPic">
|
|
<select id="getIntegralShopPicList" resultMap="BaseResultMap" parameterType="com.platform.yijia.pojo.IntegralShopPic">
|
|
SELECT
|
|
SELECT
|
|
- id,
|
|
|
|
- name,
|
|
|
|
- url,
|
|
|
|
- img_status,
|
|
|
|
- station_id,
|
|
|
|
- station_name
|
|
|
|
|
|
+ image1,
|
|
|
|
+ image2,
|
|
|
|
+ image3,
|
|
|
|
+ image4,
|
|
|
|
+ image5
|
|
FROM
|
|
FROM
|
|
- integral_shop_pic
|
|
|
|
|
|
+ integral_rule
|
|
<where>
|
|
<where>
|
|
<if test="stationId !=null and stationId !=''">
|
|
<if test="stationId !=null and stationId !=''">
|
|
AND station_id = #{stationId}
|
|
AND station_id = #{stationId}
|