Commit afc7ad02 by jianan

来佣报表导出报错

parent d532d638
...@@ -331,8 +331,6 @@ public class LifeCommissionServiceImpl implements LifeCommissionService { ...@@ -331,8 +331,6 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
List<ComeCommissionVO> dataList = lifeCommissionMapper.queryComeCommissionList(requestVO); List<ComeCommissionVO> dataList = lifeCommissionMapper.queryComeCommissionList(requestVO);
dataList.sort(Comparator.comparing(ComeCommissionVO::getOrderDate).reversed());
createCSV(dataList, response); createCSV(dataList, response);
responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000"))); responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000")));
return responseVO; return responseVO;
......
...@@ -130,6 +130,7 @@ ...@@ -130,6 +130,7 @@
and c.check_yearmonth = #{historyDate} and c.check_yearmonth = #{historyDate}
</when> </when>
</choose> </choose>
order by o.order_date desc
</select> </select>
...@@ -358,5 +359,6 @@ ...@@ -358,5 +359,6 @@
and c.check_yearmonth = #{historyDate} and c.check_yearmonth = #{historyDate}
</when> </when>
</choose> </choose>
order by o.created_at desc
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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