From c05d734af91289894eac03f2e141c2e31193ea66 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 17 五月 2024 16:42:59 +0800
Subject: [PATCH] 2024-05-17

---
 src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx
index bbad3ad..5e80f9d 100644
--- a/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx
+++ b/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx
@@ -217,10 +217,10 @@
           _select.push(`@${_f.field}='1949-10-01'`)
         } else if (_f.type === 'number') {
           _type = `decimal(18,${_fieldlen})`
-          _select.push(`@${_f.field}=0`)
+          _select.push(`@${_f.field}=1`)
         } else if (_f.type === 'rate') {
           _type = `decimal(18,2)`
-          _select.push(`@${_f.field}=0`)
+          _select.push(`@${_f.field}=1`)
         } else {
           _select.push(`@${_f.field}=''`)
         }
@@ -245,8 +245,8 @@
         fieldArr.push(_f.field.toLowerCase())
         _usefulfields.push(_f.field)
 
-        if (/decimal/ig.test(_f.datatype)) {
-          _select.push(`@${_f.field}=0`)
+        if (/decimal|int/ig.test(_f.datatype)) {
+          _select.push(`@${_f.field}=1`)
         } else {
           _select.push(`@${_f.field}=''`)
         }

--
Gitblit v1.8.0