|
@@ -170,7 +170,7 @@
|
|
WHERE cs.group_type_ = 'PRACTICE'
|
|
WHERE cs.group_type_ = 'PRACTICE'
|
|
AND cs.status_ != 'NOT_START'
|
|
AND cs.status_ != 'NOT_START'
|
|
AND cs.del_flag_ = 0
|
|
AND cs.del_flag_ = 0
|
|
- AND pg.type='FREE'
|
|
|
|
|
|
+ AND pg.type_='FREE'
|
|
AND pg.group_status_ != 'LOCK'
|
|
AND pg.group_status_ != 'LOCK'
|
|
GROUP BY cs.class_group_id_, pg.organ_id_
|
|
GROUP BY cs.class_group_id_, pg.organ_id_
|
|
</select>
|
|
</select>
|