From db780090b31d89bd5f0dec623058ef913028e0be Mon Sep 17 00:00:00 2001 From: xuefeilong <15138742644@163.com> Date: Fri, 24 May 2024 18:01:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E=E5=90=88?= =?UTF-8?q?=E5=90=8C=E6=B2=A1=E5=A1=AB=E9=87=91=E9=A2=9Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zzsxt/service/impl/htgl/zbhtwh/BoZbhtwhServiceImpl.java | 3 ++- src/main/resources/templates/zzsxt/htgl/zbhtwh/index_edit.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/htjs/pt4/zzsxt/service/impl/htgl/zbhtwh/BoZbhtwhServiceImpl.java b/src/main/java/net/htjs/pt4/zzsxt/service/impl/htgl/zbhtwh/BoZbhtwhServiceImpl.java index a4b87b3..a5ca8a9 100644 --- a/src/main/java/net/htjs/pt4/zzsxt/service/impl/htgl/zbhtwh/BoZbhtwhServiceImpl.java +++ b/src/main/java/net/htjs/pt4/zzsxt/service/impl/htgl/zbhtwh/BoZbhtwhServiceImpl.java @@ -1,5 +1,6 @@ package net.htjs.pt4.zzsxt.service.impl.htgl.zbhtwh; +import cn.hutool.core.util.StrUtil; import net.htjs.pt4.core.entity.SaveException; import net.htjs.pt4.qx.dao.PtDeptAuthorizeMapper; import net.htjs.pt4.zzsxt.dao.htgl.zbhtcf.ZbhtcfMapper; @@ -85,7 +86,7 @@ public class BoZbhtwhServiceImpl implements IBoZbhtwhService { try { map.put("HTID", Get16BM.getUnquieID()); map.put("GLQYID", Get16BM.getUnquieID()); - map.put("HTZJE", CommonUtil.UnFormartMoney(map.get("HTZJE").toString())); + map.put("HTZJE", StrUtil.isBlank(CommonUtil.UnFormartMoney(map.get("HTZJE").toString()))?"1000000":CommonUtil.UnFormartMoney(map.get("HTZJE").toString())); map.put("HTZSE", CommonUtil.UnFormartMoney(map.get("HTZSE").toString())); int result = 0; //保存合同管理企业信息表数据 diff --git a/src/main/resources/templates/zzsxt/htgl/zbhtwh/index_edit.html b/src/main/resources/templates/zzsxt/htgl/zbhtwh/index_edit.html index 6a205ca..00cb35e 100644 --- a/src/main/resources/templates/zzsxt/htgl/zbhtwh/index_edit.html +++ b/src/main/resources/templates/zzsxt/htgl/zbhtwh/index_edit.html @@ -128,7 +128,7 @@