From c3ee76c79cc5c5db479b548e1b4eca67327e7396 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 06 八月 2024 11:28:06 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 framework/src/main/java/com/yuanchu/mom/common/PrintChina.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/framework/src/main/java/com/yuanchu/mom/common/PrintChina.java b/framework/src/main/java/com/yuanchu/mom/common/PrintChina.java
index f6ded2f..8bcc710 100644
--- a/framework/src/main/java/com/yuanchu/mom/common/PrintChina.java
+++ b/framework/src/main/java/com/yuanchu/mom/common/PrintChina.java
@@ -35,9 +35,11 @@
                 }
                 soundVo.put("label", field.getName());
                 soundVo.put("value", value);
-                soundVo.put("width", width);
+                if(width>0){
+                    soundVo.put("width", width);
+                }
                 soundVo.put("order", order + "");
-                if(list.size() == 0){
+                if(list.isEmpty()){
                     list.add(soundVo);
                 }else{
                     boolean isAdd = false;

--
Gitblit v1.9.3