|
@@ -155,8 +155,9 @@ public class AppCoureseServiceImpl extends ServiceImpl<AppCoursesMapper, AppCour
|
|
|
for (String id : differ) {
|
|
|
AppCoursesPriceRules appCoursesPriceRules = priceRulesMapper.selectById(id);
|
|
|
if (ObjectUtils.isNotEmpty(appCoursesPriceRules)) {
|
|
|
- appCoursesPriceRules.setStatus(CommonConstant.STATUS_1_INT);
|
|
|
- priceRulesMapper.updateById(appCoursesPriceRules);
|
|
|
+// appCoursesPriceRules.setStatus(CommonConstant.STATUS_1_INT);
|
|
|
+// priceRulesMapper.updateById(appCoursesPriceRules);
|
|
|
+ priceRulesMapper.deleteById(id);
|
|
|
}
|
|
|
}
|
|
|
//id为空做新增
|