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/RmOpenCloseValveHistoryMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOpenCloseValveHistoryMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOpenCloseValveHistoryMapper.xml
index 13ad59e..f09df25 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOpenCloseValveHistoryMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOpenCloseValveHistoryMapper.xml
@@ -507,7 +507,7 @@
                oh.op_ic_card_no        AS openIcNum,
                oh.op_ic_card_addr      AS openIcAddr,
                oh.open_dt              AS openTime,
-               oh.op_type              AS openType_,
+               oh.op_type              AS opType,
                oh.op_order_no          AS openOrderNo,
                oh.op_total_amount      AS openTotalAmount,
                oh.op_remain_money      AS openRemainMoney,
@@ -516,7 +516,7 @@
                oh.cl_ic_card_no        AS closeIcNum,
                oh.cl_ic_card_addr      AS closeIcAddr,
                oh.close_dt             AS closeTime,
-               oh.cl_type              AS closeType_,
+               oh.cl_type              AS clType,
                oh.cl_this_amount       AS closeThisAmount,
                oh.cl_this_time         AS thisTime,
                oh.cl_price             AS closePrice,
@@ -525,7 +525,7 @@
                oh.cl_total_amount      AS closeTotalAmount
         FROM rm_open_close_valve_history oh
         LEFT JOIN pr_intake inta ON inta.id = oh.intake_id
-        LEFT JOIN ba_client cl ON cl.id = oh.client_id
+        LEFT JOIN se_client cl ON cl.id = oh.client_id
         <where>
             <if test="intakeId != null and intakeId > 0">
                 AND oh.intake_id = #{intakeId}
@@ -546,7 +546,7 @@
                 AND oh.cl_dt BETWEEN #{timeStart_close} AND #{timeStop_close}
             </if>
         </where>
-        ORDER BY oh.op_dt DESC
+        ORDER BY oh.id DESC
         <trim prefix="limit ">
             <if test="start != null and count != null">
                 #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}

--
Gitblit v1.8.0