fix: 自测bug修复。
This commit is contained in:
@@ -35,7 +35,14 @@ public class AccountsServiceImpl implements IAccountsService
|
|||||||
@Override
|
@Override
|
||||||
public AccountsVo selectAccountsById(Long id)
|
public AccountsVo selectAccountsById(Long id)
|
||||||
{
|
{
|
||||||
return accountsMapper.selectAccountsById(id);
|
AccountsVo accounts= accountsMapper.selectAccountsById(id);
|
||||||
|
if(!"null".equals(String.valueOf(accounts.getBillDate()))) {
|
||||||
|
accounts.setBillDateName(accounts.getBillDate()+"号");
|
||||||
|
}
|
||||||
|
if(!"null".equals(String.valueOf(accounts.getPayDate()))) {
|
||||||
|
accounts.setPayDateName(accounts.getPayDate()+"号");
|
||||||
|
}
|
||||||
|
return accounts;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user