月计划过滤查询bug

This commit is contained in:
zhanglipeng 2021-09-05 16:11:00 +08:00
parent 8f15e3db75
commit 54518511d2
4 changed files with 3 additions and 5 deletions

View File

@ -45,7 +45,7 @@
</el-col>
<el-col :xs="24" :ms="12" :md="5">
<el-form-item label="主题内容" prop="themes">
<el-select v-model="queryParams.themes" size="small">
<el-select v-model="queryParams.themes" filterable size="small">
<el-option
v-for="item in themeOptions"
:key="item.id"

View File

@ -45,7 +45,7 @@
</el-col>
<el-col :xs="24" :ms="12" :md="5">
<el-form-item label="主题内容" prop="themes">
<el-select v-model="queryParams.themes" size="small">
<el-select v-model="queryParams.themes" filterable size="small">
<el-option
v-for="item in themeOptions"
:key="item.id"

View File

@ -73,8 +73,6 @@ public class ByThemeMonthplanController extends BaseController {
if (schoolCommon.isSchool() && !schoolCommon.isStringEmpty(classId)) {
byThemeMonthplan.setClassid(classId);
}
}else{
byThemeMonthplan.setClassid(strClassId);
}
startPage();
list = byThemeMonthplanService.selectByThemeMonthplanList(byThemeMonthplan);

View File

@ -54,7 +54,7 @@
<if test="classid != null and classid != ''">and a.classid = #{classid}</if>
<if test="xnxq != null and xnxq != ''">and a.xnxq = #{xnxq}</if>
<if test="month != null ">and a.month = #{month}</if>
<if test="themes != null and themes != ''">and a.themes = #{themes}</if>
<if test="themes != null and themes != ''">and a.themes like concat('%;', #{themes}, ';%')</if>
<if test="selfthemes != null and selfthemes != ''">and a.selfthemes = #{selfthemes}</if>
<if test="wxkc != null and wxkc != ''">and a.wxkc = #{wxkc}</if>
<if test="support != null and support != ''">and a.support = #{support}</if>