|
|
|
@ -715,7 +715,12 @@ public class VoucherServiceImpl extends ServiceImpl<VoucherMapper, VoucherEntity
|
|
|
|
|
queryWrapper.isNull("a.f_delete_mark");
|
|
|
|
|
queryWrapper.inSql("a.id", "SELECT f_process_id FROM flow_task WHERE f_status = '2'");//通过审核的订单
|
|
|
|
|
queryWrapper.like("a.organize_json_id",organize);
|
|
|
|
|
// queryWrapper.orderByDesc("a.f_creator_time"); // 排序
|
|
|
|
|
|
|
|
|
|
queryWrapper.eq("a.delivery_type","1"); //取仓配的凭证
|
|
|
|
|
queryWrapper.eq("a.document_type",voucherPagination.getDocumentType());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Page<VoucherEntity> page=new Page<>(voucherPagination.getCurrentPage(), voucherPagination.getPageSize());
|
|
|
|
|
IPage<VoucherEntity> voucherEntityIPage = voucherMapper.queryVoucherNotification(page,queryWrapper);
|
|
|
|
|
return voucherPagination.setData(voucherEntityIPage.getRecords(),voucherEntityIPage.getTotal());
|
|
|
|
|