ソースを参照

fix trade daily

release_toaliyun_real
lin 3年前
コミット
1366394fb4
1個のファイルの変更19行の追加3行の削除
  1. +19
    -3
      mallinkService/src/main/resources/mapper/WxMerchantTradeDailyMapper.xml

+ 19
- 3
mallinkService/src/main/resources/mapper/WxMerchantTradeDailyMapper.xml ファイルの表示

@@ -72,9 +72,25 @@
and id != #{ignoreId} and id != #{ignoreId}
</if> </if>
<if test=" dateType == 1 ">
and date_type = 1
<if test=" null != startTime and null != endTime">
and report_date &gt;= date_format(#{startTime},'%Y-%m-%d')
and report_date &lt;= date_format(#{endTime},'%Y-%m-%d')
</if >
</if>
<if test=" dateType == 2 ">
and date_type = 2
<if test=" null != startTime and null != endTime">
and report_date &gt;= date_format(#{startTime},'%Y-%m')
and report_date &lt;= date_format(#{endTime},'%Y-%m')
</if >
</if>
<if test=" null != startTime and null != endTime"> <if test=" null != startTime and null != endTime">
and mtd.report_date &gt;= date_format(#{startTime},'%Y-%m-%d')
and mtd.report_date &lt;= date_format(#{endTime},'%Y-%m-%d')
and report_date &gt;= date_format(#{startTime},'%Y-%m-%d')
and report_date &lt;= date_format(#{endTime},'%Y-%m-%d')
</if> </if>
<if test=" null != merchantIdList "> <if test=" null != merchantIdList ">
@@ -99,7 +115,7 @@
<select id="findList" parameterType="com.iformall.domain.po.WxMerchantTradeDaily" resultMap="BaseResultMap"> <select id="findList" parameterType="com.iformall.domain.po.WxMerchantTradeDaily" resultMap="BaseResultMap">
select select
<include refid="allColumns"/> <include refid="allColumns"/>
from wx_merchant_trade_daily
from wx_merchant_trade_daily
<include refid="dynamicWhereConditions" /> <include refid="dynamicWhereConditions" />
</select> </select>




読み込み中…
キャンセル
保存