Commit 6b2f7cc4 authored by wanghao's avatar wanghao

1 bigWindowOld 界面调整

parent 5a738d9a
...@@ -77,20 +77,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -77,20 +77,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SUM(f_appr_quan) as 'count1', SUM(f_appr_quan) as 'count1',
SUM(f_sup_gas_vol) as 'count2', SUM(f_sup_gas_vol) as 'count2',
SUM(f_storage_vol) as 'count3', SUM(f_storage_vol) as 'count3',
DATE_FORMAT( f_rep_date, '%Y-%m-%d' ) AS date DATE_FORMAT( f_calendar_date, '%Y-%m-%d' ) AS date
FROM FROM
t_sup_bal_gas_sup t_sup_bal_gas_sup
WHERE WHERE
is_del='0' is_del='0'
and and
DATE_FORMAT( f_rep_date, '%Y-%m-%d' ) IN DATE_FORMAT( f_calendar_date, '%Y-%m-%d' ) IN
<foreach collection="list" item="sevenDate" separator="," open="(" close=")"> <foreach collection="list" item="sevenDate" separator="," open="(" close=")">
#{sevenDate} #{sevenDate}
</foreach> </foreach>
GROUP BY GROUP BY
DATE_FORMAT( f_rep_date, '%Y-%m-%d' ) DATE_FORMAT( f_calendar_date, '%Y-%m-%d' )
ORDER BY ORDER BY
DATE_FORMAT( f_rep_date, '%Y-%m-%d' ) DESC; DATE_FORMAT( f_calendar_date, '%Y-%m-%d' ) DESC;
</select> </select>
<select id="selectTSupBalGasSupById" parameterType="Long" resultMap="TSupBalGasSupResult"> <select id="selectTSupBalGasSupById" parameterType="Long" resultMap="TSupBalGasSupResult">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment