|
|
@ -211,33 +211,33 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
public CommonPage<EasOutInBill> page(EasOutInBillQuery params) { |
|
|
|
Page<EasOutInBill> pageObject = new Page<>(params.getPage(), params.getSize()); |
|
|
|
Page<EasOutInBill> receiptBills = easOutInBillMapper.selectPageList(pageObject, params.getFuzzy(),params.getDjlx(),params.getCgybm(), params.getCkbm()); |
|
|
|
// Page<EasOutInBill> easOutInBills = easOutInBillMapper.selectPage(new Page<>(params.getPage(), params.getSize()), new QueryWrapper<EasOutInBill>()
|
|
|
|
// .lambda()
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getDjlx()), EasOutInBill::getDjlx, params.getDjlx())
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getWlbm()), EasOutInBill::getWlbm, params.getCkbm())
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getCkbm()), EasOutInBill::getCkbm, params.getCkbm())
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getCgybm()), EasOutInBill::getCgybm, params.getCgybm())
|
|
|
|
// //.eq(ObjectUtil.isNotEmpty(params.getDjzt()), EasOutInBill::getDjzt, "1".equals(params.getDjzt()) ? "提交" : "审核")
|
|
|
|
// .eq(EasOutInBill::getDjzt, "提交")
|
|
|
|
// .nested(ObjectUtil.isNotEmpty(params.getFuzzy()),
|
|
|
|
// i -> i.like(EasOutInBill::getDjid, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getDjbh, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getZzbm, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getZzmc, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getCkmc, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getWlbm, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getCkbm, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getCjr, params.getFuzzy()
|
|
|
|
// )
|
|
|
|
// ).orderByDesc(EasOutInBill::getCjsj)
|
|
|
|
// );
|
|
|
|
// Page<EasOutInBill> easOutInBills = easOutInBillMapper.selectPage(new Page<>(params.getPage(), params.getSize()), new QueryWrapper<EasOutInBill>()
|
|
|
|
// .lambda()
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getDjlx()), EasOutInBill::getDjlx, params.getDjlx())
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getWlbm()), EasOutInBill::getWlbm, params.getCkbm())
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getCkbm()), EasOutInBill::getCkbm, params.getCkbm())
|
|
|
|
// .eq(ObjectUtil.isNotEmpty(params.getCgybm()), EasOutInBill::getCgybm, params.getCgybm())
|
|
|
|
// //.eq(ObjectUtil.isNotEmpty(params.getDjzt()), EasOutInBill::getDjzt, "1".equals(params.getDjzt()) ? "提交" : "审核")
|
|
|
|
// .eq(EasOutInBill::getDjzt, "提交")
|
|
|
|
// .nested(ObjectUtil.isNotEmpty(params.getFuzzy()),
|
|
|
|
// i -> i.like(EasOutInBill::getDjid, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getDjbh, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getZzbm, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getZzmc, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getCkmc, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getWlbm, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getCkbm, params.getFuzzy())
|
|
|
|
// .or()
|
|
|
|
// .like(EasOutInBill::getCjr, params.getFuzzy()
|
|
|
|
// )
|
|
|
|
// ).orderByDesc(EasOutInBill::getCjsj)
|
|
|
|
// );
|
|
|
|
return CommonPage.getPage(receiptBills); |
|
|
|
} |
|
|
|
|
|
|
|