From 61c63e738f1dcf4bec9ca8f29fb938fadcec2a49 Mon Sep 17 00:00:00 2001 From: dongdingding <207595406@qq.com> Date: Sat, 23 Dec 2023 13:54:41 +0800 Subject: [PATCH] BUG FIX --- .../entity/BPlanEnterprise.java | 17 +++++++++++++++++ .../entity/request/BPlanEnterpriseRequest.java | 7 +++++++ .../entity/request/checkResultRequest.java | 4 ++-- .../response/BPlanEnterpriseResponse.java | 12 ++++++++++++ .../response/BPlanEnterpriseZhifaResponse.java | 2 +- .../mapper/yingji/BEnterpriseNewMapper.xml | 1 - .../mapper/yingji/BPlanEnterpriseMapper.xml | 16 ++++++++++++++-- 7 files changed, 53 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/BPlanEnterprise.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/BPlanEnterprise.java index 827ae23..1e3c2b9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/BPlanEnterprise.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/BPlanEnterprise.java @@ -234,5 +234,22 @@ public class BPlanEnterprise { private Date examineEndTime; + /** + * 检查时间 + */ + @ApiModelProperty(value = "上次检查时间") + private Date checkTime; + + + + + /** + * 企业信用代码 + */ + @ApiModelProperty(value = "企业信用代码") + private String uuto; + + + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/BPlanEnterpriseRequest.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/BPlanEnterpriseRequest.java index a7dba31..f6220b9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/BPlanEnterpriseRequest.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/BPlanEnterpriseRequest.java @@ -223,4 +223,11 @@ public class BPlanEnterpriseRequest { @ApiModelProperty(value = "上次检查时间") private Date examineEndTime; + + + /** + * 企业信用代码 + */ + @ApiModelProperty(value = "企业信用代码") + private String uuto; } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/checkResultRequest.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/checkResultRequest.java index f3a9e83..cc84d36 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/checkResultRequest.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/request/checkResultRequest.java @@ -41,13 +41,13 @@ public class checkResultRequest { * 0:未检查 1:已检查 */ @ApiModelProperty(value = "0:未检查 1:已检查") - private Integer checkStatus; + private String checkStatus; /** * 0:草稿 1:正式 */ @ApiModelProperty(value = "0:草稿 1:正式") - private Integer status; + private String status; } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseResponse.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseResponse.java index 4b2035c..3ce6973 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseResponse.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseResponse.java @@ -228,4 +228,16 @@ public class BPlanEnterpriseResponse extends BaseEntity { private Date examineEndTime; + /** + * 检查时间 + */ + @ApiModelProperty(value = "上次检查时间") + private Date checkTime; + + /** + * 企业信用代码 + */ + @ApiModelProperty(value = "企业信用代码") + private String uuto; + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseZhifaResponse.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseZhifaResponse.java index b1aa841..fb8d781 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseZhifaResponse.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/entity/response/BPlanEnterpriseZhifaResponse.java @@ -174,7 +174,7 @@ public class BPlanEnterpriseZhifaResponse { * 0:未检查 1:已检查 */ @ApiModelProperty(value = "0:未检查 1:已检查") - private Integer checkStatus; + private Long checkStatus; /** diff --git a/ruoyi-system/src/main/resources/mapper/yingji/BEnterpriseNewMapper.xml b/ruoyi-system/src/main/resources/mapper/yingji/BEnterpriseNewMapper.xml index 4979ead..f804154 100644 --- a/ruoyi-system/src/main/resources/mapper/yingji/BEnterpriseNewMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/yingji/BEnterpriseNewMapper.xml @@ -197,7 +197,6 @@ LEFT JOIN ( SELECT USC_CODE, MAX(EXAMINE_END_TIME) AS MAX_EXAMINE_END_TIME FROM sz_enfor_examine - WHERE YEAR(EXAMINE_END_TIME) = YEAR(CURDATE()) GROUP BY USC_CODE ) e ON a.enterprise_id = e.USC_CODE COLLATE utf8mb4_unicode_ci; diff --git a/ruoyi-system/src/main/resources/mapper/yingji/BPlanEnterpriseMapper.xml b/ruoyi-system/src/main/resources/mapper/yingji/BPlanEnterpriseMapper.xml index 0cd043c..533c258 100644 --- a/ruoyi-system/src/main/resources/mapper/yingji/BPlanEnterpriseMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/yingji/BPlanEnterpriseMapper.xml @@ -29,7 +29,9 @@ status, check_status, check_id, - check_ageing + check_ageing, + uuto, + check_time from b_plan_enterprise @@ -56,6 +58,8 @@ a.law_areas, a.law_level, a.law_hierarchy, + a.uuto, + a.check_time, a.planned_month as plannedMonth, a.status, a.check_status, @@ -136,6 +140,8 @@ a.law_hierarchy, a.planned_month, a.status, + a.uuto, + a.check_time, a.check_status, a.check_id, a.check_ageing, @@ -252,6 +258,8 @@ a.user_id, a.dept_id, a.district, + a.uuto, + a.check_time, a.planned_year, a.is_point, a.enterprise_name as entprName @@ -318,7 +326,7 @@