From d83d729f80576bb4c7e73bcfff5c403a23f23b82 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期五, 19 一月 2024 10:59:41 +0800 Subject: [PATCH] 再生俱乐部首次提交 --- phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java b/phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java index 517a80a..0b9ada9 100644 --- a/phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java +++ b/phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java @@ -640,10 +640,10 @@ //鑽g埛璇撮」鐩枟绋嬫鏁颁负绌哄�硷紝榛樿涓�1 //璁剧疆涓�绾у瓙璁㈠崟鍗曟鐤楃▼鏁伴噺,璇ュ�艰幏鍙栫殑鏄」鐩殑鐤楃▼娆℃暟(涓轰簡璁$畻璁㈠崟鐨勬�荤枟绋嬫鏁�) if(project.getIsExecutable()!=null && project.getIsExecutable()==BaseEntity.YES){ - Integer useredTotal=project==null?0:project.getTreatmentItemsNum()==null?1:project.getTreatmentItemsNum()==0?1:project.getTreatmentItemsNum(); + Integer useredTotal= project.getTreatmentItemsNum() == null ?1: project.getTreatmentItemsNum() == 0 ?1:project.getTreatmentItemsNum(); vo.setSingle(useredTotal);//璁㈠崟鍗曟鐤楃▼鏁伴噺 }else if(project.getIsExecutable()!=null && project.getIsExecutable()==BaseEntity.NO){ - Integer useredTotal=project==null?0:project.getTreatmentItemsNum()==null?0:project.getTreatmentItemsNum(); + Integer useredTotal= project.getTreatmentItemsNum() == null ?0:project.getTreatmentItemsNum(); vo.setSingle(useredTotal);//璁㈠崟鍗曟鐤楃▼鏁伴噺 }else{ vo.setSingle(0);//璁㈠崟鍗曟鐤楃▼鏁伴噺 -- Gitblit v1.8.0