Merge remote-tracking branch 'origin/master-v4' into master-v4
| | |
| | | |
| | | @Override |
| | | public FlowerSaleStatisticVO getFlowerSaleStatistics(FlowerSaleDTO dto) { |
| | | dto.setCreateStartDate(parseLocalDateTime(dto.getCreateStartDateStr(), 17, 0, 0, -1)); |
| | | dto.setCreateEndDate(parseLocalDateTime(dto.getCreateEndDateStr(), 17, 0, 0, 0)); |
| | | return salesStatisticAnalysisMapper.getFlowerSaleStatistics(dto); |
| | | } |
| | | |
| | |
| | | for(FlowerCategory c : cLs){ |
| | | addTask(flowerService, c.getId(), null); |
| | | |
| | | if(ls != null && ls.size() > 0){ |
| | | for(Partner p : ls){ |
| | | addTask(flowerService, c.getId(), p.getId()); |
| | | } |
| | | } |
| | | // if(ls != null && ls.size() > 0){ |
| | | // for(Partner p : ls){ |
| | | // addTask(flowerService, c.getId(), p.getId()); |
| | | // } |
| | | // } |
| | | } |
| | | } |
| | | } |
| | |
| | | AND oi.station_id = #{dto.stationId} |
| | | </if> |
| | | <if test="dto.flowerCategory != null"> |
| | | AND f.category = #{dto.flowerCategory} |
| | | AND ( f.category = #{dto.flowerCategory} or f.category in ( |
| | | select id from t_flower_category where parent_id = #{dto.flowerCategory} |
| | | )) |
| | | </if> |
| | | <if test="dto.flowerLevel != null and dto.flowerLevel != ''"> |
| | | AND oi.flower_level = #{dto.flowerLevel} |