Browse Source

市父ID查找

he2802 4 năm trước cách đây
mục cha
commit
e765b4b10f

+ 1 - 1
zhongzheng-admin/src/main/java/com/zhongzheng/controller/course/CourseStreamingBusinessController.java

@@ -37,7 +37,7 @@ import io.swagger.annotations.ApiOperation;
 @Api(value = "课程流适用业务关系控制器", tags = {"课程流适用业务关系管理"})
 @RequiredArgsConstructor(onConstructor_ = @Autowired)
 @RestController
-@RequestMapping("/system/business")
+@RequestMapping("/course/streaming/business")
 public class CourseStreamingBusinessController extends BaseController {
 
     private final ICourseStreamingBusinessService iCourseStreamingBusinessService;

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/base/ApplyAreasMapper.xml

@@ -34,6 +34,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="areaName != null and areaName != ''">
             AND a1.area_name like concat('%', #{areaName}, '%')
         </if>
+        <if test="parentId != null and parentId != ''">
+            AND a1.parent_id = #{parentId}
+        </if>
     </select>
 
 </mapper>