2 Commits 129f105220 ... e165ac47d3

Author SHA1 Message Date
  heguanxun e165ac47d3 Merge remote-tracking branch 'origin/master' 3 months ago
  heguanxun 703c750f72 【口岸监管服务系统】企业资质备案,单据状态查询结果不正确 3 months ago

+ 4 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qyrecord/param/QyRecordPageParam.java

@@ -79,6 +79,10 @@ public class QyRecordPageParam {
     @Schema(description = "统一社会信用代码")
     private String companyCode;
 
+    /** 单据状态 */
+    @Schema(description = "单据状态")
+    private String status;
+
     /** ids */
     @Schema(description = "ids")
     private List<String> ids;

+ 4 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qyrecord/service/impl/QyRecordServiceImpl.java

@@ -58,6 +58,10 @@ public class QyRecordServiceImpl extends ServiceImpl<QyRecordMapper, QyRecord> i
         if(ObjectUtil.isNotEmpty(qyRecordPageParam.getBaType())) {
             queryWrapper.lambda().eq(QyRecord::getBaType, qyRecordPageParam.getBaType());
         }
+        //单据状态
+        if(ObjectUtil.isNotEmpty(qyRecordPageParam.getStatus())) {
+            queryWrapper.lambda().eq(QyRecord::getStatus, qyRecordPageParam.getStatus());
+        }
         //申报类型
         if(ObjectUtil.isNotEmpty(qyRecordPageParam.getApplyType())) {
             queryWrapper.lambda().eq(QyRecord::getApplyType, qyRecordPageParam.getApplyType());