Prechádzať zdrojové kódy

商品新增乐团收费模式

zouxuan 4 rokov pred
rodič
commit
686de2b843

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

@@ -422,7 +422,7 @@
             AND g.type_ = #{type}
         </if>
         <if test="courseViewType != null">
-            AND FIND_IN_SET(g.course_view_type_,#{courseViewType})
+            AND FIND_IN_SET(#{courseViewType},g.course_view_type_)
         </if>
     </select>
 

+ 1 - 1
mec-web/src/main/java/com/ym/mec/web/controller/MusicGroupSubjectPlanController.java

@@ -75,7 +75,7 @@ public class MusicGroupSubjectPlanController extends BaseController {
             @ApiImplicitParam(name = "type", value = "INSTRUMENT 乐器, ACCESSORIES 教辅", required = true, dataType = "String"),
             @ApiImplicitParam(name = "chargeTypeId", value = "收费模式id", required = true, dataType = "Integer"),
             @ApiImplicitParam(name = "courseViewType", value = "收费模式", required = true, dataType = "Integer"),
-            @ApiImplicitParam(name = "musicGroupId", value = "乐团编号", required = true, dataType = "musicGroupId")
+            @ApiImplicitParam(name = "musicGroupId", value = "乐团编号", required = true, dataType = "String")
     })
     public HttpResponseResult getSubjectGoods(String subjectIds, String type, Integer chargeTypeId,Integer courseViewType,String musicGroupId) {
         if(StringUtils.isBlank(subjectIds)){