Просмотр исходного кода

专家发布搜索发布位置搜索条件BUG修复

anderx лет назад: 7
Родитель
Сommit
6b28655c11

+ 3 - 0
src/main/java/com/goafanti/common/mapper/ExpertPublishMapper.xml

@@ -378,6 +378,9 @@ where 1=1
   	<if test="publishPlatform != null">
 		and ep.publish_platform = #{publishPlatform,jdbcType=VARCHAR}
 	</if>
+	<if test="publishPage != null">
+		and ep.publish_page = #{publishPage,jdbcType=VARCHAR}
+	</if>
 	<if test="publishClient != null">
 		and ep.publish_client = #{publishClient,jdbcType=INTEGER}
 	</if>

+ 1 - 1
src/main/java/com/goafanti/user/controller/ExpertPublishController.java

@@ -16,7 +16,7 @@ import com.goafanti.user.service.ExpertPublishService;
 import com.goafanti.user.service.UserService;
 
 @RestController
-@RequestMapping(value = "/api/admin/expert")
+@RequestMapping(value = "/open/api/admin/expert")
 public class ExpertPublishController extends BaseApiController {
 	@Resource
 	private UserService						userService;