付款单增加查询

product
杨世强 1 year ago
parent c25a68ca02
commit 1f5817cfd0

@ -27,6 +27,7 @@ public class PaymentPagination extends Pagination {
private String status; private String status;
private Date startDate; private Date startDate;
private Date endDate; private Date endDate;
private List<String> businessdate;
/** /**
* *

@ -132,6 +132,17 @@ public class PaymentServiceImpl extends ServiceImpl<PaymentMapper, PaymentEntity
} }
if(StringUtil.isNotEmpty(paymentPagination.getBusinessdate())){
paymentNum++;
List<String> PoundDateList = paymentPagination.getBusinessdate();
Long fir = Long.valueOf(PoundDateList.get(0));
Long sec = Long.valueOf(PoundDateList.get(1));
paymentQueryWrapper.lambda().ge(PaymentEntity::getBusinessdate, new Date(fir))
.le(PaymentEntity::getBusinessdate, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59"));
}
if(AllIdList.size()>0){ if(AllIdList.size()>0){
paymentQueryWrapper.lambda().in(PaymentEntity::getId, AllIdList); paymentQueryWrapper.lambda().in(PaymentEntity::getId, AllIdList);

@ -58,6 +58,19 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item label="实付日期">
<el-date-picker
v-model="query.businessdate"
type="daterange"
value-format="timestamp"
format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="单据状态"> <el-form-item label="单据状态">
<el-select <el-select

Loading…
Cancel
Save