Commit 40d9ca93 authored by yanghao's avatar yanghao

fix: #297 设置开启默认开票,编辑界面默认开票按钮为关闭状态

parent 741af122
......@@ -3552,7 +3552,7 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
Boolean defaultBilling = customerChangeDefaultBillingReqVO.getDefaultBilling();
customerDOList.stream()
.filter(t -> t.getDefaultPay() == null || !t.getDefaultPay().equals(defaultBilling))
.filter(t -> t.getDefaultBilling() == null || !t.getDefaultBilling().equals(defaultBilling))
.forEach(customerDO -> {
customerDO.setDefaultBilling(defaultBilling);
customerMapper.updateById(customerDO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment