From ef89e62f9ab08b7b1d6fd0afb23eba4bb5a30b19 Mon Sep 17 00:00:00 2001
From: Joshi <3040996759@qq.com>
Date: Mon, 27 Oct 2025 14:38:21 +0800
Subject: [PATCH 1/7] =?UTF-8?q?feat(config):=20=E6=9B=B4=E6=96=B0=E7=94=9F?=
=?UTF-8?q?=E4=BA=A7=E7=8E=AF=E5=A2=83=E6=95=B0=E6=8D=AE=E5=BA=93=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修改数据库连接地址为生产服务器IP和端口
- 设置数据库用户名为klp
- 配置数据库密码为KeLunPu@123- 更改数据库名称为klp_pocketfactory
---
klp-admin/src/main/resources/application-prod.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/klp-admin/src/main/resources/application-prod.yml b/klp-admin/src/main/resources/application-prod.yml
index 5252a979..ac0a944c 100644
--- a/klp-admin/src/main/resources/application-prod.yml
+++ b/klp-admin/src/main/resources/application-prod.yml
@@ -66,9 +66,9 @@ spring:
lazy: true
type: ${spring.datasource.type}
driverClassName: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
- username:
- password:
+ url: jdbc:mysql://140.143.206.120:13306/klp_pocketfactory?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
+ username: klp
+ password: KeLunPu@123
# oracle:
# type: ${spring.datasource.type}
# driverClassName: oracle.jdbc.OracleDriver
From 31c2f93a9129fc693462ab588ec5b9ea53e21910 Mon Sep 17 00:00:00 2001
From: Joshi <3040996759@qq.com>
Date: Mon, 27 Oct 2025 15:07:54 +0800
Subject: [PATCH 2/7] =?UTF-8?q?feat(pocket):=20=E6=96=B0=E5=A2=9E=E6=A8=A1?=
=?UTF-8?q?=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 创建当前状态实体类Klptcm1ProPlantStateCurrent- 创建当前状态业务对象Klptcm1ProPlantStateCurrentBo
- 创建当前状态值对象Klptcm1ProPlantStateCurrentVo
- 实现当前状态Service接口及实现类
- 实现当前状态Controller接口- 实现当前状态Mapper接口及XML映射文件
- 提供当前状态的增删改查及分页查询功能
- 支持当前状态数据导出Excel功能- 添加字段校验和重复提交注解
- 配置MyBatis Plus自动映射99个VALUE字段
---
klp-pocket/pom.xml | 28 +
...Klptcm1ProPlantStateCurrentController.java | 102 +++
.../domain/Klptcm1ProPlantStateCurrent.java | 449 ++++++++++++
.../bo/Klptcm1ProPlantStateCurrentBo.java | 554 +++++++++++++++
.../vo/Klptcm1ProPlantStateCurrentVo.java | 662 ++++++++++++++++++
.../Klptcm1ProPlantStateCurrentMapper.java | 15 +
.../IKlptcm1ProPlantStateCurrentService.java | 49 ++
...lptcm1ProPlantStateCurrentServiceImpl.java | 213 ++++++
.../Klptcm1ProPlantStateCurrentMapper.xml | 117 ++++
pom.xml | 6 +
10 files changed, 2195 insertions(+)
create mode 100644 klp-pocket/pom.xml
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/domain/bo/Klptcm1ProPlantStateCurrentBo.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/domain/vo/Klptcm1ProPlantStateCurrentVo.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java
create mode 100644 klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml
diff --git a/klp-pocket/pom.xml b/klp-pocket/pom.xml
new file mode 100644
index 00000000..c25f61d9
--- /dev/null
+++ b/klp-pocket/pom.xml
@@ -0,0 +1,28 @@
+
+ 4.0.0
+
+ com.klp
+ klp-oa
+ 0.8.3
+
+ klp-pocket
+ Archetype - klp-pocket
+ http://maven.apache.org
+
+
+ com.klp
+ klp-common
+ 0.8.3
+
+
+ commons-collections
+ commons-collections
+
+
+ com.klp
+ klp-system
+ 0.8.3
+
+
+
diff --git a/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
new file mode 100644
index 00000000..06f19a47
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
@@ -0,0 +1,102 @@
+package com.klp.pocket.controller;
+
+
+import java.util.Date;
+import java.util.List;
+import java.util.Arrays;
+
+
+import lombok.RequiredArgsConstructor;
+import javax.servlet.http.HttpServletResponse;
+import javax.validation.constraints.*;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.validation.annotation.Validated;
+import com.klp.common.annotation.RepeatSubmit;
+import com.klp.common.annotation.Log;
+import com.klp.common.core.controller.BaseController;
+import com.klp.common.core.domain.PageQuery;
+import com.klp.common.core.domain.R;
+import com.klp.common.core.validate.AddGroup;
+import com.klp.common.core.validate.EditGroup;
+import com.klp.common.enums.BusinessType;
+import com.klp.common.utils.poi.ExcelUtil;
+import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
+import com.klp.pocket.domain.bo.Klptcm1ProPlantStateCurrentBo;
+import com.klp.pocket.service.IKlptcm1ProPlantStateCurrentService;
+import com.klp.common.core.page.TableDataInfo;
+
+/**
+ * 当前
+ *
+ * @author klp
+ * @date 2025-10-27
+ */
+@Validated
+@RequiredArgsConstructor
+@RestController
+@RequestMapping("/pocket/proPlantStateCurrent")
+public class Klptcm1ProPlantStateCurrentController extends BaseController {
+
+ private final IKlptcm1ProPlantStateCurrentService iKlptcm1ProPlantStateCurrentService;
+
+ /**
+ * 查询当前列表
+ */
+ @GetMapping("/list")
+ public TableDataInfo list(Klptcm1ProPlantStateCurrentBo bo, PageQuery pageQuery) {
+ return iKlptcm1ProPlantStateCurrentService.queryPageList(bo, pageQuery);
+ }
+
+ /**
+ * 导出当前列表
+ */
+ @Log(title = "当前", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(Klptcm1ProPlantStateCurrentBo bo, HttpServletResponse response) {
+ List list = iKlptcm1ProPlantStateCurrentService.queryList(bo);
+ ExcelUtil.exportExcel(list, "当前", Klptcm1ProPlantStateCurrentVo.class, response);
+ }
+
+ /**
+ * 获取当前详细信息
+ *
+ * @param INSDATE 主键
+ */
+ @GetMapping("/{INSDATE}")
+ public R getInfo(@NotNull(message = "主键不能为空")
+ @PathVariable Date INSDATE) {
+ return R.ok(iKlptcm1ProPlantStateCurrentService.queryById(INSDATE));
+ }
+
+ /**
+ * 新增当前
+ */
+ @Log(title = "当前", businessType = BusinessType.INSERT)
+ @RepeatSubmit()
+ @PostMapping()
+ public R add(@Validated(AddGroup.class) @RequestBody Klptcm1ProPlantStateCurrentBo bo) {
+ return toAjax(iKlptcm1ProPlantStateCurrentService.insertByBo(bo));
+ }
+
+ /**
+ * 修改当前
+ */
+ @Log(title = "当前", businessType = BusinessType.UPDATE)
+ @RepeatSubmit()
+ @PutMapping()
+ public R edit(@Validated(EditGroup.class) @RequestBody Klptcm1ProPlantStateCurrentBo bo) {
+ return toAjax(iKlptcm1ProPlantStateCurrentService.updateByBo(bo));
+ }
+
+ /**
+ * 删除当前
+ *
+ * @param INSDATEs 主键串
+ */
+ @Log(title = "当前", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{INSDATEs}")
+ public R remove(@NotEmpty(message = "主键不能为空")
+ @PathVariable Date[] INSDATEs) {
+ return toAjax(iKlptcm1ProPlantStateCurrentService.deleteWithValidByIds(Arrays.asList(INSDATEs), true));
+ }
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
new file mode 100644
index 00000000..a0a50ce3
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
@@ -0,0 +1,449 @@
+package com.klp.pocket.domain;
+
+import com.baomidou.mybatisplus.annotation.*;
+import com.klp.common.core.domain.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+ * 当前对象 klptcm1_pro_plant_state_current
+ *
+ * @author klp
+ * @date 2025-10-27
+ */
+@Data
+@TableName("klptcm1_pro_plant_state_current")
+public class Klptcm1ProPlantStateCurrent{
+
+ private static final long serialVersionUID=1L;
+
+ /**
+ *
+ */
+ private Date INSDATE;
+ /**
+ *
+ */
+ private Long YEAR;
+ /**
+ *
+ */
+ private Long MONTH;
+ /**
+ *
+ */
+ private Long DAY;
+ /**
+ *
+ */
+ private Long HOUR;
+ /**
+ *
+ */
+ private Long MINUTE;
+ /**
+ *
+ */
+ private Long TYPE;
+ /**
+ *
+ */
+ private BigDecimal VALUE1;
+ /**
+ *
+ */
+ private BigDecimal VALUE2;
+ /**
+ *
+ */
+ private BigDecimal VALUE3;
+ /**
+ *
+ */
+ private BigDecimal VALUE4;
+ /**
+ *
+ */
+ private BigDecimal VALUE5;
+ /**
+ *
+ */
+ private BigDecimal VALUE6;
+ /**
+ *
+ */
+ private BigDecimal VALUE7;
+ /**
+ *
+ */
+ private BigDecimal VALUE8;
+ /**
+ *
+ */
+ private BigDecimal VALUE9;
+ /**
+ *
+ */
+ private BigDecimal VALUE10;
+ /**
+ *
+ */
+ private BigDecimal VALUE11;
+ /**
+ *
+ */
+ private BigDecimal VALUE12;
+ /**
+ *
+ */
+ private BigDecimal VALUE13;
+ /**
+ *
+ */
+ private BigDecimal VALUE14;
+ /**
+ *
+ */
+ private BigDecimal VALUE15;
+ /**
+ *
+ */
+ private BigDecimal VALUE16;
+ /**
+ *
+ */
+ private BigDecimal VALUE17;
+ /**
+ *
+ */
+ private BigDecimal VALUE18;
+ /**
+ *
+ */
+ private BigDecimal VALUE19;
+ /**
+ *
+ */
+ private BigDecimal VALUE20;
+ /**
+ *
+ */
+ private BigDecimal VALUE21;
+ /**
+ *
+ */
+ private BigDecimal VALUE22;
+ /**
+ *
+ */
+ private BigDecimal VALUE23;
+ /**
+ *
+ */
+ private BigDecimal VALUE24;
+ /**
+ *
+ */
+ private BigDecimal VALUE25;
+ /**
+ *
+ */
+ private BigDecimal VALUE26;
+ /**
+ *
+ */
+ private BigDecimal VALUE27;
+ /**
+ *
+ */
+ private BigDecimal VALUE28;
+ /**
+ *
+ */
+ private BigDecimal VALUE29;
+ /**
+ *
+ */
+ private BigDecimal VALUE30;
+ /**
+ *
+ */
+ private BigDecimal VALUE31;
+ /**
+ *
+ */
+ private BigDecimal VALUE32;
+ /**
+ *
+ */
+ private BigDecimal VALUE33;
+ /**
+ *
+ */
+ private BigDecimal VALUE34;
+ /**
+ *
+ */
+ private BigDecimal VALUE35;
+ /**
+ *
+ */
+ private BigDecimal VALUE36;
+ /**
+ *
+ */
+ private BigDecimal VALUE37;
+ /**
+ *
+ */
+ private BigDecimal VALUE38;
+ /**
+ *
+ */
+ private BigDecimal VALUE39;
+ /**
+ *
+ */
+ private BigDecimal VALUE40;
+ /**
+ *
+ */
+ private BigDecimal VALUE41;
+ /**
+ *
+ */
+ private BigDecimal VALUE42;
+ /**
+ *
+ */
+ private BigDecimal VALUE43;
+ /**
+ *
+ */
+ private BigDecimal VALUE44;
+ /**
+ *
+ */
+ private BigDecimal VALUE45;
+ /**
+ *
+ */
+ private BigDecimal VALUE46;
+ /**
+ *
+ */
+ private BigDecimal VALUE47;
+ /**
+ *
+ */
+ private BigDecimal VALUE48;
+ /**
+ *
+ */
+ private BigDecimal VALUE49;
+ /**
+ *
+ */
+ private BigDecimal VALUE50;
+ /**
+ *
+ */
+ private BigDecimal VALUE51;
+ /**
+ *
+ */
+ private BigDecimal VALUE52;
+ /**
+ *
+ */
+ private BigDecimal VALUE53;
+ /**
+ *
+ */
+ private BigDecimal VALUE54;
+ /**
+ *
+ */
+ private BigDecimal VALUE55;
+ /**
+ *
+ */
+ private BigDecimal VALUE56;
+ /**
+ *
+ */
+ private BigDecimal VALUE57;
+ /**
+ *
+ */
+ private BigDecimal VALUE58;
+ /**
+ *
+ */
+ private BigDecimal VALUE59;
+ /**
+ *
+ */
+ private BigDecimal VALUE60;
+ /**
+ *
+ */
+ private BigDecimal VALUE61;
+ /**
+ *
+ */
+ private BigDecimal VALUE62;
+ /**
+ *
+ */
+ private BigDecimal VALUE63;
+ /**
+ *
+ */
+ private BigDecimal VALUE64;
+ /**
+ *
+ */
+ private BigDecimal VALUE65;
+ /**
+ *
+ */
+ private BigDecimal VALUE66;
+ /**
+ *
+ */
+ private BigDecimal VALUE67;
+ /**
+ *
+ */
+ private BigDecimal VALUE68;
+ /**
+ *
+ */
+ private BigDecimal VALUE69;
+ /**
+ *
+ */
+ private BigDecimal VALUE70;
+ /**
+ *
+ */
+ private BigDecimal VALUE71;
+ /**
+ *
+ */
+ private BigDecimal VALUE72;
+ /**
+ *
+ */
+ private BigDecimal VALUE73;
+ /**
+ *
+ */
+ private BigDecimal VALUE74;
+ /**
+ *
+ */
+ private BigDecimal VALUE75;
+ /**
+ *
+ */
+ private BigDecimal VALUE76;
+ /**
+ *
+ */
+ private BigDecimal VALUE77;
+ /**
+ *
+ */
+ private BigDecimal VALUE78;
+ /**
+ *
+ */
+ private BigDecimal VALUE79;
+ /**
+ *
+ */
+ private BigDecimal VALUE80;
+ /**
+ *
+ */
+ private BigDecimal VALUE81;
+ /**
+ *
+ */
+ private BigDecimal VALUE82;
+ /**
+ *
+ */
+ private BigDecimal VALUE83;
+ /**
+ *
+ */
+ private BigDecimal VALUE84;
+ /**
+ *
+ */
+ private BigDecimal VALUE85;
+ /**
+ *
+ */
+ private BigDecimal VALUE86;
+ /**
+ *
+ */
+ private BigDecimal VALUE87;
+ /**
+ *
+ */
+ private BigDecimal VALUE88;
+ /**
+ *
+ */
+ private BigDecimal VALUE89;
+ /**
+ *
+ */
+ private BigDecimal VALUE90;
+ /**
+ *
+ */
+ private BigDecimal VALUE91;
+ /**
+ *
+ */
+ private BigDecimal VALUE92;
+ /**
+ *
+ */
+ private BigDecimal VALUE93;
+ /**
+ *
+ */
+ private BigDecimal VALUE94;
+ /**
+ *
+ */
+ private BigDecimal VALUE95;
+ /**
+ *
+ */
+ private BigDecimal VALUE96;
+ /**
+ *
+ */
+ private BigDecimal VALUE97;
+ /**
+ *
+ */
+ private BigDecimal VALUE98;
+ /**
+ *
+ */
+ private BigDecimal VALUE99;
+
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/domain/bo/Klptcm1ProPlantStateCurrentBo.java b/klp-pocket/src/main/java/com/klp/pocket/domain/bo/Klptcm1ProPlantStateCurrentBo.java
new file mode 100644
index 00000000..6b754760
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/domain/bo/Klptcm1ProPlantStateCurrentBo.java
@@ -0,0 +1,554 @@
+package com.klp.pocket.domain.bo;
+
+import com.klp.common.core.domain.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import javax.validation.constraints.*;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+ * 当前业务对象 klptcm1_pro_plant_state_current
+ *
+ * @author klp
+ * @date 2025-10-27
+ */
+
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class Klptcm1ProPlantStateCurrentBo extends BaseEntity {
+
+ /**
+ *
+ */
+ private Date INSDATE;
+
+ /**
+ *
+ */
+ private Long YEAR;
+
+ /**
+ *
+ */
+ private Long MONTH;
+
+ /**
+ *
+ */
+ private Long DAY;
+
+ /**
+ *
+ */
+ private Long HOUR;
+
+ /**
+ *
+ */
+ private Long MINUTE;
+
+ /**
+ *
+ */
+ private Long TYPE;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE1;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE2;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE3;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE4;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE5;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE6;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE7;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE8;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE9;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE10;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE11;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE12;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE13;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE14;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE15;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE16;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE17;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE18;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE19;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE20;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE21;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE22;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE23;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE24;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE25;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE26;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE27;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE28;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE29;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE30;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE31;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE32;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE33;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE34;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE35;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE36;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE37;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE38;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE39;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE40;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE41;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE42;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE43;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE44;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE45;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE46;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE47;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE48;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE49;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE50;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE51;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE52;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE53;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE54;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE55;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE56;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE57;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE58;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE59;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE60;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE61;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE62;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE63;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE64;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE65;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE66;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE67;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE68;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE69;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE70;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE71;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE72;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE73;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE74;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE75;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE76;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE77;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE78;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE79;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE80;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE81;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE82;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE83;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE84;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE85;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE86;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE87;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE88;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE89;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE90;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE91;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE92;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE93;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE94;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE95;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE96;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE97;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE98;
+
+ /**
+ *
+ */
+ private BigDecimal VALUE99;
+
+
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/domain/vo/Klptcm1ProPlantStateCurrentVo.java b/klp-pocket/src/main/java/com/klp/pocket/domain/vo/Klptcm1ProPlantStateCurrentVo.java
new file mode 100644
index 00000000..28d98742
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/domain/vo/Klptcm1ProPlantStateCurrentVo.java
@@ -0,0 +1,662 @@
+package com.klp.pocket.domain.vo;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
+import com.alibaba.excel.annotation.ExcelProperty;
+import com.klp.common.annotation.ExcelDictFormat;
+import com.klp.common.convert.ExcelDictConvert;
+import lombok.Data;
+
+
+/**
+ * 当前视图对象 klptcm1_pro_plant_state_current
+ *
+ * @author klp
+ * @date 2025-10-27
+ */
+@Data
+@ExcelIgnoreUnannotated
+public class Klptcm1ProPlantStateCurrentVo {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private Date INSDATE;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private Long YEAR;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private Long MONTH;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private Long DAY;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private Long HOUR;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private Long MINUTE;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private Long TYPE;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE1;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE2;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE3;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE4;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE5;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE6;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE7;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE8;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE9;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE10;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE11;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE12;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE13;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE14;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE15;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE16;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE17;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE18;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE19;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE20;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE21;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE22;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE23;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE24;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE25;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE26;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE27;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE28;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE29;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE30;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE31;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE32;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE33;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE34;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE35;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE36;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE37;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE38;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE39;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE40;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE41;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE42;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE43;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE44;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE45;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE46;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE47;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE48;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE49;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE50;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE51;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE52;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE53;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE54;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE55;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE56;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE57;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE58;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE59;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE60;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE61;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE62;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE63;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE64;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE65;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE66;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE67;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE68;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE69;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE70;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE71;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE72;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE73;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE74;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE75;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE76;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE77;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE78;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE79;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE80;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE81;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE82;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE83;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE84;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE85;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE86;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE87;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE88;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE89;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE90;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE91;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE92;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE93;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE94;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE95;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE96;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE97;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE98;
+
+ /**
+ *
+ */
+ @ExcelProperty(value = "")
+ private BigDecimal VALUE99;
+
+
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java b/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
new file mode 100644
index 00000000..4d3de788
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
@@ -0,0 +1,15 @@
+package com.klp.pocket.mapper;
+
+import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
+import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
+import com.klp.common.core.mapper.BaseMapperPlus;
+
+/**
+ * 当前Mapper接口
+ *
+ * @author klp
+ * @date 2025-10-27
+ */
+public interface Klptcm1ProPlantStateCurrentMapper extends BaseMapperPlus {
+
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java b/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java
new file mode 100644
index 00000000..7c9beb9f
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java
@@ -0,0 +1,49 @@
+package com.klp.pocket.service;
+
+import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
+import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
+import com.klp.pocket.domain.bo.Klptcm1ProPlantStateCurrentBo;
+import com.klp.common.core.page.TableDataInfo;
+import com.klp.common.core.domain.PageQuery;
+
+import java.util.Collection;
+import java.util.List;
+
+/**
+ * 当前Service接口
+ *
+ * @author klp
+ * @date 2025-10-27
+ */
+public interface IKlptcm1ProPlantStateCurrentService {
+
+ /**
+ * 查询当前
+ */
+ Klptcm1ProPlantStateCurrentVo queryById(Date INSDATE);
+
+ /**
+ * 查询当前列表
+ */
+ TableDataInfo queryPageList(Klptcm1ProPlantStateCurrentBo bo, PageQuery pageQuery);
+
+ /**
+ * 查询当前列表
+ */
+ List queryList(Klptcm1ProPlantStateCurrentBo bo);
+
+ /**
+ * 新增当前
+ */
+ Boolean insertByBo(Klptcm1ProPlantStateCurrentBo bo);
+
+ /**
+ * 修改当前
+ */
+ Boolean updateByBo(Klptcm1ProPlantStateCurrentBo bo);
+
+ /**
+ * 校验并批量删除当前信息
+ */
+ Boolean deleteWithValidByIds(Collection ids, Boolean isValid);
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java b/klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java
new file mode 100644
index 00000000..17df3259
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java
@@ -0,0 +1,213 @@
+package com.klp.pocket.service.impl;
+
+import cn.hutool.core.bean.BeanUtil;
+import com.klp.common.core.page.TableDataInfo;
+import com.klp.common.core.domain.PageQuery;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.toolkit.Wrappers;
+import lombok.RequiredArgsConstructor;
+import org.springframework.stereotype.Service;
+import com.klp.pocket.domain.bo.Klptcm1ProPlantStateCurrentBo;
+import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
+import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
+import com.klp.pocket.mapper.Klptcm1ProPlantStateCurrentMapper;
+import com.klp.pocket.service.IKlptcm1ProPlantStateCurrentService;
+
+import java.util.List;
+import java.util.Map;
+import java.util.Collection;
+
+/**
+ * 当前Service业务层处理
+ *
+ * @author klp
+ * @date 2025-10-27
+ */
+@RequiredArgsConstructor
+@Service
+public class Klptcm1ProPlantStateCurrentServiceImpl implements IKlptcm1ProPlantStateCurrentService {
+
+ private final Klptcm1ProPlantStateCurrentMapper baseMapper;
+
+ /**
+ * 查询当前
+ */
+ @Override
+ public Klptcm1ProPlantStateCurrentVo queryById(Date INSDATE){
+ return baseMapper.selectVoById(INSDATE);
+ }
+
+ /**
+ * 查询当前列表
+ */
+ @Override
+ public TableDataInfo queryPageList(Klptcm1ProPlantStateCurrentBo bo, PageQuery pageQuery) {
+ LambdaQueryWrapper lqw = buildQueryWrapper(bo);
+ Page result = baseMapper.selectVoPage(pageQuery.build(), lqw);
+ return TableDataInfo.build(result);
+ }
+
+ /**
+ * 查询当前列表
+ */
+ @Override
+ public List queryList(Klptcm1ProPlantStateCurrentBo bo) {
+ LambdaQueryWrapper lqw = buildQueryWrapper(bo);
+ return baseMapper.selectVoList(lqw);
+ }
+
+ private LambdaQueryWrapper buildQueryWrapper(Klptcm1ProPlantStateCurrentBo bo) {
+ Map params = bo.getParams();
+ LambdaQueryWrapper lqw = Wrappers.lambdaQuery();
+ lqw.eq(bo.getINSDATE() != null, Klptcm1ProPlantStateCurrent::getINSDATE, bo.getINSDATE());
+ lqw.eq(bo.getYEAR() != null, Klptcm1ProPlantStateCurrent::getYEAR, bo.getYEAR());
+ lqw.eq(bo.getMONTH() != null, Klptcm1ProPlantStateCurrent::getMONTH, bo.getMONTH());
+ lqw.eq(bo.getDAY() != null, Klptcm1ProPlantStateCurrent::getDAY, bo.getDAY());
+ lqw.eq(bo.getHOUR() != null, Klptcm1ProPlantStateCurrent::getHOUR, bo.getHOUR());
+ lqw.eq(bo.getMINUTE() != null, Klptcm1ProPlantStateCurrent::getMINUTE, bo.getMINUTE());
+ lqw.eq(bo.getTYPE() != null, Klptcm1ProPlantStateCurrent::getTYPE, bo.getTYPE());
+ lqw.eq(bo.getVALUE1() != null, Klptcm1ProPlantStateCurrent::getVALUE1, bo.getVALUE1());
+ lqw.eq(bo.getVALUE2() != null, Klptcm1ProPlantStateCurrent::getVALUE2, bo.getVALUE2());
+ lqw.eq(bo.getVALUE3() != null, Klptcm1ProPlantStateCurrent::getVALUE3, bo.getVALUE3());
+ lqw.eq(bo.getVALUE4() != null, Klptcm1ProPlantStateCurrent::getVALUE4, bo.getVALUE4());
+ lqw.eq(bo.getVALUE5() != null, Klptcm1ProPlantStateCurrent::getVALUE5, bo.getVALUE5());
+ lqw.eq(bo.getVALUE6() != null, Klptcm1ProPlantStateCurrent::getVALUE6, bo.getVALUE6());
+ lqw.eq(bo.getVALUE7() != null, Klptcm1ProPlantStateCurrent::getVALUE7, bo.getVALUE7());
+ lqw.eq(bo.getVALUE8() != null, Klptcm1ProPlantStateCurrent::getVALUE8, bo.getVALUE8());
+ lqw.eq(bo.getVALUE9() != null, Klptcm1ProPlantStateCurrent::getVALUE9, bo.getVALUE9());
+ lqw.eq(bo.getVALUE10() != null, Klptcm1ProPlantStateCurrent::getVALUE10, bo.getVALUE10());
+ lqw.eq(bo.getVALUE11() != null, Klptcm1ProPlantStateCurrent::getVALUE11, bo.getVALUE11());
+ lqw.eq(bo.getVALUE12() != null, Klptcm1ProPlantStateCurrent::getVALUE12, bo.getVALUE12());
+ lqw.eq(bo.getVALUE13() != null, Klptcm1ProPlantStateCurrent::getVALUE13, bo.getVALUE13());
+ lqw.eq(bo.getVALUE14() != null, Klptcm1ProPlantStateCurrent::getVALUE14, bo.getVALUE14());
+ lqw.eq(bo.getVALUE15() != null, Klptcm1ProPlantStateCurrent::getVALUE15, bo.getVALUE15());
+ lqw.eq(bo.getVALUE16() != null, Klptcm1ProPlantStateCurrent::getVALUE16, bo.getVALUE16());
+ lqw.eq(bo.getVALUE17() != null, Klptcm1ProPlantStateCurrent::getVALUE17, bo.getVALUE17());
+ lqw.eq(bo.getVALUE18() != null, Klptcm1ProPlantStateCurrent::getVALUE18, bo.getVALUE18());
+ lqw.eq(bo.getVALUE19() != null, Klptcm1ProPlantStateCurrent::getVALUE19, bo.getVALUE19());
+ lqw.eq(bo.getVALUE20() != null, Klptcm1ProPlantStateCurrent::getVALUE20, bo.getVALUE20());
+ lqw.eq(bo.getVALUE21() != null, Klptcm1ProPlantStateCurrent::getVALUE21, bo.getVALUE21());
+ lqw.eq(bo.getVALUE22() != null, Klptcm1ProPlantStateCurrent::getVALUE22, bo.getVALUE22());
+ lqw.eq(bo.getVALUE23() != null, Klptcm1ProPlantStateCurrent::getVALUE23, bo.getVALUE23());
+ lqw.eq(bo.getVALUE24() != null, Klptcm1ProPlantStateCurrent::getVALUE24, bo.getVALUE24());
+ lqw.eq(bo.getVALUE25() != null, Klptcm1ProPlantStateCurrent::getVALUE25, bo.getVALUE25());
+ lqw.eq(bo.getVALUE26() != null, Klptcm1ProPlantStateCurrent::getVALUE26, bo.getVALUE26());
+ lqw.eq(bo.getVALUE27() != null, Klptcm1ProPlantStateCurrent::getVALUE27, bo.getVALUE27());
+ lqw.eq(bo.getVALUE28() != null, Klptcm1ProPlantStateCurrent::getVALUE28, bo.getVALUE28());
+ lqw.eq(bo.getVALUE29() != null, Klptcm1ProPlantStateCurrent::getVALUE29, bo.getVALUE29());
+ lqw.eq(bo.getVALUE30() != null, Klptcm1ProPlantStateCurrent::getVALUE30, bo.getVALUE30());
+ lqw.eq(bo.getVALUE31() != null, Klptcm1ProPlantStateCurrent::getVALUE31, bo.getVALUE31());
+ lqw.eq(bo.getVALUE32() != null, Klptcm1ProPlantStateCurrent::getVALUE32, bo.getVALUE32());
+ lqw.eq(bo.getVALUE33() != null, Klptcm1ProPlantStateCurrent::getVALUE33, bo.getVALUE33());
+ lqw.eq(bo.getVALUE34() != null, Klptcm1ProPlantStateCurrent::getVALUE34, bo.getVALUE34());
+ lqw.eq(bo.getVALUE35() != null, Klptcm1ProPlantStateCurrent::getVALUE35, bo.getVALUE35());
+ lqw.eq(bo.getVALUE36() != null, Klptcm1ProPlantStateCurrent::getVALUE36, bo.getVALUE36());
+ lqw.eq(bo.getVALUE37() != null, Klptcm1ProPlantStateCurrent::getVALUE37, bo.getVALUE37());
+ lqw.eq(bo.getVALUE38() != null, Klptcm1ProPlantStateCurrent::getVALUE38, bo.getVALUE38());
+ lqw.eq(bo.getVALUE39() != null, Klptcm1ProPlantStateCurrent::getVALUE39, bo.getVALUE39());
+ lqw.eq(bo.getVALUE40() != null, Klptcm1ProPlantStateCurrent::getVALUE40, bo.getVALUE40());
+ lqw.eq(bo.getVALUE41() != null, Klptcm1ProPlantStateCurrent::getVALUE41, bo.getVALUE41());
+ lqw.eq(bo.getVALUE42() != null, Klptcm1ProPlantStateCurrent::getVALUE42, bo.getVALUE42());
+ lqw.eq(bo.getVALUE43() != null, Klptcm1ProPlantStateCurrent::getVALUE43, bo.getVALUE43());
+ lqw.eq(bo.getVALUE44() != null, Klptcm1ProPlantStateCurrent::getVALUE44, bo.getVALUE44());
+ lqw.eq(bo.getVALUE45() != null, Klptcm1ProPlantStateCurrent::getVALUE45, bo.getVALUE45());
+ lqw.eq(bo.getVALUE46() != null, Klptcm1ProPlantStateCurrent::getVALUE46, bo.getVALUE46());
+ lqw.eq(bo.getVALUE47() != null, Klptcm1ProPlantStateCurrent::getVALUE47, bo.getVALUE47());
+ lqw.eq(bo.getVALUE48() != null, Klptcm1ProPlantStateCurrent::getVALUE48, bo.getVALUE48());
+ lqw.eq(bo.getVALUE49() != null, Klptcm1ProPlantStateCurrent::getVALUE49, bo.getVALUE49());
+ lqw.eq(bo.getVALUE50() != null, Klptcm1ProPlantStateCurrent::getVALUE50, bo.getVALUE50());
+ lqw.eq(bo.getVALUE51() != null, Klptcm1ProPlantStateCurrent::getVALUE51, bo.getVALUE51());
+ lqw.eq(bo.getVALUE52() != null, Klptcm1ProPlantStateCurrent::getVALUE52, bo.getVALUE52());
+ lqw.eq(bo.getVALUE53() != null, Klptcm1ProPlantStateCurrent::getVALUE53, bo.getVALUE53());
+ lqw.eq(bo.getVALUE54() != null, Klptcm1ProPlantStateCurrent::getVALUE54, bo.getVALUE54());
+ lqw.eq(bo.getVALUE55() != null, Klptcm1ProPlantStateCurrent::getVALUE55, bo.getVALUE55());
+ lqw.eq(bo.getVALUE56() != null, Klptcm1ProPlantStateCurrent::getVALUE56, bo.getVALUE56());
+ lqw.eq(bo.getVALUE57() != null, Klptcm1ProPlantStateCurrent::getVALUE57, bo.getVALUE57());
+ lqw.eq(bo.getVALUE58() != null, Klptcm1ProPlantStateCurrent::getVALUE58, bo.getVALUE58());
+ lqw.eq(bo.getVALUE59() != null, Klptcm1ProPlantStateCurrent::getVALUE59, bo.getVALUE59());
+ lqw.eq(bo.getVALUE60() != null, Klptcm1ProPlantStateCurrent::getVALUE60, bo.getVALUE60());
+ lqw.eq(bo.getVALUE61() != null, Klptcm1ProPlantStateCurrent::getVALUE61, bo.getVALUE61());
+ lqw.eq(bo.getVALUE62() != null, Klptcm1ProPlantStateCurrent::getVALUE62, bo.getVALUE62());
+ lqw.eq(bo.getVALUE63() != null, Klptcm1ProPlantStateCurrent::getVALUE63, bo.getVALUE63());
+ lqw.eq(bo.getVALUE64() != null, Klptcm1ProPlantStateCurrent::getVALUE64, bo.getVALUE64());
+ lqw.eq(bo.getVALUE65() != null, Klptcm1ProPlantStateCurrent::getVALUE65, bo.getVALUE65());
+ lqw.eq(bo.getVALUE66() != null, Klptcm1ProPlantStateCurrent::getVALUE66, bo.getVALUE66());
+ lqw.eq(bo.getVALUE67() != null, Klptcm1ProPlantStateCurrent::getVALUE67, bo.getVALUE67());
+ lqw.eq(bo.getVALUE68() != null, Klptcm1ProPlantStateCurrent::getVALUE68, bo.getVALUE68());
+ lqw.eq(bo.getVALUE69() != null, Klptcm1ProPlantStateCurrent::getVALUE69, bo.getVALUE69());
+ lqw.eq(bo.getVALUE70() != null, Klptcm1ProPlantStateCurrent::getVALUE70, bo.getVALUE70());
+ lqw.eq(bo.getVALUE71() != null, Klptcm1ProPlantStateCurrent::getVALUE71, bo.getVALUE71());
+ lqw.eq(bo.getVALUE72() != null, Klptcm1ProPlantStateCurrent::getVALUE72, bo.getVALUE72());
+ lqw.eq(bo.getVALUE73() != null, Klptcm1ProPlantStateCurrent::getVALUE73, bo.getVALUE73());
+ lqw.eq(bo.getVALUE74() != null, Klptcm1ProPlantStateCurrent::getVALUE74, bo.getVALUE74());
+ lqw.eq(bo.getVALUE75() != null, Klptcm1ProPlantStateCurrent::getVALUE75, bo.getVALUE75());
+ lqw.eq(bo.getVALUE76() != null, Klptcm1ProPlantStateCurrent::getVALUE76, bo.getVALUE76());
+ lqw.eq(bo.getVALUE77() != null, Klptcm1ProPlantStateCurrent::getVALUE77, bo.getVALUE77());
+ lqw.eq(bo.getVALUE78() != null, Klptcm1ProPlantStateCurrent::getVALUE78, bo.getVALUE78());
+ lqw.eq(bo.getVALUE79() != null, Klptcm1ProPlantStateCurrent::getVALUE79, bo.getVALUE79());
+ lqw.eq(bo.getVALUE80() != null, Klptcm1ProPlantStateCurrent::getVALUE80, bo.getVALUE80());
+ lqw.eq(bo.getVALUE81() != null, Klptcm1ProPlantStateCurrent::getVALUE81, bo.getVALUE81());
+ lqw.eq(bo.getVALUE82() != null, Klptcm1ProPlantStateCurrent::getVALUE82, bo.getVALUE82());
+ lqw.eq(bo.getVALUE83() != null, Klptcm1ProPlantStateCurrent::getVALUE83, bo.getVALUE83());
+ lqw.eq(bo.getVALUE84() != null, Klptcm1ProPlantStateCurrent::getVALUE84, bo.getVALUE84());
+ lqw.eq(bo.getVALUE85() != null, Klptcm1ProPlantStateCurrent::getVALUE85, bo.getVALUE85());
+ lqw.eq(bo.getVALUE86() != null, Klptcm1ProPlantStateCurrent::getVALUE86, bo.getVALUE86());
+ lqw.eq(bo.getVALUE87() != null, Klptcm1ProPlantStateCurrent::getVALUE87, bo.getVALUE87());
+ lqw.eq(bo.getVALUE88() != null, Klptcm1ProPlantStateCurrent::getVALUE88, bo.getVALUE88());
+ lqw.eq(bo.getVALUE89() != null, Klptcm1ProPlantStateCurrent::getVALUE89, bo.getVALUE89());
+ lqw.eq(bo.getVALUE90() != null, Klptcm1ProPlantStateCurrent::getVALUE90, bo.getVALUE90());
+ lqw.eq(bo.getVALUE91() != null, Klptcm1ProPlantStateCurrent::getVALUE91, bo.getVALUE91());
+ lqw.eq(bo.getVALUE92() != null, Klptcm1ProPlantStateCurrent::getVALUE92, bo.getVALUE92());
+ lqw.eq(bo.getVALUE93() != null, Klptcm1ProPlantStateCurrent::getVALUE93, bo.getVALUE93());
+ lqw.eq(bo.getVALUE94() != null, Klptcm1ProPlantStateCurrent::getVALUE94, bo.getVALUE94());
+ lqw.eq(bo.getVALUE95() != null, Klptcm1ProPlantStateCurrent::getVALUE95, bo.getVALUE95());
+ lqw.eq(bo.getVALUE96() != null, Klptcm1ProPlantStateCurrent::getVALUE96, bo.getVALUE96());
+ lqw.eq(bo.getVALUE97() != null, Klptcm1ProPlantStateCurrent::getVALUE97, bo.getVALUE97());
+ lqw.eq(bo.getVALUE98() != null, Klptcm1ProPlantStateCurrent::getVALUE98, bo.getVALUE98());
+ lqw.eq(bo.getVALUE99() != null, Klptcm1ProPlantStateCurrent::getVALUE99, bo.getVALUE99());
+ return lqw;
+ }
+
+ /**
+ * 新增当前
+ */
+ @Override
+ public Boolean insertByBo(Klptcm1ProPlantStateCurrentBo bo) {
+ Klptcm1ProPlantStateCurrent add = BeanUtil.toBean(bo, Klptcm1ProPlantStateCurrent.class);
+ validEntityBeforeSave(add);
+ boolean flag = baseMapper.insert(add) > 0;
+ if (flag) {
+ bo.setINSDATE(add.getINSDATE());
+ }
+ return flag;
+ }
+
+ /**
+ * 修改当前
+ */
+ @Override
+ public Boolean updateByBo(Klptcm1ProPlantStateCurrentBo bo) {
+ Klptcm1ProPlantStateCurrent update = BeanUtil.toBean(bo, Klptcm1ProPlantStateCurrent.class);
+ validEntityBeforeSave(update);
+ return baseMapper.updateById(update) > 0;
+ }
+
+ /**
+ * 保存前的数据校验
+ */
+ private void validEntityBeforeSave(Klptcm1ProPlantStateCurrent entity){
+ //TODO 做一些数据校验,如唯一约束
+ }
+
+ /**
+ * 批量删除当前
+ */
+ @Override
+ public Boolean deleteWithValidByIds(Collection ids, Boolean isValid) {
+ if(isValid){
+ //TODO 做一些业务上的校验,判断是否需要校验
+ }
+ return baseMapper.deleteBatchIds(ids) > 0;
+ }
+}
diff --git a/klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml b/klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml
new file mode 100644
index 00000000..c64b367c
--- /dev/null
+++ b/klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 43fb2d13..8da9bd38 100644
--- a/pom.xml
+++ b/pom.xml
@@ -381,6 +381,11 @@
klp-ems
${klp-flowable-plus.version}
+
+ com.klp
+ klp-pocket
+ ${klp-flowable-plus.version}
+
@@ -402,6 +407,7 @@
klp-reader
klp-mes
klp-ems
+ klp-pocket
pom
From 8d110a45573fd6b70a43184108e26fa5eb363e6a Mon Sep 17 00:00:00 2001
From: JR <3573153686@qq.com>
Date: Mon, 27 Oct 2025 15:19:58 +0800
Subject: [PATCH 3/7] =?UTF-8?q?feat(admin):=20=E6=B7=BB=E5=8A=A0klp-pocket?=
=?UTF-8?q?=E4=BE=9D=E8=B5=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在pom.xml中引入klp-pocket模块依赖
- 支持后续功能集成开发需求
---
klp-admin/pom.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/klp-admin/pom.xml b/klp-admin/pom.xml
index 86d13aaa..3bdfdcd5 100644
--- a/klp-admin/pom.xml
+++ b/klp-admin/pom.xml
@@ -100,6 +100,11 @@
klp-mes
+
+ com.klp
+ klp-pocket
+
+
com.klp
From 6ff235d56da6e60fbf8fd4281c99ba685bc2e548 Mon Sep 17 00:00:00 2001
From: Joshi <3040996759@qq.com>
Date: Mon, 27 Oct 2025 17:23:52 +0800
Subject: [PATCH 4/7] =?UTF-8?q?refactor(service):=20=E7=AE=80=E5=8C=96?=
=?UTF-8?q?=E5=BD=93=E5=89=8D=E7=8A=B6=E6=80=81=E6=9C=8D=E5=8A=A1=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 移除冗余的查询、分页和删除方法
-保留核心方法 selectAll用于获取全部数据
- 清理导入包和注释,优化代码结构
---
klp-common/pom.xml | 7 +
...Klptcm1ProPlantStateCurrentController.java | 102 +---
.../domain/Klptcm1ProPlantStateCurrent.java | 452 +-----------------
.../Klptcm1ProPlantStateCurrentMapper.java | 15 +-
.../IKlptcm1ProPlantStateCurrentService.java | 41 +-
...lptcm1ProPlantStateCurrentServiceImpl.java | 207 +-------
.../Klptcm1ProPlantStateCurrentMapper.xml | 137 +-----
7 files changed, 74 insertions(+), 887 deletions(-)
diff --git a/klp-common/pom.xml b/klp-common/pom.xml
index fdfa8f0e..1a02b0a9 100644
--- a/klp-common/pom.xml
+++ b/klp-common/pom.xml
@@ -180,6 +180,13 @@
org.flywaydb
flyway-mysql
+
+
+ com.baomidou
+ dynamic-datasource-spring-boot-starter
+ 3.5.2
+
+
diff --git a/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
index 06f19a47..e6b79103 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
@@ -1,102 +1,26 @@
package com.klp.pocket.controller;
-
-import java.util.Date;
-import java.util.List;
-import java.util.Arrays;
-
-
-import lombok.RequiredArgsConstructor;
-import javax.servlet.http.HttpServletResponse;
-import javax.validation.constraints.*;
-import org.springframework.web.bind.annotation.*;
-import org.springframework.validation.annotation.Validated;
-import com.klp.common.annotation.RepeatSubmit;
-import com.klp.common.annotation.Log;
-import com.klp.common.core.controller.BaseController;
-import com.klp.common.core.domain.PageQuery;
import com.klp.common.core.domain.R;
-import com.klp.common.core.validate.AddGroup;
-import com.klp.common.core.validate.EditGroup;
-import com.klp.common.enums.BusinessType;
-import com.klp.common.utils.poi.ExcelUtil;
-import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
-import com.klp.pocket.domain.bo.Klptcm1ProPlantStateCurrentBo;
+import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
import com.klp.pocket.service.IKlptcm1ProPlantStateCurrentService;
-import com.klp.common.core.page.TableDataInfo;
+import org.springframework.web.bind.annotation.*;
+import javax.annotation.Resource;
+import java.util.List;
-/**
- * 当前
- *
- * @author klp
- * @date 2025-10-27
- */
-@Validated
-@RequiredArgsConstructor
@RestController
-@RequestMapping("/pocket/proPlantStateCurrent")
-public class Klptcm1ProPlantStateCurrentController extends BaseController {
+@RequestMapping("/api/klptcm1ProPlantStateCurrent")
+public class Klptcm1ProPlantStateCurrentController {
- private final IKlptcm1ProPlantStateCurrentService iKlptcm1ProPlantStateCurrentService;
+ @Resource
+ private IKlptcm1ProPlantStateCurrentService klptcm1ProPlantStateCurrentService;
/**
- * 查询当前列表
+ * 查询所有数据
*/
- @GetMapping("/list")
- public TableDataInfo list(Klptcm1ProPlantStateCurrentBo bo, PageQuery pageQuery) {
- return iKlptcm1ProPlantStateCurrentService.queryPageList(bo, pageQuery);
+ @GetMapping("/selectAll")
+ public R> selectAll() {
+ List result = klptcm1ProPlantStateCurrentService.selectAll();
+ return R.ok(result);
}
- /**
- * 导出当前列表
- */
- @Log(title = "当前", businessType = BusinessType.EXPORT)
- @PostMapping("/export")
- public void export(Klptcm1ProPlantStateCurrentBo bo, HttpServletResponse response) {
- List list = iKlptcm1ProPlantStateCurrentService.queryList(bo);
- ExcelUtil.exportExcel(list, "当前", Klptcm1ProPlantStateCurrentVo.class, response);
- }
-
- /**
- * 获取当前详细信息
- *
- * @param INSDATE 主键
- */
- @GetMapping("/{INSDATE}")
- public R getInfo(@NotNull(message = "主键不能为空")
- @PathVariable Date INSDATE) {
- return R.ok(iKlptcm1ProPlantStateCurrentService.queryById(INSDATE));
- }
-
- /**
- * 新增当前
- */
- @Log(title = "当前", businessType = BusinessType.INSERT)
- @RepeatSubmit()
- @PostMapping()
- public R add(@Validated(AddGroup.class) @RequestBody Klptcm1ProPlantStateCurrentBo bo) {
- return toAjax(iKlptcm1ProPlantStateCurrentService.insertByBo(bo));
- }
-
- /**
- * 修改当前
- */
- @Log(title = "当前", businessType = BusinessType.UPDATE)
- @RepeatSubmit()
- @PutMapping()
- public R edit(@Validated(EditGroup.class) @RequestBody Klptcm1ProPlantStateCurrentBo bo) {
- return toAjax(iKlptcm1ProPlantStateCurrentService.updateByBo(bo));
- }
-
- /**
- * 删除当前
- *
- * @param INSDATEs 主键串
- */
- @Log(title = "当前", businessType = BusinessType.DELETE)
- @DeleteMapping("/{INSDATEs}")
- public R remove(@NotEmpty(message = "主键不能为空")
- @PathVariable Date[] INSDATEs) {
- return toAjax(iKlptcm1ProPlantStateCurrentService.deleteWithValidByIds(Arrays.asList(INSDATEs), true));
- }
}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
index a0a50ce3..fa3b95f9 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
@@ -1,449 +1,23 @@
package com.klp.pocket.domain;
-import com.baomidou.mybatisplus.annotation.*;
-import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
-import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
-import com.fasterxml.jackson.annotation.JsonFormat;
-/**
- * 当前对象 klptcm1_pro_plant_state_current
- *
- * @author klp
- * @date 2025-10-27
- */
@Data
-@TableName("klptcm1_pro_plant_state_current")
-public class Klptcm1ProPlantStateCurrent{
-
- private static final long serialVersionUID=1L;
-
- /**
- *
- */
- private Date INSDATE;
- /**
- *
- */
- private Long YEAR;
- /**
- *
- */
- private Long MONTH;
- /**
- *
- */
- private Long DAY;
- /**
- *
- */
- private Long HOUR;
- /**
- *
- */
- private Long MINUTE;
- /**
- *
- */
- private Long TYPE;
- /**
- *
- */
- private BigDecimal VALUE1;
- /**
- *
- */
- private BigDecimal VALUE2;
- /**
- *
- */
- private BigDecimal VALUE3;
- /**
- *
- */
- private BigDecimal VALUE4;
- /**
- *
- */
- private BigDecimal VALUE5;
- /**
- *
- */
- private BigDecimal VALUE6;
- /**
- *
- */
- private BigDecimal VALUE7;
- /**
- *
- */
- private BigDecimal VALUE8;
- /**
- *
- */
- private BigDecimal VALUE9;
- /**
- *
- */
- private BigDecimal VALUE10;
- /**
- *
- */
- private BigDecimal VALUE11;
- /**
- *
- */
- private BigDecimal VALUE12;
- /**
- *
- */
- private BigDecimal VALUE13;
- /**
- *
- */
- private BigDecimal VALUE14;
- /**
- *
- */
- private BigDecimal VALUE15;
- /**
- *
- */
- private BigDecimal VALUE16;
- /**
- *
- */
- private BigDecimal VALUE17;
- /**
- *
- */
- private BigDecimal VALUE18;
- /**
- *
- */
- private BigDecimal VALUE19;
- /**
- *
- */
- private BigDecimal VALUE20;
- /**
- *
- */
- private BigDecimal VALUE21;
- /**
- *
- */
- private BigDecimal VALUE22;
- /**
- *
- */
- private BigDecimal VALUE23;
- /**
- *
- */
- private BigDecimal VALUE24;
- /**
- *
- */
- private BigDecimal VALUE25;
- /**
- *
- */
- private BigDecimal VALUE26;
- /**
- *
- */
- private BigDecimal VALUE27;
- /**
- *
- */
- private BigDecimal VALUE28;
- /**
- *
- */
- private BigDecimal VALUE29;
- /**
- *
- */
- private BigDecimal VALUE30;
- /**
- *
- */
- private BigDecimal VALUE31;
- /**
- *
- */
- private BigDecimal VALUE32;
- /**
- *
- */
- private BigDecimal VALUE33;
- /**
- *
- */
- private BigDecimal VALUE34;
- /**
- *
- */
- private BigDecimal VALUE35;
- /**
- *
- */
- private BigDecimal VALUE36;
- /**
- *
- */
- private BigDecimal VALUE37;
- /**
- *
- */
- private BigDecimal VALUE38;
- /**
- *
- */
- private BigDecimal VALUE39;
- /**
- *
- */
- private BigDecimal VALUE40;
- /**
- *
- */
- private BigDecimal VALUE41;
- /**
- *
- */
- private BigDecimal VALUE42;
- /**
- *
- */
- private BigDecimal VALUE43;
- /**
- *
- */
- private BigDecimal VALUE44;
- /**
- *
- */
- private BigDecimal VALUE45;
- /**
- *
- */
- private BigDecimal VALUE46;
- /**
- *
- */
- private BigDecimal VALUE47;
- /**
- *
- */
- private BigDecimal VALUE48;
- /**
- *
- */
- private BigDecimal VALUE49;
- /**
- *
- */
- private BigDecimal VALUE50;
- /**
- *
- */
- private BigDecimal VALUE51;
- /**
- *
- */
- private BigDecimal VALUE52;
- /**
- *
- */
- private BigDecimal VALUE53;
- /**
- *
- */
- private BigDecimal VALUE54;
- /**
- *
- */
- private BigDecimal VALUE55;
- /**
- *
- */
- private BigDecimal VALUE56;
- /**
- *
- */
- private BigDecimal VALUE57;
- /**
- *
- */
- private BigDecimal VALUE58;
- /**
- *
- */
- private BigDecimal VALUE59;
- /**
- *
- */
- private BigDecimal VALUE60;
- /**
- *
- */
- private BigDecimal VALUE61;
- /**
- *
- */
- private BigDecimal VALUE62;
- /**
- *
- */
- private BigDecimal VALUE63;
- /**
- *
- */
- private BigDecimal VALUE64;
- /**
- *
- */
- private BigDecimal VALUE65;
- /**
- *
- */
- private BigDecimal VALUE66;
- /**
- *
- */
- private BigDecimal VALUE67;
- /**
- *
- */
- private BigDecimal VALUE68;
- /**
- *
- */
- private BigDecimal VALUE69;
- /**
- *
- */
- private BigDecimal VALUE70;
- /**
- *
- */
- private BigDecimal VALUE71;
- /**
- *
- */
- private BigDecimal VALUE72;
- /**
- *
- */
- private BigDecimal VALUE73;
- /**
- *
- */
- private BigDecimal VALUE74;
- /**
- *
- */
- private BigDecimal VALUE75;
- /**
- *
- */
- private BigDecimal VALUE76;
- /**
- *
- */
- private BigDecimal VALUE77;
- /**
- *
- */
- private BigDecimal VALUE78;
- /**
- *
- */
- private BigDecimal VALUE79;
- /**
- *
- */
- private BigDecimal VALUE80;
- /**
- *
- */
- private BigDecimal VALUE81;
- /**
- *
- */
- private BigDecimal VALUE82;
- /**
- *
- */
- private BigDecimal VALUE83;
- /**
- *
- */
- private BigDecimal VALUE84;
- /**
- *
- */
- private BigDecimal VALUE85;
- /**
- *
- */
- private BigDecimal VALUE86;
- /**
- *
- */
- private BigDecimal VALUE87;
- /**
- *
- */
- private BigDecimal VALUE88;
- /**
- *
- */
- private BigDecimal VALUE89;
- /**
- *
- */
- private BigDecimal VALUE90;
- /**
- *
- */
- private BigDecimal VALUE91;
- /**
- *
- */
- private BigDecimal VALUE92;
- /**
- *
- */
- private BigDecimal VALUE93;
- /**
- *
- */
- private BigDecimal VALUE94;
- /**
- *
- */
- private BigDecimal VALUE95;
- /**
- *
- */
- private BigDecimal VALUE96;
- /**
- *
- */
- private BigDecimal VALUE97;
- /**
- *
- */
- private BigDecimal VALUE98;
- /**
- *
- */
- private BigDecimal VALUE99;
+public class Klptcm1ProPlantStateCurrent {
+ private Date insdate; // 对应数据库 INSDATE
+ private BigDecimal year; // 对应数据库 YEAR
+ private BigDecimal month; // 对应数据库 MONTH
+ private BigDecimal day; // 对应数据库 DAY
+ private BigDecimal hour; // 对应数据库 HOUR
+ private BigDecimal minute; // 对应数据库 MINUTE
+ private BigDecimal type; // 对应数据库 TYPE
+ // 以下为 VALUE1 到 VALUE99 的属性
+ private BigDecimal value1;
+ private BigDecimal value2;
+ // ... 省略 VALUE3 到 VALUE98 的声明 ...
+ private BigDecimal value99;
}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java b/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
index 4d3de788..ecf92f9b 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
@@ -1,15 +1,12 @@
package com.klp.pocket.mapper;
import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
-import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
-import com.klp.common.core.mapper.BaseMapperPlus;
+import org.apache.ibatis.annotations.Mapper;
+import java.util.List;
-/**
- * 当前Mapper接口
- *
- * @author klp
- * @date 2025-10-27
- */
-public interface Klptcm1ProPlantStateCurrentMapper extends BaseMapperPlus {
+@Mapper
+public interface Klptcm1ProPlantStateCurrentMapper {
+ // 查询所有
+ List selectAll();
}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java b/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java
index 7c9beb9f..0e746d2a 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateCurrentService.java
@@ -1,49 +1,10 @@
package com.klp.pocket.service;
import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
-import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
-import com.klp.pocket.domain.bo.Klptcm1ProPlantStateCurrentBo;
-import com.klp.common.core.page.TableDataInfo;
-import com.klp.common.core.domain.PageQuery;
-
-import java.util.Collection;
import java.util.List;
-/**
- * 当前Service接口
- *
- * @author klp
- * @date 2025-10-27
- */
public interface IKlptcm1ProPlantStateCurrentService {
- /**
- * 查询当前
- */
- Klptcm1ProPlantStateCurrentVo queryById(Date INSDATE);
+ List selectAll();
- /**
- * 查询当前列表
- */
- TableDataInfo queryPageList(Klptcm1ProPlantStateCurrentBo bo, PageQuery pageQuery);
-
- /**
- * 查询当前列表
- */
- List queryList(Klptcm1ProPlantStateCurrentBo bo);
-
- /**
- * 新增当前
- */
- Boolean insertByBo(Klptcm1ProPlantStateCurrentBo bo);
-
- /**
- * 修改当前
- */
- Boolean updateByBo(Klptcm1ProPlantStateCurrentBo bo);
-
- /**
- * 校验并批量删除当前信息
- */
- Boolean deleteWithValidByIds(Collection ids, Boolean isValid);
}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java b/klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java
index 17df3259..0d261149 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateCurrentServiceImpl.java
@@ -1,213 +1,24 @@
package com.klp.pocket.service.impl;
-import cn.hutool.core.bean.BeanUtil;
-import com.klp.common.core.page.TableDataInfo;
-import com.klp.common.core.domain.PageQuery;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
-import lombok.RequiredArgsConstructor;
-import org.springframework.stereotype.Service;
-import com.klp.pocket.domain.bo.Klptcm1ProPlantStateCurrentBo;
-import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
+import com.baomidou.dynamic.datasource.annotation.DS;
import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
import com.klp.pocket.mapper.Klptcm1ProPlantStateCurrentMapper;
import com.klp.pocket.service.IKlptcm1ProPlantStateCurrentService;
-
+import org.springframework.stereotype.Service;
+import javax.annotation.Resource;
import java.util.List;
-import java.util.Map;
-import java.util.Collection;
-/**
- * 当前Service业务层处理
- *
- * @author klp
- * @date 2025-10-27
- */
-@RequiredArgsConstructor
+@DS("slave")
@Service
public class Klptcm1ProPlantStateCurrentServiceImpl implements IKlptcm1ProPlantStateCurrentService {
- private final Klptcm1ProPlantStateCurrentMapper baseMapper;
+ @Resource
+ private Klptcm1ProPlantStateCurrentMapper klptcm1ProPlantStateCurrentMapper;
+
- /**
- * 查询当前
- */
@Override
- public Klptcm1ProPlantStateCurrentVo queryById(Date INSDATE){
- return baseMapper.selectVoById(INSDATE);
+ public List selectAll() {
+ return klptcm1ProPlantStateCurrentMapper.selectAll();
}
- /**
- * 查询当前列表
- */
- @Override
- public TableDataInfo queryPageList(Klptcm1ProPlantStateCurrentBo bo, PageQuery pageQuery) {
- LambdaQueryWrapper lqw = buildQueryWrapper(bo);
- Page result = baseMapper.selectVoPage(pageQuery.build(), lqw);
- return TableDataInfo.build(result);
- }
-
- /**
- * 查询当前列表
- */
- @Override
- public List queryList(Klptcm1ProPlantStateCurrentBo bo) {
- LambdaQueryWrapper lqw = buildQueryWrapper(bo);
- return baseMapper.selectVoList(lqw);
- }
-
- private LambdaQueryWrapper buildQueryWrapper(Klptcm1ProPlantStateCurrentBo bo) {
- Map params = bo.getParams();
- LambdaQueryWrapper lqw = Wrappers.lambdaQuery();
- lqw.eq(bo.getINSDATE() != null, Klptcm1ProPlantStateCurrent::getINSDATE, bo.getINSDATE());
- lqw.eq(bo.getYEAR() != null, Klptcm1ProPlantStateCurrent::getYEAR, bo.getYEAR());
- lqw.eq(bo.getMONTH() != null, Klptcm1ProPlantStateCurrent::getMONTH, bo.getMONTH());
- lqw.eq(bo.getDAY() != null, Klptcm1ProPlantStateCurrent::getDAY, bo.getDAY());
- lqw.eq(bo.getHOUR() != null, Klptcm1ProPlantStateCurrent::getHOUR, bo.getHOUR());
- lqw.eq(bo.getMINUTE() != null, Klptcm1ProPlantStateCurrent::getMINUTE, bo.getMINUTE());
- lqw.eq(bo.getTYPE() != null, Klptcm1ProPlantStateCurrent::getTYPE, bo.getTYPE());
- lqw.eq(bo.getVALUE1() != null, Klptcm1ProPlantStateCurrent::getVALUE1, bo.getVALUE1());
- lqw.eq(bo.getVALUE2() != null, Klptcm1ProPlantStateCurrent::getVALUE2, bo.getVALUE2());
- lqw.eq(bo.getVALUE3() != null, Klptcm1ProPlantStateCurrent::getVALUE3, bo.getVALUE3());
- lqw.eq(bo.getVALUE4() != null, Klptcm1ProPlantStateCurrent::getVALUE4, bo.getVALUE4());
- lqw.eq(bo.getVALUE5() != null, Klptcm1ProPlantStateCurrent::getVALUE5, bo.getVALUE5());
- lqw.eq(bo.getVALUE6() != null, Klptcm1ProPlantStateCurrent::getVALUE6, bo.getVALUE6());
- lqw.eq(bo.getVALUE7() != null, Klptcm1ProPlantStateCurrent::getVALUE7, bo.getVALUE7());
- lqw.eq(bo.getVALUE8() != null, Klptcm1ProPlantStateCurrent::getVALUE8, bo.getVALUE8());
- lqw.eq(bo.getVALUE9() != null, Klptcm1ProPlantStateCurrent::getVALUE9, bo.getVALUE9());
- lqw.eq(bo.getVALUE10() != null, Klptcm1ProPlantStateCurrent::getVALUE10, bo.getVALUE10());
- lqw.eq(bo.getVALUE11() != null, Klptcm1ProPlantStateCurrent::getVALUE11, bo.getVALUE11());
- lqw.eq(bo.getVALUE12() != null, Klptcm1ProPlantStateCurrent::getVALUE12, bo.getVALUE12());
- lqw.eq(bo.getVALUE13() != null, Klptcm1ProPlantStateCurrent::getVALUE13, bo.getVALUE13());
- lqw.eq(bo.getVALUE14() != null, Klptcm1ProPlantStateCurrent::getVALUE14, bo.getVALUE14());
- lqw.eq(bo.getVALUE15() != null, Klptcm1ProPlantStateCurrent::getVALUE15, bo.getVALUE15());
- lqw.eq(bo.getVALUE16() != null, Klptcm1ProPlantStateCurrent::getVALUE16, bo.getVALUE16());
- lqw.eq(bo.getVALUE17() != null, Klptcm1ProPlantStateCurrent::getVALUE17, bo.getVALUE17());
- lqw.eq(bo.getVALUE18() != null, Klptcm1ProPlantStateCurrent::getVALUE18, bo.getVALUE18());
- lqw.eq(bo.getVALUE19() != null, Klptcm1ProPlantStateCurrent::getVALUE19, bo.getVALUE19());
- lqw.eq(bo.getVALUE20() != null, Klptcm1ProPlantStateCurrent::getVALUE20, bo.getVALUE20());
- lqw.eq(bo.getVALUE21() != null, Klptcm1ProPlantStateCurrent::getVALUE21, bo.getVALUE21());
- lqw.eq(bo.getVALUE22() != null, Klptcm1ProPlantStateCurrent::getVALUE22, bo.getVALUE22());
- lqw.eq(bo.getVALUE23() != null, Klptcm1ProPlantStateCurrent::getVALUE23, bo.getVALUE23());
- lqw.eq(bo.getVALUE24() != null, Klptcm1ProPlantStateCurrent::getVALUE24, bo.getVALUE24());
- lqw.eq(bo.getVALUE25() != null, Klptcm1ProPlantStateCurrent::getVALUE25, bo.getVALUE25());
- lqw.eq(bo.getVALUE26() != null, Klptcm1ProPlantStateCurrent::getVALUE26, bo.getVALUE26());
- lqw.eq(bo.getVALUE27() != null, Klptcm1ProPlantStateCurrent::getVALUE27, bo.getVALUE27());
- lqw.eq(bo.getVALUE28() != null, Klptcm1ProPlantStateCurrent::getVALUE28, bo.getVALUE28());
- lqw.eq(bo.getVALUE29() != null, Klptcm1ProPlantStateCurrent::getVALUE29, bo.getVALUE29());
- lqw.eq(bo.getVALUE30() != null, Klptcm1ProPlantStateCurrent::getVALUE30, bo.getVALUE30());
- lqw.eq(bo.getVALUE31() != null, Klptcm1ProPlantStateCurrent::getVALUE31, bo.getVALUE31());
- lqw.eq(bo.getVALUE32() != null, Klptcm1ProPlantStateCurrent::getVALUE32, bo.getVALUE32());
- lqw.eq(bo.getVALUE33() != null, Klptcm1ProPlantStateCurrent::getVALUE33, bo.getVALUE33());
- lqw.eq(bo.getVALUE34() != null, Klptcm1ProPlantStateCurrent::getVALUE34, bo.getVALUE34());
- lqw.eq(bo.getVALUE35() != null, Klptcm1ProPlantStateCurrent::getVALUE35, bo.getVALUE35());
- lqw.eq(bo.getVALUE36() != null, Klptcm1ProPlantStateCurrent::getVALUE36, bo.getVALUE36());
- lqw.eq(bo.getVALUE37() != null, Klptcm1ProPlantStateCurrent::getVALUE37, bo.getVALUE37());
- lqw.eq(bo.getVALUE38() != null, Klptcm1ProPlantStateCurrent::getVALUE38, bo.getVALUE38());
- lqw.eq(bo.getVALUE39() != null, Klptcm1ProPlantStateCurrent::getVALUE39, bo.getVALUE39());
- lqw.eq(bo.getVALUE40() != null, Klptcm1ProPlantStateCurrent::getVALUE40, bo.getVALUE40());
- lqw.eq(bo.getVALUE41() != null, Klptcm1ProPlantStateCurrent::getVALUE41, bo.getVALUE41());
- lqw.eq(bo.getVALUE42() != null, Klptcm1ProPlantStateCurrent::getVALUE42, bo.getVALUE42());
- lqw.eq(bo.getVALUE43() != null, Klptcm1ProPlantStateCurrent::getVALUE43, bo.getVALUE43());
- lqw.eq(bo.getVALUE44() != null, Klptcm1ProPlantStateCurrent::getVALUE44, bo.getVALUE44());
- lqw.eq(bo.getVALUE45() != null, Klptcm1ProPlantStateCurrent::getVALUE45, bo.getVALUE45());
- lqw.eq(bo.getVALUE46() != null, Klptcm1ProPlantStateCurrent::getVALUE46, bo.getVALUE46());
- lqw.eq(bo.getVALUE47() != null, Klptcm1ProPlantStateCurrent::getVALUE47, bo.getVALUE47());
- lqw.eq(bo.getVALUE48() != null, Klptcm1ProPlantStateCurrent::getVALUE48, bo.getVALUE48());
- lqw.eq(bo.getVALUE49() != null, Klptcm1ProPlantStateCurrent::getVALUE49, bo.getVALUE49());
- lqw.eq(bo.getVALUE50() != null, Klptcm1ProPlantStateCurrent::getVALUE50, bo.getVALUE50());
- lqw.eq(bo.getVALUE51() != null, Klptcm1ProPlantStateCurrent::getVALUE51, bo.getVALUE51());
- lqw.eq(bo.getVALUE52() != null, Klptcm1ProPlantStateCurrent::getVALUE52, bo.getVALUE52());
- lqw.eq(bo.getVALUE53() != null, Klptcm1ProPlantStateCurrent::getVALUE53, bo.getVALUE53());
- lqw.eq(bo.getVALUE54() != null, Klptcm1ProPlantStateCurrent::getVALUE54, bo.getVALUE54());
- lqw.eq(bo.getVALUE55() != null, Klptcm1ProPlantStateCurrent::getVALUE55, bo.getVALUE55());
- lqw.eq(bo.getVALUE56() != null, Klptcm1ProPlantStateCurrent::getVALUE56, bo.getVALUE56());
- lqw.eq(bo.getVALUE57() != null, Klptcm1ProPlantStateCurrent::getVALUE57, bo.getVALUE57());
- lqw.eq(bo.getVALUE58() != null, Klptcm1ProPlantStateCurrent::getVALUE58, bo.getVALUE58());
- lqw.eq(bo.getVALUE59() != null, Klptcm1ProPlantStateCurrent::getVALUE59, bo.getVALUE59());
- lqw.eq(bo.getVALUE60() != null, Klptcm1ProPlantStateCurrent::getVALUE60, bo.getVALUE60());
- lqw.eq(bo.getVALUE61() != null, Klptcm1ProPlantStateCurrent::getVALUE61, bo.getVALUE61());
- lqw.eq(bo.getVALUE62() != null, Klptcm1ProPlantStateCurrent::getVALUE62, bo.getVALUE62());
- lqw.eq(bo.getVALUE63() != null, Klptcm1ProPlantStateCurrent::getVALUE63, bo.getVALUE63());
- lqw.eq(bo.getVALUE64() != null, Klptcm1ProPlantStateCurrent::getVALUE64, bo.getVALUE64());
- lqw.eq(bo.getVALUE65() != null, Klptcm1ProPlantStateCurrent::getVALUE65, bo.getVALUE65());
- lqw.eq(bo.getVALUE66() != null, Klptcm1ProPlantStateCurrent::getVALUE66, bo.getVALUE66());
- lqw.eq(bo.getVALUE67() != null, Klptcm1ProPlantStateCurrent::getVALUE67, bo.getVALUE67());
- lqw.eq(bo.getVALUE68() != null, Klptcm1ProPlantStateCurrent::getVALUE68, bo.getVALUE68());
- lqw.eq(bo.getVALUE69() != null, Klptcm1ProPlantStateCurrent::getVALUE69, bo.getVALUE69());
- lqw.eq(bo.getVALUE70() != null, Klptcm1ProPlantStateCurrent::getVALUE70, bo.getVALUE70());
- lqw.eq(bo.getVALUE71() != null, Klptcm1ProPlantStateCurrent::getVALUE71, bo.getVALUE71());
- lqw.eq(bo.getVALUE72() != null, Klptcm1ProPlantStateCurrent::getVALUE72, bo.getVALUE72());
- lqw.eq(bo.getVALUE73() != null, Klptcm1ProPlantStateCurrent::getVALUE73, bo.getVALUE73());
- lqw.eq(bo.getVALUE74() != null, Klptcm1ProPlantStateCurrent::getVALUE74, bo.getVALUE74());
- lqw.eq(bo.getVALUE75() != null, Klptcm1ProPlantStateCurrent::getVALUE75, bo.getVALUE75());
- lqw.eq(bo.getVALUE76() != null, Klptcm1ProPlantStateCurrent::getVALUE76, bo.getVALUE76());
- lqw.eq(bo.getVALUE77() != null, Klptcm1ProPlantStateCurrent::getVALUE77, bo.getVALUE77());
- lqw.eq(bo.getVALUE78() != null, Klptcm1ProPlantStateCurrent::getVALUE78, bo.getVALUE78());
- lqw.eq(bo.getVALUE79() != null, Klptcm1ProPlantStateCurrent::getVALUE79, bo.getVALUE79());
- lqw.eq(bo.getVALUE80() != null, Klptcm1ProPlantStateCurrent::getVALUE80, bo.getVALUE80());
- lqw.eq(bo.getVALUE81() != null, Klptcm1ProPlantStateCurrent::getVALUE81, bo.getVALUE81());
- lqw.eq(bo.getVALUE82() != null, Klptcm1ProPlantStateCurrent::getVALUE82, bo.getVALUE82());
- lqw.eq(bo.getVALUE83() != null, Klptcm1ProPlantStateCurrent::getVALUE83, bo.getVALUE83());
- lqw.eq(bo.getVALUE84() != null, Klptcm1ProPlantStateCurrent::getVALUE84, bo.getVALUE84());
- lqw.eq(bo.getVALUE85() != null, Klptcm1ProPlantStateCurrent::getVALUE85, bo.getVALUE85());
- lqw.eq(bo.getVALUE86() != null, Klptcm1ProPlantStateCurrent::getVALUE86, bo.getVALUE86());
- lqw.eq(bo.getVALUE87() != null, Klptcm1ProPlantStateCurrent::getVALUE87, bo.getVALUE87());
- lqw.eq(bo.getVALUE88() != null, Klptcm1ProPlantStateCurrent::getVALUE88, bo.getVALUE88());
- lqw.eq(bo.getVALUE89() != null, Klptcm1ProPlantStateCurrent::getVALUE89, bo.getVALUE89());
- lqw.eq(bo.getVALUE90() != null, Klptcm1ProPlantStateCurrent::getVALUE90, bo.getVALUE90());
- lqw.eq(bo.getVALUE91() != null, Klptcm1ProPlantStateCurrent::getVALUE91, bo.getVALUE91());
- lqw.eq(bo.getVALUE92() != null, Klptcm1ProPlantStateCurrent::getVALUE92, bo.getVALUE92());
- lqw.eq(bo.getVALUE93() != null, Klptcm1ProPlantStateCurrent::getVALUE93, bo.getVALUE93());
- lqw.eq(bo.getVALUE94() != null, Klptcm1ProPlantStateCurrent::getVALUE94, bo.getVALUE94());
- lqw.eq(bo.getVALUE95() != null, Klptcm1ProPlantStateCurrent::getVALUE95, bo.getVALUE95());
- lqw.eq(bo.getVALUE96() != null, Klptcm1ProPlantStateCurrent::getVALUE96, bo.getVALUE96());
- lqw.eq(bo.getVALUE97() != null, Klptcm1ProPlantStateCurrent::getVALUE97, bo.getVALUE97());
- lqw.eq(bo.getVALUE98() != null, Klptcm1ProPlantStateCurrent::getVALUE98, bo.getVALUE98());
- lqw.eq(bo.getVALUE99() != null, Klptcm1ProPlantStateCurrent::getVALUE99, bo.getVALUE99());
- return lqw;
- }
-
- /**
- * 新增当前
- */
- @Override
- public Boolean insertByBo(Klptcm1ProPlantStateCurrentBo bo) {
- Klptcm1ProPlantStateCurrent add = BeanUtil.toBean(bo, Klptcm1ProPlantStateCurrent.class);
- validEntityBeforeSave(add);
- boolean flag = baseMapper.insert(add) > 0;
- if (flag) {
- bo.setINSDATE(add.getINSDATE());
- }
- return flag;
- }
-
- /**
- * 修改当前
- */
- @Override
- public Boolean updateByBo(Klptcm1ProPlantStateCurrentBo bo) {
- Klptcm1ProPlantStateCurrent update = BeanUtil.toBean(bo, Klptcm1ProPlantStateCurrent.class);
- validEntityBeforeSave(update);
- return baseMapper.updateById(update) > 0;
- }
-
- /**
- * 保存前的数据校验
- */
- private void validEntityBeforeSave(Klptcm1ProPlantStateCurrent entity){
- //TODO 做一些数据校验,如唯一约束
- }
-
- /**
- * 批量删除当前
- */
- @Override
- public Boolean deleteWithValidByIds(Collection ids, Boolean isValid) {
- if(isValid){
- //TODO 做一些业务上的校验,判断是否需要校验
- }
- return baseMapper.deleteBatchIds(ids) > 0;
- }
}
diff --git a/klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml b/klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml
index c64b367c..1dfe0a6a 100644
--- a/klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml
+++ b/klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateCurrentMapper.xml
@@ -1,117 +1,30 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSDATE, YEAR, MONTH, DAY, HOUR, MINUTE, TYPE,
+ VALUE1, VALUE2, VALUE99
+
+
+
+
From bbecc3c55fe51a244dec76ea20a177cf817318e2 Mon Sep 17 00:00:00 2001
From: Joshi <3040996759@qq.com>
Date: Mon, 27 Oct 2025 18:07:12 +0800
Subject: [PATCH 5/7] =?UTF-8?q?feat(pocket):=20=E5=AE=9E=E7=8E=B0=E5=B7=A5?=
=?UTF-8?q?=E5=8E=82=E7=8A=B6=E6=80=81=E6=95=B0=E6=8D=AE=E5=88=86=E9=A1=B5?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 为Klptcm1ProPlantStateCurrent实体补充VALUE1至VALUE99字段定义及注释
- 更新Klptcm1ProPlantStateCurrentMapper.xml,完善所有VALUE字段的resultMap和column list映射- 修改IKlptcm1ProPlantStateCurrentService接口,将selectAll方法改为支持分页查询- 调整Klptcm1ProPlantStateCurrentController控制器,继承BaseController并支持分页参数- 新增Klptcm1ProPlantStateDefine相关组件(domain、controller、service、mapper),实现状态定义表的分页查询能力- 引入PageQuery与TableDataInfo等通用分页工具类,统一前后端分页交互格式
- 更新Mapper XML配置文件,优化SQL结构并确保大数据量下的查询性能
---
...Klptcm1ProPlantStateCurrentController.java | 13 +-
.../Klptcm1ProPlantStateDefineController.java | 34 +
.../domain/Klptcm1ProPlantStateCurrent.java | 596 +++++++++++++++++-
.../domain/Klptcm1ProPlantStateDefine.java | 50 ++
.../Klptcm1ProPlantStateCurrentMapper.java | 5 +-
.../Klptcm1ProPlantStateDefineMapper.java | 25 +
.../IKlptcm1ProPlantStateCurrentService.java | 4 +-
.../IKlptcm1ProPlantStateDefineService.java | 27 +
...lptcm1ProPlantStateCurrentServiceImpl.java | 8 +-
...Klptcm1ProPlantStateDefineServiceImpl.java | 36 ++
.../Klptcm1ProPlantStateCurrentMapper.xml | 111 +++-
.../Klptcm1ProPlantStateDefineMapper.xml | 27 +
12 files changed, 923 insertions(+), 13 deletions(-)
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateDefineController.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateDefine.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateDefineMapper.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateDefineService.java
create mode 100644 klp-pocket/src/main/java/com/klp/pocket/service/impl/Klptcm1ProPlantStateDefineServiceImpl.java
create mode 100644 klp-pocket/src/main/resources/mapper/pocket/Klptcm1ProPlantStateDefineMapper.xml
diff --git a/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
index e6b79103..d6bfd5ab 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateCurrentController.java
@@ -1,6 +1,9 @@
package com.klp.pocket.controller;
+import com.klp.common.core.controller.BaseController;
+import com.klp.common.core.domain.PageQuery;
import com.klp.common.core.domain.R;
+import com.klp.common.core.page.TableDataInfo;
import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
import com.klp.pocket.service.IKlptcm1ProPlantStateCurrentService;
import org.springframework.web.bind.annotation.*;
@@ -8,8 +11,8 @@ import javax.annotation.Resource;
import java.util.List;
@RestController
-@RequestMapping("/api/klptcm1ProPlantStateCurrent")
-public class Klptcm1ProPlantStateCurrentController {
+@RequestMapping("/pocket/proPlantStateCurrent")
+public class Klptcm1ProPlantStateCurrentController extends BaseController {
@Resource
private IKlptcm1ProPlantStateCurrentService klptcm1ProPlantStateCurrentService;
@@ -18,9 +21,9 @@ public class Klptcm1ProPlantStateCurrentController {
* 查询所有数据
*/
@GetMapping("/selectAll")
- public R> selectAll() {
- List result = klptcm1ProPlantStateCurrentService.selectAll();
- return R.ok(result);
+ public TableDataInfo selectAll(PageQuery pageQuery) {
+ return klptcm1ProPlantStateCurrentService.selectAll(pageQuery);
+
}
}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateDefineController.java b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateDefineController.java
new file mode 100644
index 00000000..cb9a083e
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/controller/Klptcm1ProPlantStateDefineController.java
@@ -0,0 +1,34 @@
+package com.klp.pocket.controller;
+
+import com.klp.common.core.controller.BaseController;
+import com.klp.common.core.domain.PageQuery;
+import com.klp.common.core.page.TableDataInfo;
+import com.klp.pocket.domain.Klptcm1ProPlantStateDefine;
+import com.klp.pocket.service.IKlptcm1ProPlantStateDefineService;
+import org.springframework.web.bind.annotation.*;
+import javax.annotation.Resource;
+import java.math.BigDecimal;
+import java.util.List;
+
+/**
+ * 工厂状态定义表Controller
+ * 提供RESTful接口,处理前端请求
+ */
+@RestController
+@RequestMapping("/pocket/proPlantStateDefine")
+public class Klptcm1ProPlantStateDefineController extends BaseController {
+
+ @Resource
+ private IKlptcm1ProPlantStateDefineService defineService;
+
+ /**
+ * 分页查询状态定义列表
+ * @param pageQuery 分页参数(请求参数,如?pageNum=1&pageSize=10)
+ * @return 分页表格数据
+ */
+ @GetMapping("/listPage")
+ public TableDataInfo getDefinePage(PageQuery pageQuery) {
+ return defineService.getDefinePage(pageQuery);
+ }
+
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
index fa3b95f9..6b346895 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateCurrent.java
@@ -14,10 +14,602 @@ public class Klptcm1ProPlantStateCurrent {
private BigDecimal hour; // 对应数据库 HOUR
private BigDecimal minute; // 对应数据库 MINUTE
private BigDecimal type; // 对应数据库 TYPE
- // 以下为 VALUE1 到 VALUE99 的属性
+ /**
+ * 状态值1
+ * 对应数据库列:VALUE1(decimal类型,具体含义取决于TYPE字段,如温度、压力等)
+ */
private BigDecimal value1;
+
+ /**
+ * 状态值2
+ * 对应数据库列:VALUE2(decimal类型,具体含义取决于TYPE字段)
+ */
private BigDecimal value2;
- // ... 省略 VALUE3 到 VALUE98 的声明 ...
+
+ /**
+ * 状态值3
+ * 对应数据库列:VALUE3(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value3;
+
+ /**
+ * 状态值4
+ * 对应数据库列:VALUE4(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value4;
+
+ /**
+ * 状态值5
+ * 对应数据库列:VALUE5(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value5;
+
+ /**
+ * 状态值6
+ * 对应数据库列:VALUE6(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value6;
+
+ /**
+ * 状态值7
+ * 对应数据库列:VALUE7(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value7;
+
+ /**
+ * 状态值8
+ * 对应数据库列:VALUE8(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value8;
+
+ /**
+ * 状态值9
+ * 对应数据库列:VALUE9(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value9;
+
+ /**
+ * 状态值10
+ * 对应数据库列:VALUE10(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value10;
+
+ // ------------------------------
+ // 以下为VALUE11至VALUE98的完整声明
+ // ------------------------------
+
+ /**
+ * 状态值11
+ * 对应数据库列:VALUE11(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value11;
+
+ /**
+ * 状态值12
+ * 对应数据库列:VALUE12(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value12;
+
+ /**
+ * 状态值13
+ * 对应数据库列:VALUE13(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value13;
+
+ /**
+ * 状态值14
+ * 对应数据库列:VALUE14(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value14;
+
+ /**
+ * 状态值15
+ * 对应数据库列:VALUE15(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value15;
+
+ /**
+ * 状态值16
+ * 对应数据库列:VALUE16(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value16;
+
+ /**
+ * 状态值17
+ * 对应数据库列:VALUE17(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value17;
+
+ /**
+ * 状态值18
+ * 对应数据库列:VALUE18(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value18;
+
+ /**
+ * 状态值19
+ * 对应数据库列:VALUE19(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value19;
+
+ /**
+ * 状态值20
+ * 对应数据库列:VALUE20(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value20;
+
+ /**
+ * 状态值21
+ * 对应数据库列:VALUE21(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value21;
+
+ /**
+ * 状态值22
+ * 对应数据库列:VALUE22(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value22;
+
+ /**
+ * 状态值23
+ * 对应数据库列:VALUE23(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value23;
+
+ /**
+ * 状态值24
+ * 对应数据库列:VALUE24(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value24;
+
+ /**
+ * 状态值25
+ * 对应数据库列:VALUE25(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value25;
+
+ /**
+ * 状态值26
+ * 对应数据库列:VALUE26(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value26;
+
+ /**
+ * 状态值27
+ * 对应数据库列:VALUE27(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value27;
+
+ /**
+ * 状态值28
+ * 对应数据库列:VALUE28(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value28;
+
+ /**
+ * 状态值29
+ * 对应数据库列:VALUE29(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value29;
+
+ /**
+ * 状态值30
+ * 对应数据库列:VALUE30(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value30;
+
+ /**
+ * 状态值31
+ * 对应数据库列:VALUE31(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value31;
+
+ /**
+ * 状态值32
+ * 对应数据库列:VALUE32(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value32;
+
+ /**
+ * 状态值33
+ * 对应数据库列:VALUE33(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value33;
+
+ /**
+ * 状态值34
+ * 对应数据库列:VALUE34(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value34;
+
+ /**
+ * 状态值35
+ * 对应数据库列:VALUE35(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value35;
+
+ /**
+ * 状态值36
+ * 对应数据库列:VALUE36(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value36;
+
+ /**
+ * 状态值37
+ * 对应数据库列:VALUE37(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value37;
+
+ /**
+ * 状态值38
+ * 对应数据库列:VALUE38(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value38;
+
+ /**
+ * 状态值39
+ * 对应数据库列:VALUE39(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value39;
+
+ /**
+ * 状态值40
+ * 对应数据库列:VALUE40(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value40;
+
+ /**
+ * 状态值41
+ * 对应数据库列:VALUE41(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value41;
+
+ /**
+ * 状态值42
+ * 对应数据库列:VALUE42(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value42;
+
+ /**
+ * 状态值43
+ * 对应数据库列:VALUE43(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value43;
+
+ /**
+ * 状态值44
+ * 对应数据库列:VALUE44(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value44;
+
+ /**
+ * 状态值45
+ * 对应数据库列:VALUE45(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value45;
+
+ /**
+ * 状态值46
+ * 对应数据库列:VALUE46(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value46;
+
+ /**
+ * 状态值47
+ * 对应数据库列:VALUE47(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value47;
+
+ /**
+ * 状态值48
+ * 对应数据库列:VALUE48(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value48;
+
+ /**
+ * 状态值49
+ * 对应数据库列:VALUE49(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value49;
+
+ /**
+ * 状态值50
+ * 对应数据库列:VALUE50(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value50;
+
+ /**
+ * 状态值51
+ * 对应数据库列:VALUE51(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value51;
+
+ /**
+ * 状态值52
+ * 对应数据库列:VALUE52(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value52;
+
+ /**
+ * 状态值53
+ * 对应数据库列:VALUE53(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value53;
+
+ /**
+ * 状态值54
+ * 对应数据库列:VALUE54(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value54;
+
+ /**
+ * 状态值55
+ * 对应数据库列:VALUE55(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value55;
+
+ /**
+ * 状态值56
+ * 对应数据库列:VALUE56(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value56;
+
+ /**
+ * 状态值57
+ * 对应数据库列:VALUE57(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value57;
+
+ /**
+ * 状态值58
+ * 对应数据库列:VALUE58(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value58;
+
+ /**
+ * 状态值59
+ * 对应数据库列:VALUE59(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value59;
+
+ /**
+ * 状态值60
+ * 对应数据库列:VALUE60(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value60;
+
+ /**
+ * 状态值61
+ * 对应数据库列:VALUE61(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value61;
+
+ /**
+ * 状态值62
+ * 对应数据库列:VALUE62(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value62;
+
+ /**
+ * 状态值63
+ * 对应数据库列:VALUE63(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value63;
+
+ /**
+ * 状态值64
+ * 对应数据库列:VALUE64(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value64;
+
+ /**
+ * 状态值65
+ * 对应数据库列:VALUE65(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value65;
+
+ /**
+ * 状态值66
+ * 对应数据库列:VALUE66(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value66;
+
+ /**
+ * 状态值67
+ * 对应数据库列:VALUE67(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value67;
+
+ /**
+ * 状态值68
+ * 对应数据库列:VALUE68(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value68;
+
+ /**
+ * 状态值69
+ * 对应数据库列:VALUE69(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value69;
+
+ /**
+ * 状态值70
+ * 对应数据库列:VALUE70(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value70;
+
+ /**
+ * 状态值71
+ * 对应数据库列:VALUE71(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value71;
+
+ /**
+ * 状态值72
+ * 对应数据库列:VALUE72(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value72;
+
+ /**
+ * 状态值73
+ * 对应数据库列:VALUE73(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value73;
+
+ /**
+ * 状态值74
+ * 对应数据库列:VALUE74(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value74;
+
+ /**
+ * 状态值75
+ * 对应数据库列:VALUE75(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value75;
+
+ /**
+ * 状态值76
+ * 对应数据库列:VALUE76(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value76;
+
+ /**
+ * 状态值77
+ * 对应数据库列:VALUE77(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value77;
+
+ /**
+ * 状态值78
+ * 对应数据库列:VALUE78(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value78;
+
+ /**
+ * 状态值79
+ * 对应数据库列:VALUE79(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value79;
+
+ /**
+ * 状态值80
+ * 对应数据库列:VALUE80(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value80;
+
+ /**
+ * 状态值81
+ * 对应数据库列:VALUE81(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value81;
+
+ /**
+ * 状态值82
+ * 对应数据库列:VALUE82(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value82;
+
+ /**
+ * 状态值83
+ * 对应数据库列:VALUE83(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value83;
+
+ /**
+ * 状态值84
+ * 对应数据库列:VALUE84(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value84;
+
+ /**
+ * 状态值85
+ * 对应数据库列:VALUE85(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value85;
+
+ /**
+ * 状态值86
+ * 对应数据库列:VALUE86(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value86;
+
+ /**
+ * 状态值87
+ * 对应数据库列:VALUE87(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value87;
+
+ /**
+ * 状态值88
+ * 对应数据库列:VALUE88(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value88;
+
+ /**
+ * 状态值89
+ * 对应数据库列:VALUE89(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value89;
+
+ /**
+ * 状态值90
+ * 对应数据库列:VALUE90(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value90;
+
+ /**
+ * 状态值91
+ * 对应数据库列:VALUE91(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value91;
+
+ /**
+ * 状态值92
+ * 对应数据库列:VALUE92(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value92;
+
+ /**
+ * 状态值93
+ * 对应数据库列:VALUE93(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value93;
+
+ /**
+ * 状态值94
+ * 对应数据库列:VALUE94(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value94;
+
+ /**
+ * 状态值95
+ * 对应数据库列:VALUE95(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value95;
+
+ /**
+ * 状态值96
+ * 对应数据库列:VALUE96(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value96;
+
+ /**
+ * 状态值97
+ * 对应数据库列:VALUE97(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value97;
+
+ /**
+ * 状态值98
+ * 对应数据库列:VALUE98(decimal类型,具体含义取决于TYPE字段)
+ */
+ private BigDecimal value98;
+
+ /**
+ * 状态值99
+ * 对应数据库列:VALUE99(decimal类型,具体含义取决于TYPE字段)
+ */
private BigDecimal value99;
}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateDefine.java b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateDefine.java
new file mode 100644
index 00000000..18947eee
--- /dev/null
+++ b/klp-pocket/src/main/java/com/klp/pocket/domain/Klptcm1ProPlantStateDefine.java
@@ -0,0 +1,50 @@
+package com.klp.pocket.domain;
+
+import lombok.Data;
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 工厂状态定义表实体类
+ * 对应数据库表:klptcm1_pro_plant_state_define
+ * 用途:存储工厂状态参数的定义信息(如参数名称、单位、说明等)
+ */
+@Data
+public class Klptcm1ProPlantStateDefine {
+
+ /**
+ * 主键ID
+ * 对应数据库列:ID(decimal类型,唯一标识一条状态定义记录)
+ */
+ private BigDecimal id;
+
+ /**
+ * 状态参数名称
+ * 对应数据库列:NAME(varchar类型,非空,如"温度"、"压力")
+ */
+ private String name;
+
+ /**
+ * 状态参数单位
+ * 对应数据库列:UNITS(varchar类型,非空,如"℃"、"MPa")
+ */
+ private String units;
+
+ /**
+ * 状态参数说明
+ * 对应数据库列:COMMENTS(varchar类型,非空,补充参数的详细描述)
+ */
+ private String comments;
+
+ /**
+ * 插入时间
+ * 对应数据库列:INSDATE(datetime类型,默认当前时间戳,记录数据创建时间)
+ */
+ private Date insdate;
+
+ /**
+ * 模型类型
+ * 对应数据库列:MODELTYPE(decimal类型,默认值2,标识参数所属模型类型)
+ */
+ private BigDecimal modeltype;
+}
diff --git a/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java b/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
index ecf92f9b..38e532f4 100644
--- a/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
+++ b/klp-pocket/src/main/java/com/klp/pocket/mapper/Klptcm1ProPlantStateCurrentMapper.java
@@ -1,5 +1,8 @@
package com.klp.pocket.mapper;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.klp.common.core.domain.PageQuery;
+import com.klp.common.core.page.TableDataInfo;
import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@@ -8,5 +11,5 @@ import java.util.List;
public interface Klptcm1ProPlantStateCurrentMapper {
// 查询所有
- List selectAll();
+ Page selectAll(Page