瀏覽代碼

【口岸监管服务系统】企业资质备案,新增一条备案申请(申报),查看回执,没有这条数据的审核记录

heguanxun 3 月之前
父節點
當前提交
5306e10375

+ 3 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qychecklist/param/QyCheckListPageParam.java

@@ -28,6 +28,9 @@ import java.util.Date;
 @Setter
 public class QyCheckListPageParam {
 
+    @Schema(description = "id")
+    private String id;
+
     /** 当前页 */
     @Schema(description = "当前页码")
     private Integer current;

+ 3 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qychecklist/service/impl/QyCheckListServiceImpl.java

@@ -47,6 +47,9 @@ public class QyCheckListServiceImpl extends ServiceImpl<QyCheckListMapper, QyChe
     @Override
     public Page<QyCheckList> page(QyCheckListPageParam qyCheckListPageParam) {
         QueryWrapper<QyCheckList> queryWrapper = new QueryWrapper<QyCheckList>().checkSqlInjection();
+        if(ObjectUtil.isNotEmpty(qyCheckListPageParam.getId())) {
+            queryWrapper.lambda().eq(QyCheckList::getId, qyCheckListPageParam.getId());
+        }
         if(ObjectUtil.isNotEmpty(qyCheckListPageParam.getCompanyName())) {
             queryWrapper.lambda().eq(QyCheckList::getCompanyName, qyCheckListPageParam.getCompanyName());
         }