修改bug
This commit is contained in:
parent
3ed02f1626
commit
aafd393564
|
@ -78,6 +78,7 @@ public class KcKechengbiaoController extends JeecgController<KcKechengbiao, IKcK
|
||||||
queryWrapper.apply("(kcmc like CONCAT('%','"+kcKechengbiao.getSearchInput()+"','%') or skjs like CONCAT('%','"+kcKechengbiao.getSearchInput()+"','%'))");
|
queryWrapper.apply("(kcmc like CONCAT('%','"+kcKechengbiao.getSearchInput()+"','%') or skjs like CONCAT('%','"+kcKechengbiao.getSearchInput()+"','%'))");
|
||||||
}
|
}
|
||||||
queryWrapper.apply(StringUtils.isNotBlank(kcKechengbiao.getYwcol())," length(kcbh)<25");
|
queryWrapper.apply(StringUtils.isNotBlank(kcKechengbiao.getYwcol())," length(kcbh)<25");
|
||||||
|
queryWrapper.apply("kcmc not like '%实习%' and kcmc not like '%实训%' and kcmc not like '%实践%' and kcmc not like '%实验%' and kcmc not like '%美术%'");
|
||||||
Page<KcKechengbiao> page = new Page<KcKechengbiao>(pageNo, pageSize);
|
Page<KcKechengbiao> page = new Page<KcKechengbiao>(pageNo, pageSize);
|
||||||
IPage<KcKechengbiao> pageList = kcKechengbiaoService.page(page, queryWrapper);
|
IPage<KcKechengbiao> pageList = kcKechengbiaoService.page(page, queryWrapper);
|
||||||
return Result.OK(pageList);
|
return Result.OK(pageList);
|
||||||
|
|
|
@ -61,7 +61,6 @@
|
||||||
<select id="selectPage" resultType="org.jeecg.modules.kc.ktgl.entity.KcKechengbiao">
|
<select id="selectPage" resultType="org.jeecg.modules.kc.ktgl.entity.KcKechengbiao">
|
||||||
select * from (
|
select * from (
|
||||||
select * from kc_kechengbiao where id in (select min(id) from kc_kechengbiao GROUP BY kcmc ,skjs,hh,skdd)
|
select * from kc_kechengbiao where id in (select min(id) from kc_kechengbiao GROUP BY kcmc ,skjs,hh,skdd)
|
||||||
and ( kcdl not like '%实习%' or kcdl not like '%实训%' or kcdl not like '%实践%')
|
|
||||||
) a
|
) a
|
||||||
${ew.customSqlSegment}
|
${ew.customSqlSegment}
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue