From 52a6b72555b792eef170ff0a65a8c094fcd6fd14 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Wed, 10 Jan 2024 18:18:55 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E5=A4=8D=E6=A0=B8=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hnac/hzims/safeproduct/entity/SafetyToolEntity.java | 3 ++- .../com/hnac/hzims/safeproduct/controller/SafetyToolController.java | 2 +- hzims-service/safeproduct/src/main/resources/db/1.0.2.sql | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/SafetyToolEntity.java b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/SafetyToolEntity.java index 13d9e12..1ac5e07 100644 --- a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/SafetyToolEntity.java +++ b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/SafetyToolEntity.java @@ -68,7 +68,8 @@ public class SafetyToolEntity extends TenantEntity { @ApiModelProperty(value = "通知用户") private String noticeUsers; - + @ApiModelProperty(value = "提前让推送天数") + private Integer advanceNoticeDays; @ApiModelProperty(value = "模板Id") private Long messageTemplateId; diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolController.java index 3457261..9c990b3 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/SafetyToolController.java @@ -122,7 +122,7 @@ public class SafetyToolController extends BladeController { @PostMapping("/batchRecheck") @ApiOperationSupport(order = 52) @ApiOperation(value = "复核、批量审核") - public R> batchRecheck(@RequestBody SafetyToolBatchRecheckDTO req) { + public R batchRecheck(@RequestBody SafetyToolBatchRecheckDTO req) { safetyToolService.doBatchRecheck(req); return R.status(true); } diff --git a/hzims-service/safeproduct/src/main/resources/db/1.0.2.sql b/hzims-service/safeproduct/src/main/resources/db/1.0.2.sql index 548567a..daedcb2 100644 --- a/hzims-service/safeproduct/src/main/resources/db/1.0.2.sql +++ b/hzims-service/safeproduct/src/main/resources/db/1.0.2.sql @@ -1 +1 @@ -alter table `hzims_oper_maintenance_task` add column `is_delay` tinyint(2) default 0 comment '是否延期'; \ No newline at end of file +alter table `hzims_safe_safety_tool` add column `advance_notice_days` tinyint(4) default 0 comment '安全工器具提前通知天数'; \ No newline at end of file