Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
f41a89b24a
@ -23,13 +23,13 @@ public class EbikeSaveConfigurationDto {
|
||||
private Long operatorId;
|
||||
|
||||
/**
|
||||
* 配置项时长
|
||||
* 车辆多长时间无单生成调度工单
|
||||
*/
|
||||
@NotNull(message = "车辆多长时间无单生成调度工单不能为空")
|
||||
private Integer dispatchDuration;
|
||||
|
||||
/**
|
||||
* 配置项骑行时长
|
||||
* 调度完成后多长时间内骑行是有效的
|
||||
*/
|
||||
@NotNull(message = "调度完成后多长时间内骑行是有效的不能为空")
|
||||
private Integer rideDuration;
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
package com.cdzy.operations.model.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 配置项 实体类
|
||||
*
|
||||
* @author yanglei
|
||||
* @since 2025-12-03 16:31
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class EbikeUpdateConfigurationDto {
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@NotNull(message = "主键不能为空")
|
||||
private Long configurationId;
|
||||
|
||||
/**
|
||||
* 配置项时长
|
||||
*/
|
||||
private Integer dispatchDuration;
|
||||
|
||||
/**
|
||||
* 配置项骑行时长
|
||||
*/
|
||||
private Integer rideDuration;
|
||||
|
||||
/**
|
||||
* 巡检间隔时长(日)
|
||||
*/
|
||||
private Integer inspectionIntervalDuration;
|
||||
|
||||
/**
|
||||
* 运营商手机号
|
||||
*/
|
||||
private String operatorPhone;
|
||||
}
|
||||
@ -1,7 +1,6 @@
|
||||
package com.cdzy.operations.service;
|
||||
|
||||
import com.cdzy.operations.model.dto.EbikeSaveConfigurationDto;
|
||||
import com.cdzy.operations.model.dto.EbikeUpdateConfigurationDto;
|
||||
import com.cdzy.operations.model.entity.EbikeCarrierConfiguration;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
|
||||
@ -30,6 +29,7 @@ public interface EbikeCarrierConfigurationService extends IService<EbikeCarrierC
|
||||
|
||||
/**
|
||||
* 根据运营商id查询电话
|
||||
*
|
||||
* @param operatorId 运营商id
|
||||
* @return 运营商电话
|
||||
*/
|
||||
@ -37,6 +37,7 @@ public interface EbikeCarrierConfigurationService extends IService<EbikeCarrierC
|
||||
|
||||
/**
|
||||
* 根据车辆编码查询运营商电话
|
||||
*
|
||||
* @param bikeCode 车辆编码
|
||||
* @return 运营商电话
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user