|
|
@ -35,13 +35,13 @@ public class WaMessageServiceImpl extends ServiceImpl<WaMessageMapper, WaMessage |
|
|
|
public R queryPage(Map<String, Object> params) { |
|
|
|
public R queryPage(Map<String, Object> params) { |
|
|
|
Object stnmId = params.get("stnmId"); |
|
|
|
Object stnmId = params.get("stnmId"); |
|
|
|
Object sendTime = params.get("sendTime"); |
|
|
|
Object sendTime = params.get("sendTime"); |
|
|
|
Object sendStatus = params.get("sendStatus"); |
|
|
|
Object sendStatus = params.get("sendStaus"); |
|
|
|
IPage<WaMessage> page = this.page( |
|
|
|
IPage<WaMessage> page = this.page( |
|
|
|
new Query<WaMessage>().getPage(params), |
|
|
|
new Query<WaMessage>().getPage(params), |
|
|
|
new QueryWrapper<WaMessage>() |
|
|
|
new QueryWrapper<WaMessage>() |
|
|
|
.eq(ObjectUtils.isNotEmpty(stnmId),"stnm_id",stnmId) |
|
|
|
.eq(ObjectUtils.isNotEmpty(stnmId),"stnm_id",stnmId) |
|
|
|
.eq(ObjectUtils.isNotEmpty(sendTime),"send_time",sendTime) |
|
|
|
.eq(ObjectUtils.isNotEmpty(sendTime),"send_time",sendTime) |
|
|
|
.eq(ObjectUtils.isNotEmpty(sendStatus),"send_status",sendStatus) |
|
|
|
.eq(ObjectUtils.isNotEmpty(sendStatus),"send_staus",sendStatus) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
return R.ok().put("count", page.getTotal()).put("data", page.getRecords()); |
|
|
|
return R.ok().put("count", page.getTotal()).put("data", page.getRecords()); |
|
|
|