no message

This commit is contained in:
cb 2025-04-22 14:53:55 +08:00
parent 269c023cfb
commit 37b2158fe0
2 changed files with 6 additions and 0 deletions

View File

@ -63,4 +63,7 @@ public class CustomerAddress extends BaseEntity {
private List<Long> streetIds; private List<Long> streetIds;
private Boolean needNameFlag = false; private Boolean needNameFlag = false;
/*是否删除id*/
private Long isDelete;
} }

View File

@ -26,6 +26,9 @@ public class CustomerAddressServiceImpl implements CustomerAddressService {
@Override @Override
public List<CustomerAddress> getCustomerAddressList(CustomerAddress customerAddress) { public List<CustomerAddress> getCustomerAddressList(CustomerAddress customerAddress) {
logger.info("查询地址的参数{}",customerAddress); logger.info("查询地址的参数{}",customerAddress);
if (customerAddress.getIsDelete()==null) {
customerAddress.setIsDelete(0L);
}
List<CustomerAddress> addressList = customerAddressMapper.getCustomerAddressList(customerAddress); List<CustomerAddress> addressList = customerAddressMapper.getCustomerAddressList(customerAddress);
logger.info("查询后的地址的值{}",addressList); logger.info("查询后的地址的值{}",addressList);
if(customerAddress.getNeedNameFlag()){ if(customerAddress.getNeedNameFlag()){