修改新增合同没填金额bug

master
xuefeilong 2024-05-24 18:01:51 +08:00
parent 9744e4b4cf
commit db780090b3
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package net.htjs.pt4.zzsxt.service.impl.htgl.zbhtwh; 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.core.entity.SaveException;
import net.htjs.pt4.qx.dao.PtDeptAuthorizeMapper; import net.htjs.pt4.qx.dao.PtDeptAuthorizeMapper;
import net.htjs.pt4.zzsxt.dao.htgl.zbhtcf.ZbhtcfMapper; import net.htjs.pt4.zzsxt.dao.htgl.zbhtcf.ZbhtcfMapper;
@ -85,7 +86,7 @@ public class BoZbhtwhServiceImpl implements IBoZbhtwhService {
try { try {
map.put("HTID", Get16BM.getUnquieID()); map.put("HTID", Get16BM.getUnquieID());
map.put("GLQYID", 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())); map.put("HTZSE", CommonUtil.UnFormartMoney(map.get("HTZSE").toString()));
int result = 0; int result = 0;
//保存合同管理企业信息表数据 //保存合同管理企业信息表数据

View File

@ -128,7 +128,7 @@
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label">合同金额:</label> <label class="layui-form-label">合同金额123</label>
<div class="layui-input-block"> <div class="layui-input-block">
<input type="text" class="layui-input" id="HTZJE" name="HTZJE" value=""/> <input type="text" class="layui-input" id="HTZJE" name="HTZJE" value=""/>
<input type="hidden" id="HTZSE" name="HTZSE" value="0"/> <input type="hidden" id="HTZSE" name="HTZSE" value="0"/>