|
@@ -13,7 +13,7 @@ ON a.upload_time=b.upload_time
|
|
|
</select>
|
|
|
|
|
|
<select id="feedList" resultType="vip.xiaonuo.modular.feed.feedinglist.vo.FeedingListVo2">
|
|
|
- SELECT unit_id 'unitId',unit_name 'unitName',IFNULL(sum(feed_value),'0') 'feedValue',IFNULL(sum(margin_value),'0') 'marginValue',create_time 'createTime' FROM feeding_list
|
|
|
+ SELECT unit_id 'unitId',unit_name 'unitName',IFNULL(sum(feed_value),'0') 'feedValue',IFNULL(sum(margin_value),'0') 'marginValue',create_time 'uploadTime' FROM feeding_list
|
|
|
${ew.customSqlSegment}
|
|
|
group BY DATE_FORMAT(create_time,'%Y-%m-%d')
|
|
|
ORDER BY create_time ASC
|