|
|
@@ -31,9 +31,12 @@ public class ClientServiceImpl implements ClientService {
|
|
|
*/
|
|
|
@Override
|
|
|
public CommRes getClient(Client client) {
|
|
|
+ Client client1 = new Client();
|
|
|
Client clients = clientMapper.getClient(client);
|
|
|
if (clients == null){
|
|
|
- return CommRes.fail("没有该客户信息");
|
|
|
+ client1.setCode(client.getCode());
|
|
|
+ client1.setDays("0");
|
|
|
+ return CommRes.success(client1);
|
|
|
}
|
|
|
return CommRes.success(clients);
|
|
|
}
|