|
@@ -58,13 +58,16 @@ public class ChannelWithdrawMgrController extends BaseApiController {
|
|
|
String name = param.getString("name");
|
|
|
Date startDay = param.getDate("startDay");
|
|
|
Date endDay = param.getDate("endDay");
|
|
|
+ if (null != endDay) {
|
|
|
+ endDay = DateUtils.addDays(endDay, 1);
|
|
|
+ }
|
|
|
startPage();
|
|
|
List<ChannelWithdrawVO> withdrawList = channelWithdrawService.listWithdrawVO(new QueryWrapper<ChannelWithdraw>()
|
|
|
.eq(null != status && status != 0, "t1.status", status)
|
|
|
.eq(StringUtils.isNotBlank(name), "t2.name", name)
|
|
|
- .ge(null != startDay, "t1.created_time", startDay)
|
|
|
- .lt(null != endDay, "t1.created_time", DateUtils.addDays(endDay, 1))
|
|
|
- .orderByDesc("t1.created_time"));
|
|
|
+ .ge(null != startDay, "t1.create_time", startDay)
|
|
|
+ .lt(null != endDay, "t1.create_time", endDay)
|
|
|
+ .orderByDesc("t1.create_time"));
|
|
|
return getDataTable(withdrawList);
|
|
|
}
|
|
|
|