Authored by zhaoqing

联盟红人

@@ -292,39 +292,39 @@ @@ -292,39 +292,39 @@
292 limit 0,10 292 limit 0,10
293 </select> 293 </select>
294 294
295 - <select id="selectOrderList" resultMap="BaseResultMap" parameterType="com.yoho.service.model.union.request.UnionShareOrderReqBO"> 295 + <select id="selectOrderList" resultMap="BaseResultMap">
296 select 296 select
297 <include refid="Base_Column_List" /> 297 <include refid="Base_Column_List" />
298 from union_share_orders 298 from union_share_orders
299 - where promote_uid = #{uid,jdbcType=INTEGER}  
300 - <if test="tab1 != null and tab1 == 1 and tab2 == 0"> 299 + where promote_uid = #{params.uid,jdbcType=INTEGER}
  300 + <if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 0">
301 AND status != 100 301 AND status != 100
302 </if> 302 </if>
303 - <if test="tab1 != null and tab1 == 1 and tab2 == 1"> 303 + <if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 1">
304 AND status = 10 304 AND status = 10
305 </if> 305 </if>
306 - <if test="tab1 != null and tab1 == 1 and tab2 == 2"> 306 + <if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 2">
307 AND status = 20 307 AND status = 20
308 </if> 308 </if>
309 - <if test="tab1 != null and tab1 == 1 and tab2 == 3"> 309 + <if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 3">
310 AND status IN (30,40) 310 AND status IN (30,40)
311 </if> 311 </if>
312 - <if test="tab1 != null and tab1 == 2 and tab2 == 0"> 312 + <if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 0">
313 AND status IN (10,20,30,40) 313 AND status IN (10,20,30,40)
314 </if> 314 </if>
315 - <if test="tab1 != null and tab1 == 2 and tab2 == 1"> 315 + <if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 1">
316 AND status = 10 316 AND status = 10
317 </if> 317 </if>
318 - <if test="tab1 != null and tab1 == 2 and tab2 == 2"> 318 + <if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 2">
319 AND status = 20 319 AND status = 20
320 </if> 320 </if>
321 - <if test="tab1 != null and tab1 == 2 and tab2 == 3"> 321 + <if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 3">
322 AND status IN (30,40) 322 AND status IN (30,40)
323 </if> 323 </if>
324 - <if test="tab1 != null and tab1 == 3"> 324 + <if test="params.tab1 != null and params.tab1 == 3">
325 AND status IN (91,92,93) 325 AND status IN (91,92,93)
326 </if> 326 </if>
327 order by order_time desc 327 order by order_time desc
328 - limit #{start,jdbcType=INTEGER}, #{size,jdbcType=INTEGER} 328 + limit #{params.start,jdbcType=INTEGER}, #{params.size,jdbcType=INTEGER}
329 </select> 329 </select>
330 </mapper> 330 </mapper>