|
@@ -358,7 +358,10 @@
|
|
<if test="example.storeNameLike != null">
|
|
<if test="example.storeNameLike != null">
|
|
and store_name.store_name like concat('%',#{example.storeNameLike},'%')
|
|
and store_name.store_name like concat('%',#{example.storeNameLike},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="example.businessState != null">
|
|
|
|
|
|
+ <if test="example.businessState != null and example.businessState==2">
|
|
|
|
+ and (store_site_info.business_state = #{example.businessState} or store_site_info.business_state is null)
|
|
|
|
+ </if>
|
|
|
|
+ <if test="example.businessState != null and example.businessState!=2">
|
|
and store_site_info.business_state = #{example.businessState}
|
|
and store_site_info.business_state = #{example.businessState}
|
|
</if>
|
|
</if>
|
|
<if test="example.storeGradeId != null">
|
|
<if test="example.storeGradeId != null">
|
|
@@ -404,7 +407,10 @@
|
|
<if test="example.storeNameLike != null">
|
|
<if test="example.storeNameLike != null">
|
|
and store_name.store_name like concat('%',#{example.storeNameLike},'%')
|
|
and store_name.store_name like concat('%',#{example.storeNameLike},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="example.businessState != null">
|
|
|
|
|
|
+ <if test="example.businessState != null and example.businessState==2">
|
|
|
|
+ and (store_site_info.business_state = #{example.businessState} or store_site_info.business_state is null)
|
|
|
|
+ </if>
|
|
|
|
+ <if test="example.businessState != null and example.businessState!=2">
|
|
and store_site_info.business_state = #{example.businessState}
|
|
and store_site_info.business_state = #{example.businessState}
|
|
</if>
|
|
</if>
|
|
<if test="example.storeGradeId != null">
|
|
<if test="example.storeGradeId != null">
|