From 41732f0ee9b689e021d67e7063118e292c0819a0 Mon Sep 17 00:00:00 2001 From: zhouyahui Date: Sat, 30 Jun 2018 17:54:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=B5=81=E7=A8=8B=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java b/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java index 8c3bdab6e..ec88461b3 100644 --- a/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java +++ b/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java @@ -61,7 +61,13 @@ public class ViewFlowLogService extends BaseTable{ pHASEOPINION=fobo.getAttribute(FLOW_OPINION.PHASEOPINION).toString(); fobo.getAttribute(FLOW_OPINION.PHASECHOICE).toString(); } - fl.setAttributeValue("logcontent", FlowLogContent.replaceAll("@", DateAssistant.getTodayNow()).concat(" Òâ¼û£º"+pHASEOPINION)); + if(pHASEOPINION!=null&&pHASEOPINION!=""){ + fl.setAttributeValue("logcontent", FlowLogContent.replaceAll("@", DateAssistant.getTodayNow()).concat(" Òâ¼û£º"+pHASEOPINION)); + + }else{ + fl.setAttributeValue("logcontent", FlowLogContent.replaceAll("@", DateAssistant.getTodayNow())); + + } fl = this.initTabeUserInfo(fl); flManager.saveObject(fl); return "success";