Browse Source

发布需求按发布页面区分无效修复

anderx 8 years ago
parent
commit
176ec2407a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/main/java/com/goafanti/common/mapper/DemandPublishMapper.xml

+ 7 - 0
src/main/java/com/goafanti/common/mapper/DemandPublishMapper.xml

@@ -383,6 +383,10 @@ where 1=1
 	<if test="publishClient != null">
 		and dp.publish_client = #{publishClient,jdbcType=INTEGER}
 	</if>
+	
+	<if test="publishPage != null">
+		and dp.publish_page =#{publishPage,jdbcType=INTEGER}
+	</if>
 	<if test="ifTop != null">
 		and dp.if_top =#{ifTop,jdbcType=INTEGER}
 
@@ -403,6 +407,9 @@ where 1=1
 <if test="name != null">
   	and d.name like "%"#{name,jdbcType=VARCHAR}"%"
   	</if>
+  	<if test="publishPage != null">
+		and dp.publish_page =#{publishPage,jdbcType=INTEGER}
+	</if>
   	<if test="userName != null">
   	and d.owner_name = = #{userName,jdbcType=VARCHAR}
   	</if>