流水汇总达梦sql不支持别名
This commit is contained in:
@@ -256,10 +256,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and count_fee = #{billingStatementCollectDO.countFee}
|
||||
</if>
|
||||
<if test="billingStatementCollectDO.businessStartDate != null">
|
||||
and date_format(business_start_date,'%Y-%m-%d %H:%i:%s') <![CDATA[>=]]> #{billingStatementCollectDO.businessStartDate}
|
||||
and date_format(MIN(business_date),'%Y-%m-%d %H:%i:%s') <![CDATA[>=]]> #{billingStatementCollectDO.businessStartDate}
|
||||
</if>
|
||||
<if test="billingStatementCollectDO.businessEndDate != null">
|
||||
and date_format(business_end_date,'%Y-%m-%d %H:%i:%s') <![CDATA[<=]]> #{billingStatementCollectDO.businessEndDate}
|
||||
and date_format(MAX(business_date),'%Y-%m-%d %H:%i:%s') <![CDATA[<=]]> #{billingStatementCollectDO.businessEndDate}
|
||||
</if>
|
||||
</sql>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user