From 27720526f4c1c9071965af311d6ebb93116f199e Mon Sep 17 00:00:00 2001 From: zxy Date: Fri, 10 Apr 2026 08:55:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(customer):=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86=E7=95=8C=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=92=8C=E7=BB=84=E4=BB=B6=E7=BB=93=E6=9E=84=20refact?= =?UTF-8?q?or(machine):=20=E9=87=8D=E6=9E=84=E6=9C=BA=E5=8F=B0=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E8=A1=A8=E5=8D=95=E7=BB=84=E4=BB=B6=E7=BB=93=E6=9E=84?= =?UTF-8?q?=20refactor(proc):=20=E9=87=8D=E6=9E=84=E5=B7=A5=E5=BA=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=A1=A8=E5=8D=95=E7=BB=84=E4=BB=B6=E7=BB=93?= =?UTF-8?q?=E6=9E=84=20refactor(proline):=20=E9=87=8D=E6=9E=84=E4=BA=A7?= =?UTF-8?q?=E7=BA=BF=E7=AE=A1=E7=90=86=E8=A1=A8=E5=8D=95=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=BB=93=E6=9E=84=20style(customer):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E7=A7=B0=E5=92=8C=E5=8A=9F=E8=83=BD=20style(?= =?UTF-8?q?machine):=20=E8=B0=83=E6=95=B4=E6=9C=BA=E5=8F=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E9=9D=A2=E7=BB=84=E4=BB=B6=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=20style(material):=20=E8=B0=83=E6=95=B4=E7=89=A9=E6=96=99?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E7=BB=84=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=20fix(common):=20=E7=BB=9F=E4=B8=80=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E4=BA=8B=E4=BB=B6=E5=8F=82=E6=95=B0=E4=BC=A0?= =?UTF-8?q?=E9=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jnpf/service/impl/MachineServiceImpl.java | 2 +- .../service/impl/MaterialServiceImpl.java | 2 +- .../jnpf/service/impl/ProLineServiceImpl.java | 2 +- .../jnpf/service/impl/ProcServiceImpl.java | 2 +- .../service/impl/TbaCustomerServiceImpl.java | 2 +- .../src/views/example/customer/detail.vue | 50 +++---- .../src/views/example/customer/form.vue | 52 ++++---- .../src/views/example/customer/index.vue | 4 +- .../src/views/example/machine/form.vue | 125 +++++++----------- .../src/views/example/machine/index.vue | 2 +- .../src/views/example/material/form.vue | 2 +- .../src/views/example/material/index.vue | 2 +- .../jnpf-web/src/views/example/proc/form.vue | 91 ++++++------- .../jnpf-web/src/views/example/proc/index.vue | 2 +- .../src/views/example/proline/form.vue | 91 ++++++------- .../src/views/example/proline/index.vue | 2 +- 16 files changed, 184 insertions(+), 249 deletions(-) diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MachineServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MachineServiceImpl.java index 96f1ff5..6c57b7c 100644 --- a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MachineServiceImpl.java +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MachineServiceImpl.java @@ -66,7 +66,7 @@ public class MachineServiceImpl extends ServiceImpl page = new Page<>(machinePagination.getCurrentPage(), machinePagination.getPageSize()); diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MaterialServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MaterialServiceImpl.java index d2b2b5e..bf51299 100644 --- a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MaterialServiceImpl.java +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/MaterialServiceImpl.java @@ -59,7 +59,7 @@ public class MaterialServiceImpl extends ServiceImpl page = new Page<>(materialPagination.getCurrentPage(), materialPagination.getPageSize()); diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProLineServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProLineServiceImpl.java index 4737859..e92ee16 100644 --- a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProLineServiceImpl.java +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProLineServiceImpl.java @@ -48,7 +48,7 @@ public class ProLineServiceImpl extends ServiceImpl page = new Page<>(proLinePagination.getCurrentPage(), proLinePagination.getPageSize()); diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProcServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProcServiceImpl.java index f350b3a..71a50bf 100644 --- a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProcServiceImpl.java +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/ProcServiceImpl.java @@ -51,7 +51,7 @@ public class ProcServiceImpl extends ServiceImpl impleme if (ObjectUtil.isNotEmpty(procPagination.getEnabledStatus())) { procWrapper.eq(ProcEntity::getEnabledStatus, procPagination.getEnabledStatus()); } - procWrapper.isNull(ProcEntity::getDeleteMark); + procWrapper.eq(ProcEntity::getDeleteMark,0); procWrapper.orderByDesc(ProcEntity::getCreatorTime); if ("0".equals(procPagination.getDataType())) { Page page = new Page<>(procPagination.getCurrentPage(), procPagination.getPageSize()); diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/TbaCustomerServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/TbaCustomerServiceImpl.java index 1628686..9877809 100644 --- a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/TbaCustomerServiceImpl.java +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/TbaCustomerServiceImpl.java @@ -59,7 +59,7 @@ public class TbaCustomerServiceImpl extends ServiceImpl - - - - - - + - + + + + + + - + - + - + - + - + - + - + @@ -72,34 +72,34 @@ - + - + - + - + - + - + @@ -108,29 +108,29 @@ - + - + - + - + - + diff --git a/jnpf-java-boot/jnpf-web/src/views/example/customer/form.vue b/jnpf-java-boot/jnpf-web/src/views/example/customer/form.vue index f7d9b93..d6729d6 100644 --- a/jnpf-java-boot/jnpf-web/src/views/example/customer/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/example/customer/form.vue @@ -12,58 +12,58 @@ - - - - - - + - + + + + + + - + - + - + - + - + - + - + @@ -72,34 +72,34 @@ - + - + - + - + - + - + @@ -108,29 +108,29 @@ - + - + - + - + - + @@ -247,7 +247,7 @@ export default { }, handleClose() { this.dialogVisible = false; - this.$emit('refresh') + this.$emit('refresh',true) }, } } diff --git a/jnpf-java-boot/jnpf-web/src/views/example/customer/index.vue b/jnpf-java-boot/jnpf-web/src/views/example/customer/index.vue index c29b9e8..33a4279 100644 --- a/jnpf-java-boot/jnpf-web/src/views/example/customer/index.vue +++ b/jnpf-java-boot/jnpf-web/src/views/example/customer/index.vue @@ -72,7 +72,7 @@ @@ -92,7 +92,7 @@ import JNPFDetail from "./detail"; import {customerOptions, getCustomerLabel} from "./options"; export default { - name: "customer_list", + name: "tbaCustomer", components: { JNPFForm, JNPFDetail, diff --git a/jnpf-java-boot/jnpf-web/src/views/example/machine/form.vue b/jnpf-java-boot/jnpf-web/src/views/example/machine/form.vue index fabf443..5f7bfaf 100644 --- a/jnpf-java-boot/jnpf-web/src/views/example/machine/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/example/machine/form.vue @@ -1,79 +1,46 @@