Commit e33bdc23 by 陶光胜

小程序二维码修改

parent d02a9522
......@@ -70,7 +70,7 @@ public class BillingOrderApiServcImpl implements BillingOrderApiService {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
smsPackageOrderItemDTO.setEffectiveDate(simpleDateFormat.parse(simpleDateFormat.format(now.getTime())));
} catch (ParseException e) {
e.printStackTrace();
logger.warn("异常", e);
}
billingOrderDTO.setItemJson(JSON.toJSONString(smsPackageOrderItemDTO));
billingOrderDTO.setTotalFee(smsPackageOrderItemDTO.getSmsAmount() * smsPackageOrderItemDTO.getBuyCount() * smsPackageOrderItemDTO.getCost());
......
......@@ -650,7 +650,7 @@ public class EnterpriseApiServiceImpl implements EnterpriseApiService {
}
}
}catch (Exception e){
e.printStackTrace();
LOGGER.warn("exception", e);
}
}
return null;
......
......@@ -38,7 +38,7 @@ public class HomeStatisticsApiServiceImpl implements HomeStatisticsApiService {
try {
dateList = getDateList(params.getStartTime(), params.getEndTime());
} catch (Exception e) {
e.printStackTrace();
LOGGER.warn("exception", e);
return ServiceResponse.failure(ErrorCode.SYSTEM_ERROR.getCode(), e.getMessage());
}
if (feeTypeEnum == FeeTypeEnum.TOTAL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment