|
|
|
@ -1133,8 +1133,9 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
@Override
|
|
|
|
|
public JSONObject listDailyTransactions(String dateStr, String timezone, boolean thisDevOnly, JSONObject device,String app_client_ids) {
|
|
|
|
|
try {
|
|
|
|
|
JSONObject client = clientManager.getClientInfo(device.getIntValue("client_id"));
|
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
|
|
|
|
|
dateFormat.setTimeZone(TimeZone.getTimeZone(timezone));
|
|
|
|
|
dateFormat.setTimeZone(TimeZone.getTimeZone(client.getString("timezone")));
|
|
|
|
|
Date date = dateFormat.parse(dateStr);
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|
DeviceRegister register = deviceSupport.findRegister(clientType);
|
|
|
|
|