From 6ea45eee4c55206ee8a47243d27e20cc8f5d3955 Mon Sep 17 00:00:00 2001 From: ChenJiaHe <763432473@qq.com> Date: 星期六, 25 十一月 2023 00:55:08 +0800 Subject: [PATCH] 创建订单-总金额 --- phi_platform_user/src/main/java/com/hx/phip/service/init/impl/OrderInitServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phi_platform_user/src/main/java/com/hx/phip/service/init/impl/OrderInitServiceImpl.java b/phi_platform_user/src/main/java/com/hx/phip/service/init/impl/OrderInitServiceImpl.java index 7a032e2..c97dc11 100644 --- a/phi_platform_user/src/main/java/com/hx/phip/service/init/impl/OrderInitServiceImpl.java +++ b/phi_platform_user/src/main/java/com/hx/phip/service/init/impl/OrderInitServiceImpl.java @@ -1082,13 +1082,13 @@ } //--棰嗗缓璁㈠崟鍒濆鍖栦細璺戣繖涓▼搴忥紝杞鐨勯」鐩紝鏂扮郴缁熶笉浼氭湁杞鏉ヨ窇鍒濆鍖栬鍗曠殑绋嬪簭锛屽仛浜嗚浆澧炵殑鍒ゆ柇锛屾槸涓嶅仛鍒濆鍖栬鍗曠殑绋嬪簭 - values.put("commonId",userProjectItem.getCommonId()); + /* values.put("commonId",userProjectItem.getCommonId()); values.put("oneTotal", oneTotal); logger.info("鏍囪锛氭洿鏂板鐞嗗搴旂敤鎴烽」鐩紝浠ラ槻鍚庨潰鍑洪敊鍙洖婧紝commonId锛歿}", userProjectItem.getCommonId()); sqlSentence.sqlUpdate(" total = #{m.total},actualTotal = #{m.actualTotal},oriPrice = #{m.oriPrice},curPrice = #{m.curPrice}" + ",deductionTotalAmount = (#{m.oneTotal}*usedTotal),noDeductionAmount = (#{m.oneTotal}*notUsedNum)" + " WHERE commonId = #{m.commonId} AND isTransfer = 1 and isDel = 0 ",values); - userProjectItemMapper.updateWhere(sqlSentence); + userProjectItemMapper.updateWhere(sqlSentence);*/ try{ //璁$畻鍒掓墸閲戦 -- Gitblit v1.8.0