Browse Source

fix:[资源库管理][试剂管理]搜索

master
HanLong 2 months ago
parent
commit
c3961406ac
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/PublicController.java
  2. +2
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java

+ 1
- 1
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/PublicController.java View File

@ -194,7 +194,7 @@ public class PublicController extends BaseController {
public TableDataInfo list(SjSearchListForm form)
{
startPage();
List<SjListDto> list = sjService.queryList(form);
List<SjListDto> list = sjService.queryPublicList(form);
return getDataTable(list);
}

+ 2
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java View File

@ -586,6 +586,8 @@ public class SjServiceImpl extends ServiceImpl implements ISjServi
}
if (form.getZjzt() != null && form.getZjzt().intValue() > 0) {
queryWrapper.eq("t.zjzt", form.getZjzt());
} else {
queryWrapper.isNotNull("t.zjzt");
}
if(StringUtils.isNotEmpty(form.getLy())) {
queryWrapper.like("t.ly", form.getLy());

Loading…
Cancel
Save