ChenJiaHe
2023-11-25 6ea45eee4c55206ee8a47243d27e20cc8f5d3955
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{
            //计算划扣金额