浏览代码

feat:乐团费用改造

Joburgess 4 年之前
父节点
当前提交
c64da33faa

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

@@ -317,7 +317,7 @@
 		FROM
 			music_group_payment_calender_detail mgpcd
 		WHERE
-			mgpc.music_group_payment_calender_id_ = #{calenderId}
+			mgpcd.music_group_payment_calender_id_ = #{calenderId}
 	</select>
 
 	<select id="getUnusedPaymentCalenderWithMusicGroup" resultMap="MusicGroupPaymentCalenderDetail">

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

@@ -336,7 +336,7 @@
         WHERE
             mgpcd.music_group_payment_calender_id_ = mgpccs.music_group_payment_calender_id_
             AND mgpc.music_group_id_ = #{musicGroupId}
-            AND mgpcd.use_in_course_ = 1
+            AND mgpcd.use_in_course_ = 0
             AND mgpcd.user_id_ IN
             <foreach collection="studentIds" item="studentId" open="(" close=")" separator=",">
                 #{studentId}

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

@@ -59,7 +59,7 @@ public class MusicGroupSubjectPlanController extends BaseController {
     @ApiOperation(value = "根据科目编号和乐团编号获取乐团规划")
     @PostMapping("/findSubjectPlan")
     @PreAuthorize("@pcs.hasPermissions('musicGroupSubjectPlan/findSubjectPlan')")
-    public Object findSubjectPlan(String musicGroupId,Integer subjectId) throws Exception {
+    public Object findSubjectPlan(String musicGroupId,Integer subjectId) {
         if(StringUtils.isEmpty(musicGroupId) || subjectId == null){
             throw new BizException("参数校验失败");
         }