mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 运营分析接口
This commit is contained in:
@@ -122,9 +122,12 @@ public class BusinessFinancialController extends BaseController {
|
||||
* @param dto 查询参数
|
||||
*/
|
||||
private void validateBusinessOperationQuery(BusinessOperationAnalysisQueryDTO dto) {
|
||||
if (dto == null
|
||||
|| StringUtils.isBlank(dto.getStartTime())
|
||||
|| StringUtils.isBlank(dto.getEndTime())) {
|
||||
if (dto == null) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
|
||||
}
|
||||
boolean startTimeBlank = StringUtils.isBlank(dto.getStartTime());
|
||||
boolean endTimeBlank = StringUtils.isBlank(dto.getEndTime());
|
||||
if (startTimeBlank ^ endTimeBlank) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ spring:
|
||||
master:
|
||||
# url: jdbc:mysql://106.14.94.149:3306/jsowell_pre?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# username: jsowell_pre
|
||||
url: jdbc:mysql://192.168.0.4:3306/jsowell_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://192.168.0.32:3306/jsowell_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: jsowell_dev
|
||||
password: 123456
|
||||
# 从库数据源
|
||||
|
||||
Reference in New Issue
Block a user