Browse Source

【口岸监管服务系统】企业资质备案,单据状态查询结果不正确

heguanxun 4 months ago
parent
commit
703c750f72

+ 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());