From d838d08ffaf9620ac359d979f1029e0ec0512519 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 29 十月 2024 20:43:57 +0800 Subject: [PATCH] 1、statistics模块的配置项目IdSuffix: ${pipIrr.statistics.idSuffix}改为idSuffix: ${pipIrr.statistics.idSuffix}; 2、初始沙盘系统行政区划编码修改; 3、行政区划编码数据库字段num由bigint型改为varchar(5)型,相应mapper.xml文件内修改。 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVcRechargeMapper.xml | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVcRechargeMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVcRechargeMapper.xml index 95b5342..de16e7a 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVcRechargeMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVcRechargeMapper.xml @@ -168,4 +168,32 @@ WHERE order_number = #{orderNumber} LIMIT 0,1 </select> + + <!--鏍规嵁铏氭嫙鍗″彿鑾峰彇璁㈠崟鍒楄〃--> + <select id="getOrders" resultType="com.dy.pipIrrGlobal.voSe.VoOrders"> + SELECT + order_number AS orderNumber, + recharge_amount AS rechargeAmount, + recharge_time AS rechargeTime + FROM se_vc_recharge + <where> + AND order_state = 2 + <if test = "virtualId != null and virtualId > 0"> + AND vc_id = ${virtualId} + </if> + </where> + ORDER BY order_number + </select> + +<!--鏍规嵁璁㈠崟鍙疯幏鍙栧厖鍊奸噾棰�--> + <select id="getRechargeAmountByOrderNumber" resultType="java.lang.Integer"> + SELECT + recharge_amount AS rechargeAmount + FROM se_vc_recharge + <where> + <if test = "orderNumber != null and orderNumber !=''"> + AND order_number = #{orderNumber} + </if> + </where> + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0