From 5e12f38583c4a98005618edaa1e1a15507a478a8 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期六, 04 一月 2025 08:33:02 +0800
Subject: [PATCH] web文件系统显示文件的URL中的nginx的端口改为花生壳的配置端口19913
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountDayMapper.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountDayMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountDayMapper.xml
index 60fc47a..a5a2f4c 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountDayMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountDayMapper.xml
@@ -116,6 +116,22 @@
times27, amount28, money28, times28, amount29, money29, times29, amount30, money30,
times30, amount31, money31, times31
</sql>
+ <sql id="Base_Column_List_with_alias">
+ <!--@mbg.generated-->
+ #{alias}id, #{alias}client_id, #{alias}`year`, #{alias}`month`, #{alias}amount1, #{alias}money1, #{alias}times1, #{alias}amount2, #{alias}money2, #{alias}times2,
+ amount3, #{alias}money3, #{alias}times3, #{alias}amount4, #{alias}money4, #{alias}times4, #{alias}amount5, #{alias}money5, #{alias}times5, #{alias}amount6,
+ money6, #{alias}times6, #{alias}amount7, #{alias}money7, #{alias}times7, #{alias}amount8, #{alias}money8, #{alias}times8, #{alias}amount9, #{alias}money9,
+ times9, #{alias}amount10, #{alias}money10, #{alias}times10, #{alias}amount11, #{alias}money11, #{alias}times11, #{alias}amount12, #{alias}money12,
+ times12, #{alias}amount13, #{alias}money13, #{alias}times13, #{alias}amount14, #{alias}money14, #{alias}times14, #{alias}amount15, #{alias}money15,
+ times15, #{alias}amount16, #{alias}money16, #{alias}times16, #{alias}amount17, #{alias}money17, #{alias}times17, #{alias}amount18, #{alias}money18,
+ times18, #{alias}amount19, #{alias}money19, #{alias}times19, #{alias}amount20, #{alias}money20, #{alias}times20, #{alias}amount21, #{alias}money21,
+ times21, #{alias}amount22, #{alias}money22, #{alias}times22, #{alias}amount23, #{alias}money23, #{alias}times23, #{alias}amount24, #{alias}money24,
+ times24, #{alias}amount25, #{alias}money25, #{alias}times25, #{alias}amount26, #{alias}money26, #{alias}times26, #{alias}amount27, #{alias}money27,
+ times27, #{alias}amount28, #{alias}money28, #{alias}times28, #{alias}amount29, #{alias}money29, #{alias}times29, #{alias}amount30, #{alias}money30,
+ times30, #{alias}amount31, #{alias}money31, #{alias}times31
+ </sql>
+
+
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
<!--@mbg.generated-->
select
@@ -1185,6 +1201,49 @@
</update>
<!-- ////////////////////////////////// -->
+ <!-- 鏌ヨ缁熻缁撴灉 -->
+ <!-- ////////////////////////////////// -->
+ <select id="selectCountDayStatistics" resultType="java.lang.Long">
+ select
+ count(*)
+ from se_client mtb
+ <where>
+ <if test="name != null and name != ''">
+ mtb.name like concat('%', #{name}, '%')
+ </if>
+ </where>
+ </select>
+
+ <select id="selectDayStatistics" resultType="com.dy.pipIrrGlobal.voSt.VoStClientAmountDay">
+ select
+ mtb.clientNum as clientNum,
+ mtb.phone as clientPhone,
+ mtb.address as clientAddress,
+ <include refid="Base_Column_List_with_alias" >
+ <property name="alias" value="mtb"/>
+ </include>
+ from se_client mtb
+ LEFT JOIN st_client_amount_day stTb on stTb.client_id = mtb.id
+ <where>
+ <if test = "year != null">
+ stTb.year = #{year, jdbcType=INTEGER}
+ </if>
+ <if test = "month != null">
+ AND stTb.month = #{month, jdbcType=INTEGER}
+ </if>
+ <if test="name != null and name != ''">
+ AND mtb.name like concat('%', #{name}, '%')
+ </if>
+ </where>
+ order by mtb.id ASC
+ <trim prefix="limit " >
+ <if test="start != null and count != null">
+ #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
+ </if>
+ </trim>
+ </select>
+
+ <!-- ////////////////////////////////// -->
<!-- 缁熻鐩稿叧 -->
<!-- ////////////////////////////////// -->
<select id="statisticsByClient" resultType="com.dy.pipIrrGlobal.voSt.VoClientAmountStatistics">
--
Gitblit v1.8.0