新增航班延误代码 基础数据APi
This commit is contained in:
+49
@@ -0,0 +1,49 @@
|
|||||||
|
package com.gzzn.omms.adminapi.controller.basicdata;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import com.gzzn.omms.adminapi.domain.secondary.dao.basicdata.FimsFlightStatusDefinitionDao;
|
||||||
|
import com.gzzn.omms.adminapi.domain.secondary.entity.baiscdata.FimsFlightStatusDefinition;
|
||||||
|
import com.gzzn.omms.adminapi.dto.ResponseDto;
|
||||||
|
import com.gzzn.omms.adminapi.dto.basicdata.FimsFlightStatusDefinitionDto;
|
||||||
|
import com.gzzn.omms.adminapi.dto.basicdata.convert.FimsFlightStatusDefinitionConvert;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 航班延误代码
|
||||||
|
* @author fhc
|
||||||
|
* @since 2018-12-24
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
public class FlmsFlightStatusDefinitionController {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private FimsFlightStatusDefinitionConvert fimsFlightStatusDefinitionConvert;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private FimsFlightStatusDefinitionDao fimsFlightStatusDefinitionDao;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取所有航班类型代码
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@ApiOperation(value="获取所有航班延误代码列表",tags="基础数据")
|
||||||
|
@GetMapping(value="/basicdata/flmsFlightStatusDefinition")
|
||||||
|
public ResponseDto<List<FimsFlightStatusDefinitionDto>> getSysFlightTypes() {
|
||||||
|
List<FimsFlightStatusDefinition> objList = (List<FimsFlightStatusDefinition>) fimsFlightStatusDefinitionDao.findAll();
|
||||||
|
|
||||||
|
//转换dto
|
||||||
|
List<FimsFlightStatusDefinitionDto> dtoList = objList.stream().map(
|
||||||
|
x -> fimsFlightStatusDefinitionConvert.fimsFlightStatusDefinitionToFimsFlightStatusDefinitionDto(x)
|
||||||
|
).collect(Collectors.toList());
|
||||||
|
|
||||||
|
return ResponseDto.success(dtoList);
|
||||||
|
}
|
||||||
|
}
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
package com.gzzn.omms.adminapi.domain.secondary.dao.basicdata;
|
||||||
|
|
||||||
|
import org.springframework.data.repository.CrudRepository;
|
||||||
|
|
||||||
|
import com.gzzn.omms.adminapi.domain.secondary.entity.baiscdata.FimsFlightStatusDefinition;
|
||||||
|
|
||||||
|
public interface FimsFlightStatusDefinitionDao extends CrudRepository<FimsFlightStatusDefinition, String> {
|
||||||
|
|
||||||
|
}
|
||||||
+237
@@ -0,0 +1,237 @@
|
|||||||
|
package com.gzzn.omms.adminapi.domain.secondary.entity.baiscdata;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.GeneratedValue;
|
||||||
|
import javax.persistence.GenerationType;
|
||||||
|
import javax.persistence.Id;
|
||||||
|
import javax.persistence.NamedQuery;
|
||||||
|
import javax.persistence.SequenceGenerator;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The persistent class for the SYS_FLIGHT_STATUS database table.
|
||||||
|
* 航班延误代码
|
||||||
|
*/
|
||||||
|
@Entity
|
||||||
|
@Table(name="FIMS_FLIGHTSTATUS_DEFINITION")
|
||||||
|
@NamedQuery(name="FlmsFlightStatusDefinition.findAll", query="SELECT s FROM FimsFlightStatusDefinition s")
|
||||||
|
public class FimsFlightStatusDefinition implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Id
|
||||||
|
@SequenceGenerator(name="FLIGHTSTATUSDEF_REC_ID_GENERATOR", sequenceName="FLIGHTSTATUSDEF_REC_ID")
|
||||||
|
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="FLIGHTSTATUSDEF_REC_ID_GENERATOR")
|
||||||
|
@Column(name="FLIGHTSTATUSDEF_REC_ID")
|
||||||
|
private Long flifhtStatusDefRecId;//航班状态定义表记录ID
|
||||||
|
|
||||||
|
@Column(name="FLIGHT_STATUS")
|
||||||
|
private String flightStatus;//航班状态(具体的属于某一状态类别的明细状态,如:气象延误、旅客延误等,其状态类别属于“延误/CNCL”)(航班状态的具体定义应依据ATC相关接口内容进行,此数据由开发方设定)
|
||||||
|
|
||||||
|
@Column(name="FLIGHT_STATUS_TYPE")
|
||||||
|
private String flightStatusType;//航班状态类别null-正常 DELY-延误 CNCL-取消 FDIV-备降 MERG-合并 GRTN-地返 OTHR-其他
|
||||||
|
|
||||||
|
@Column(name="FLIGHT_STATUS_DESC")
|
||||||
|
private String flightStatusDesc;//航班状态描述说明
|
||||||
|
|
||||||
|
@Column(name="ENABLED_FLAG")
|
||||||
|
private String enableFlag;//数据记录可用标志Enabled ——数据记录可用 Disabled——数据记录不可用
|
||||||
|
|
||||||
|
@Column(name="DCOD")
|
||||||
|
private String dcod;//航班延误代码
|
||||||
|
|
||||||
|
@Column(name="DCDN")
|
||||||
|
private Long dcdn;//航班延误代码数字代号
|
||||||
|
|
||||||
|
@Column(name="DDES")
|
||||||
|
private String ddes;//航班延误描述eng
|
||||||
|
|
||||||
|
@Column(name="DDSC")
|
||||||
|
private String ddsc;//航班延误描述chn
|
||||||
|
|
||||||
|
@Column(name="OPERATE")
|
||||||
|
private Byte operate;//操作标识 1-使用 0-删除标识
|
||||||
|
|
||||||
|
public Long getFlifhtStatusDefRecId() {
|
||||||
|
return flifhtStatusDefRecId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlifhtStatusDefRecId(Long flifhtStatusDefRecId) {
|
||||||
|
this.flifhtStatusDefRecId = flifhtStatusDefRecId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFlightStatus() {
|
||||||
|
return flightStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlightStatus(String flightStatus) {
|
||||||
|
this.flightStatus = flightStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFlightStatusType() {
|
||||||
|
return flightStatusType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlightStatusType(String flightStatusType) {
|
||||||
|
this.flightStatusType = flightStatusType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFlightStatusDesc() {
|
||||||
|
return flightStatusDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlightStatusDesc(String flightStatusDesc) {
|
||||||
|
this.flightStatusDesc = flightStatusDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEnableFlag() {
|
||||||
|
return enableFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEnableFlag(String enableFlag) {
|
||||||
|
this.enableFlag = enableFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDcod() {
|
||||||
|
return dcod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDcod(String dcod) {
|
||||||
|
this.dcod = dcod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getDcdn() {
|
||||||
|
return dcdn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDcdn(Long dcdn) {
|
||||||
|
this.dcdn = dcdn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDdes() {
|
||||||
|
return ddes;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDdes(String ddes) {
|
||||||
|
this.ddes = ddes;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDdsc() {
|
||||||
|
return ddsc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDdsc(String ddsc) {
|
||||||
|
this.ddsc = ddsc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Byte getOperate() {
|
||||||
|
return operate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOperate(Byte operate) {
|
||||||
|
this.operate = operate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
final int prime = 31;
|
||||||
|
int result = 1;
|
||||||
|
result = prime * result + ((dcdn == null) ? 0 : dcdn.hashCode());
|
||||||
|
result = prime * result + ((dcod == null) ? 0 : dcod.hashCode());
|
||||||
|
result = prime * result + ((ddes == null) ? 0 : ddes.hashCode());
|
||||||
|
result = prime * result + ((ddsc == null) ? 0 : ddsc.hashCode());
|
||||||
|
result = prime * result
|
||||||
|
+ ((enableFlag == null) ? 0 : enableFlag.hashCode());
|
||||||
|
result = prime
|
||||||
|
* result
|
||||||
|
+ ((flifhtStatusDefRecId == null) ? 0 : flifhtStatusDefRecId
|
||||||
|
.hashCode());
|
||||||
|
result = prime * result
|
||||||
|
+ ((flightStatus == null) ? 0 : flightStatus.hashCode());
|
||||||
|
result = prime
|
||||||
|
* result
|
||||||
|
+ ((flightStatusDesc == null) ? 0 : flightStatusDesc.hashCode());
|
||||||
|
result = prime
|
||||||
|
* result
|
||||||
|
+ ((flightStatusType == null) ? 0 : flightStatusType.hashCode());
|
||||||
|
result = prime * result + ((operate == null) ? 0 : operate.hashCode());
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
if (this == obj)
|
||||||
|
return true;
|
||||||
|
if (obj == null)
|
||||||
|
return false;
|
||||||
|
if (getClass() != obj.getClass())
|
||||||
|
return false;
|
||||||
|
FimsFlightStatusDefinition other = (FimsFlightStatusDefinition) obj;
|
||||||
|
if (dcdn == null) {
|
||||||
|
if (other.dcdn != null)
|
||||||
|
return false;
|
||||||
|
} else if (!dcdn.equals(other.dcdn))
|
||||||
|
return false;
|
||||||
|
if (dcod == null) {
|
||||||
|
if (other.dcod != null)
|
||||||
|
return false;
|
||||||
|
} else if (!dcod.equals(other.dcod))
|
||||||
|
return false;
|
||||||
|
if (ddes == null) {
|
||||||
|
if (other.ddes != null)
|
||||||
|
return false;
|
||||||
|
} else if (!ddes.equals(other.ddes))
|
||||||
|
return false;
|
||||||
|
if (ddsc == null) {
|
||||||
|
if (other.ddsc != null)
|
||||||
|
return false;
|
||||||
|
} else if (!ddsc.equals(other.ddsc))
|
||||||
|
return false;
|
||||||
|
if (enableFlag == null) {
|
||||||
|
if (other.enableFlag != null)
|
||||||
|
return false;
|
||||||
|
} else if (!enableFlag.equals(other.enableFlag))
|
||||||
|
return false;
|
||||||
|
if (flifhtStatusDefRecId == null) {
|
||||||
|
if (other.flifhtStatusDefRecId != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flifhtStatusDefRecId.equals(other.flifhtStatusDefRecId))
|
||||||
|
return false;
|
||||||
|
if (flightStatus == null) {
|
||||||
|
if (other.flightStatus != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flightStatus.equals(other.flightStatus))
|
||||||
|
return false;
|
||||||
|
if (flightStatusDesc == null) {
|
||||||
|
if (other.flightStatusDesc != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flightStatusDesc.equals(other.flightStatusDesc))
|
||||||
|
return false;
|
||||||
|
if (flightStatusType == null) {
|
||||||
|
if (other.flightStatusType != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flightStatusType.equals(other.flightStatusType))
|
||||||
|
return false;
|
||||||
|
if (operate == null) {
|
||||||
|
if (other.operate != null)
|
||||||
|
return false;
|
||||||
|
} else if (!operate.equals(other.operate))
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "FlmsFlightStatusDefinition [flifhtStatusDefRecId="
|
||||||
|
+ flifhtStatusDefRecId + ", flightStatus=" + flightStatus
|
||||||
|
+ ", flightStatusType=" + flightStatusType
|
||||||
|
+ ", flightStatusDesc=" + flightStatusDesc + ", enableFlag="
|
||||||
|
+ enableFlag + ", dcod=" + dcod + ", dcdn=" + dcdn + ", ddes="
|
||||||
|
+ ddes + ", ddsc=" + ddsc + ", operate=" + operate + "]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
+223
@@ -0,0 +1,223 @@
|
|||||||
|
package com.gzzn.omms.adminapi.dto.basicdata;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The persistent class for the SYS_FLIGHT_STATUS database table.
|
||||||
|
* 航班延误代码
|
||||||
|
*/
|
||||||
|
@ApiModel(value="航班延误代码Dto",description="航班延误代码基础数据")
|
||||||
|
public class FimsFlightStatusDefinitionDto {
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班状态定义表记录ID",example="111522481")
|
||||||
|
private Long flifhtStatusDefRecId;//航班状态定义表记录ID
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班状态",example="023")
|
||||||
|
private String flightStatus;//航班状态(具体的属于某一状态类别的明细状态,如:气象延误、旅客延误等,其状态类别属于“延误/CNCL”)(航班状态的具体定义应依据ATC相关接口内容进行,此数据由开发方设定)
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班状态类别",example="DLY")
|
||||||
|
private String flightStatusType;//航班状态类别null-正常 DELY-延误 CNCL-取消 FDIV-备降 MERG-合并 GRTN-地返 OTHR-其他
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班状态描述说明",example="")
|
||||||
|
private String flightStatusDesc;//航班状态描述说明
|
||||||
|
|
||||||
|
@ApiModelProperty(value="数据记录可用标志",example="Enabled")
|
||||||
|
private String enableFlag;//数据记录可用标志Enabled ——数据记录可用 Disabled——数据记录不可用
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班延误代码",example="")
|
||||||
|
private String dcod;//航班延误代码
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班延误代码数字代号",example="")
|
||||||
|
private Long dcdn;//航班延误代码数字代号
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班延误描述eng",example="")
|
||||||
|
private String ddes;//航班延误描述eng
|
||||||
|
|
||||||
|
@ApiModelProperty(value="航班延误描述chn",example="")
|
||||||
|
private String ddsc;//航班延误描述chn
|
||||||
|
|
||||||
|
@ApiModelProperty(value="操作标识 1-使用 0-删除标识",example="1")
|
||||||
|
private Byte operate;//操作标识 1-使用 0-删除标识
|
||||||
|
|
||||||
|
public Long getFlifhtStatusDefRecId() {
|
||||||
|
return flifhtStatusDefRecId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlifhtStatusDefRecId(Long flifhtStatusDefRecId) {
|
||||||
|
this.flifhtStatusDefRecId = flifhtStatusDefRecId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFlightStatus() {
|
||||||
|
return flightStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlightStatus(String flightStatus) {
|
||||||
|
this.flightStatus = flightStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFlightStatusType() {
|
||||||
|
return flightStatusType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlightStatusType(String flightStatusType) {
|
||||||
|
this.flightStatusType = flightStatusType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFlightStatusDesc() {
|
||||||
|
return flightStatusDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFlightStatusDesc(String flightStatusDesc) {
|
||||||
|
this.flightStatusDesc = flightStatusDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEnableFlag() {
|
||||||
|
return enableFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEnableFlag(String enableFlag) {
|
||||||
|
this.enableFlag = enableFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDcod() {
|
||||||
|
return dcod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDcod(String dcod) {
|
||||||
|
this.dcod = dcod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getDcdn() {
|
||||||
|
return dcdn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDcdn(Long dcdn) {
|
||||||
|
this.dcdn = dcdn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDdes() {
|
||||||
|
return ddes;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDdes(String ddes) {
|
||||||
|
this.ddes = ddes;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDdsc() {
|
||||||
|
return ddsc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDdsc(String ddsc) {
|
||||||
|
this.ddsc = ddsc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Byte getOperate() {
|
||||||
|
return operate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOperate(Byte operate) {
|
||||||
|
this.operate = operate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
final int prime = 31;
|
||||||
|
int result = 1;
|
||||||
|
result = prime * result + ((dcdn == null) ? 0 : dcdn.hashCode());
|
||||||
|
result = prime * result + ((dcod == null) ? 0 : dcod.hashCode());
|
||||||
|
result = prime * result + ((ddes == null) ? 0 : ddes.hashCode());
|
||||||
|
result = prime * result + ((ddsc == null) ? 0 : ddsc.hashCode());
|
||||||
|
result = prime * result
|
||||||
|
+ ((enableFlag == null) ? 0 : enableFlag.hashCode());
|
||||||
|
result = prime
|
||||||
|
* result
|
||||||
|
+ ((flifhtStatusDefRecId == null) ? 0 : flifhtStatusDefRecId
|
||||||
|
.hashCode());
|
||||||
|
result = prime * result
|
||||||
|
+ ((flightStatus == null) ? 0 : flightStatus.hashCode());
|
||||||
|
result = prime
|
||||||
|
* result
|
||||||
|
+ ((flightStatusDesc == null) ? 0 : flightStatusDesc.hashCode());
|
||||||
|
result = prime
|
||||||
|
* result
|
||||||
|
+ ((flightStatusType == null) ? 0 : flightStatusType.hashCode());
|
||||||
|
result = prime * result + ((operate == null) ? 0 : operate.hashCode());
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
if (this == obj)
|
||||||
|
return true;
|
||||||
|
if (obj == null)
|
||||||
|
return false;
|
||||||
|
if (getClass() != obj.getClass())
|
||||||
|
return false;
|
||||||
|
FimsFlightStatusDefinitionDto other = (FimsFlightStatusDefinitionDto) obj;
|
||||||
|
if (dcdn == null) {
|
||||||
|
if (other.dcdn != null)
|
||||||
|
return false;
|
||||||
|
} else if (!dcdn.equals(other.dcdn))
|
||||||
|
return false;
|
||||||
|
if (dcod == null) {
|
||||||
|
if (other.dcod != null)
|
||||||
|
return false;
|
||||||
|
} else if (!dcod.equals(other.dcod))
|
||||||
|
return false;
|
||||||
|
if (ddes == null) {
|
||||||
|
if (other.ddes != null)
|
||||||
|
return false;
|
||||||
|
} else if (!ddes.equals(other.ddes))
|
||||||
|
return false;
|
||||||
|
if (ddsc == null) {
|
||||||
|
if (other.ddsc != null)
|
||||||
|
return false;
|
||||||
|
} else if (!ddsc.equals(other.ddsc))
|
||||||
|
return false;
|
||||||
|
if (enableFlag == null) {
|
||||||
|
if (other.enableFlag != null)
|
||||||
|
return false;
|
||||||
|
} else if (!enableFlag.equals(other.enableFlag))
|
||||||
|
return false;
|
||||||
|
if (flifhtStatusDefRecId == null) {
|
||||||
|
if (other.flifhtStatusDefRecId != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flifhtStatusDefRecId.equals(other.flifhtStatusDefRecId))
|
||||||
|
return false;
|
||||||
|
if (flightStatus == null) {
|
||||||
|
if (other.flightStatus != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flightStatus.equals(other.flightStatus))
|
||||||
|
return false;
|
||||||
|
if (flightStatusDesc == null) {
|
||||||
|
if (other.flightStatusDesc != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flightStatusDesc.equals(other.flightStatusDesc))
|
||||||
|
return false;
|
||||||
|
if (flightStatusType == null) {
|
||||||
|
if (other.flightStatusType != null)
|
||||||
|
return false;
|
||||||
|
} else if (!flightStatusType.equals(other.flightStatusType))
|
||||||
|
return false;
|
||||||
|
if (operate == null) {
|
||||||
|
if (other.operate != null)
|
||||||
|
return false;
|
||||||
|
} else if (!operate.equals(other.operate))
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "FlmsFlightStatusDefinition [flifhtStatusDefRecId="
|
||||||
|
+ flifhtStatusDefRecId + ", flightStatus=" + flightStatus
|
||||||
|
+ ", flightStatusType=" + flightStatusType
|
||||||
|
+ ", flightStatusDesc=" + flightStatusDesc + ", enableFlag="
|
||||||
|
+ enableFlag + ", dcod=" + dcod + ", dcdn=" + dcdn + ", ddes="
|
||||||
|
+ ddes + ", ddsc=" + ddsc + ", operate=" + operate + "]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
package com.gzzn.omms.adminapi.dto.basicdata.convert;
|
||||||
|
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
import com.gzzn.omms.adminapi.domain.secondary.entity.baiscdata.FimsFlightStatusDefinition;
|
||||||
|
import com.gzzn.omms.adminapi.dto.basicdata.FimsFlightStatusDefinitionDto;
|
||||||
|
|
||||||
|
@Mapper(componentModel="spring")
|
||||||
|
public interface FimsFlightStatusDefinitionConvert {
|
||||||
|
|
||||||
|
public FimsFlightStatusDefinitionDto fimsFlightStatusDefinitionToFimsFlightStatusDefinitionDto(FimsFlightStatusDefinition fimsFlightStatusDefinition);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user