New version QSystem 21.1 is available!

Facebook

Функциональность QSystem
× Help improve QSystem!

Errors and failures inevitable part of any software. Jointly improve quality.

call time return null

  • sanco
  • sanco's Avatar Topic Author
  • Offline
  • Захожу иногда
  • Захожу иногда
More
8 years 5 months ago #2437 by sanco
sanco created the topic: call time return null
Hello everyone. Customer call time return null.
QCustomer cust = NetCommander.inviteNextCustomer(netProperty, user.getId(), false);
cust.getCallTime();//return always null.

Please Log in or Create an account to join the conversation.

  • sanco
  • sanco's Avatar Topic Author
  • Offline
  • Захожу иногда
  • Захожу иногда
More
8 years 5 months ago #2438 by sanco
sanco replied the topic: call time return null
final Object result = Executer.getInstance().doTask(rpc, socket.getInetAddress().getHostAddress(), socket.getInetAddress().getAddress());
                answer = gson.toJson(result);

task return customer with call time. but after gson convert data to json call time is null. what is the problem?

Please Log in or Create an account to join the conversation.

  • sanco
  • sanco's Avatar Topic Author
  • Offline
  • Захожу иногда
  • Захожу иногда
More
8 years 5 months ago #2440 by sanco
sanco replied the topic: call time return null
finally I found the solution. I got null because of QSystem does not store customer call time to database. To handle this problem just add a new column for call time.

Please Log in or Create an account to join the conversation.

Time to create page: 0.040 seconds
Работаем с QSystem