parent
b7f4e0a1c9
commit
2d52984ba3
@ -0,0 +1,145 @@
|
||||
package com.hw.mes.api.domain;
|
||||
|
||||
import com.hw.common.core.annotation.Excel;
|
||||
import com.hw.common.core.web.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 工位信息对象 mes_base_station_info
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-01-26
|
||||
*/
|
||||
public class MesBaseStationInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键标识
|
||||
*/
|
||||
private Long stationId;
|
||||
|
||||
/**
|
||||
* 工位编号
|
||||
*/
|
||||
@Excel(name = "工位编号")
|
||||
private String stationCode;
|
||||
|
||||
/**
|
||||
* 工位名称
|
||||
*/
|
||||
@Excel(name = "工位名称")
|
||||
private String stationName;
|
||||
|
||||
/**
|
||||
* 所属工序编号
|
||||
*/
|
||||
@Excel(name = "所属工序编号")
|
||||
private Long processId;
|
||||
|
||||
/**
|
||||
* 所属工序名称
|
||||
*/
|
||||
@Excel(name = "所属工序名称")
|
||||
private String processName;
|
||||
|
||||
/**
|
||||
* 楼层
|
||||
*/
|
||||
@Excel(name = "楼层")
|
||||
private Long floor;
|
||||
|
||||
/**
|
||||
* 单位生产时间
|
||||
*/
|
||||
@Excel(name = "单位生产时间")
|
||||
private Long productionTime;
|
||||
|
||||
/**
|
||||
* 激活标识
|
||||
*/
|
||||
@Excel(name = "激活标识")
|
||||
private String activeFlag;
|
||||
|
||||
public String getProcessName() {
|
||||
return processName;
|
||||
}
|
||||
|
||||
public void setProcessName(String processName) {
|
||||
this.processName = processName;
|
||||
}
|
||||
|
||||
public void setStationId(Long stationId) {
|
||||
this.stationId = stationId;
|
||||
}
|
||||
|
||||
public Long getStationId() {
|
||||
return stationId;
|
||||
}
|
||||
|
||||
public void setStationCode(String stationCode) {
|
||||
this.stationCode = stationCode;
|
||||
}
|
||||
|
||||
public String getStationCode() {
|
||||
return stationCode;
|
||||
}
|
||||
|
||||
public void setStationName(String stationName) {
|
||||
this.stationName = stationName;
|
||||
}
|
||||
|
||||
public String getStationName() {
|
||||
return stationName;
|
||||
}
|
||||
|
||||
public void setProcessId(Long processId) {
|
||||
this.processId = processId;
|
||||
}
|
||||
|
||||
public Long getProcessId() {
|
||||
return processId;
|
||||
}
|
||||
|
||||
public void setFloor(Long floor) {
|
||||
this.floor = floor;
|
||||
}
|
||||
|
||||
public Long getFloor() {
|
||||
return floor;
|
||||
}
|
||||
|
||||
public void setProductionTime(Long productionTime) {
|
||||
this.productionTime = productionTime;
|
||||
}
|
||||
|
||||
public Long getProductionTime() {
|
||||
return productionTime;
|
||||
}
|
||||
|
||||
public void setActiveFlag(String activeFlag) {
|
||||
this.activeFlag = activeFlag;
|
||||
}
|
||||
|
||||
public String getActiveFlag() {
|
||||
return activeFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("stationId", getStationId())
|
||||
.append("stationCode", getStationCode())
|
||||
.append("stationName", getStationName())
|
||||
.append("processId", getProcessId())
|
||||
.append("floor", getFloor())
|
||||
.append("productionTime", getProductionTime())
|
||||
.append("activeFlag", getActiveFlag())
|
||||
.append("remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package com.hw.mes.controller;
|
||||
|
||||
import com.hw.common.core.web.controller.BaseController;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* MES产线接口Controller
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-01-30
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/pl")
|
||||
public class MesProductionLineController extends BaseController
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -1,145 +1,145 @@
|
||||
package com.hw.mes.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.hw.common.core.annotation.Excel;
|
||||
import com.hw.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 工位信息对象 mes_base_station_info
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-01-26
|
||||
*/
|
||||
public class MesBaseStationInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键标识
|
||||
*/
|
||||
private Long stationId;
|
||||
|
||||
/**
|
||||
* 工位编号
|
||||
*/
|
||||
@Excel(name = "工位编号")
|
||||
private String stationCode;
|
||||
|
||||
/**
|
||||
* 工位名称
|
||||
*/
|
||||
@Excel(name = "工位名称")
|
||||
private String stationName;
|
||||
|
||||
/**
|
||||
* 所属工序编号
|
||||
*/
|
||||
@Excel(name = "所属工序编号")
|
||||
private Long processId;
|
||||
|
||||
/**
|
||||
* 所属工序名称
|
||||
*/
|
||||
@Excel(name = "所属工序名称")
|
||||
private String processName;
|
||||
|
||||
/**
|
||||
* 楼层
|
||||
*/
|
||||
@Excel(name = "楼层")
|
||||
private Long floor;
|
||||
|
||||
/**
|
||||
* 单位生产时间
|
||||
*/
|
||||
@Excel(name = "单位生产时间")
|
||||
private Long productionTime;
|
||||
|
||||
/**
|
||||
* 激活标识
|
||||
*/
|
||||
@Excel(name = "激活标识")
|
||||
private String activeFlag;
|
||||
|
||||
public String getProcessName() {
|
||||
return processName;
|
||||
}
|
||||
|
||||
public void setProcessName(String processName) {
|
||||
this.processName = processName;
|
||||
}
|
||||
|
||||
public void setStationId(Long stationId) {
|
||||
this.stationId = stationId;
|
||||
}
|
||||
|
||||
public Long getStationId() {
|
||||
return stationId;
|
||||
}
|
||||
|
||||
public void setStationCode(String stationCode) {
|
||||
this.stationCode = stationCode;
|
||||
}
|
||||
|
||||
public String getStationCode() {
|
||||
return stationCode;
|
||||
}
|
||||
|
||||
public void setStationName(String stationName) {
|
||||
this.stationName = stationName;
|
||||
}
|
||||
|
||||
public String getStationName() {
|
||||
return stationName;
|
||||
}
|
||||
|
||||
public void setProcessId(Long processId) {
|
||||
this.processId = processId;
|
||||
}
|
||||
|
||||
public Long getProcessId() {
|
||||
return processId;
|
||||
}
|
||||
|
||||
public void setFloor(Long floor) {
|
||||
this.floor = floor;
|
||||
}
|
||||
|
||||
public Long getFloor() {
|
||||
return floor;
|
||||
}
|
||||
|
||||
public void setProductionTime(Long productionTime) {
|
||||
this.productionTime = productionTime;
|
||||
}
|
||||
|
||||
public Long getProductionTime() {
|
||||
return productionTime;
|
||||
}
|
||||
|
||||
public void setActiveFlag(String activeFlag) {
|
||||
this.activeFlag = activeFlag;
|
||||
}
|
||||
|
||||
public String getActiveFlag() {
|
||||
return activeFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("stationId", getStationId())
|
||||
.append("stationCode", getStationCode())
|
||||
.append("stationName", getStationName())
|
||||
.append("processId", getProcessId())
|
||||
.append("floor", getFloor())
|
||||
.append("productionTime", getProductionTime())
|
||||
.append("activeFlag", getActiveFlag())
|
||||
.append("remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
//package com.hw.mes.domain;
|
||||
//
|
||||
//import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
//import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
//import com.hw.common.core.annotation.Excel;
|
||||
//import com.hw.common.core.web.domain.BaseEntity;
|
||||
//
|
||||
///**
|
||||
// * 工位信息对象 mes_base_station_info
|
||||
// *
|
||||
// * @author Yinq
|
||||
// * @date 2024-01-26
|
||||
// */
|
||||
//public class MesBaseStationInfo extends BaseEntity {
|
||||
// private static final long serialVersionUID = 1L;
|
||||
//
|
||||
// /**
|
||||
// * 主键标识
|
||||
// */
|
||||
// private Long stationId;
|
||||
//
|
||||
// /**
|
||||
// * 工位编号
|
||||
// */
|
||||
// @Excel(name = "工位编号")
|
||||
// private String stationCode;
|
||||
//
|
||||
// /**
|
||||
// * 工位名称
|
||||
// */
|
||||
// @Excel(name = "工位名称")
|
||||
// private String stationName;
|
||||
//
|
||||
// /**
|
||||
// * 所属工序编号
|
||||
// */
|
||||
// @Excel(name = "所属工序编号")
|
||||
// private Long processId;
|
||||
//
|
||||
// /**
|
||||
// * 所属工序名称
|
||||
// */
|
||||
// @Excel(name = "所属工序名称")
|
||||
// private String processName;
|
||||
//
|
||||
// /**
|
||||
// * 楼层
|
||||
// */
|
||||
// @Excel(name = "楼层")
|
||||
// private Long floor;
|
||||
//
|
||||
// /**
|
||||
// * 单位生产时间
|
||||
// */
|
||||
// @Excel(name = "单位生产时间")
|
||||
// private Long productionTime;
|
||||
//
|
||||
// /**
|
||||
// * 激活标识
|
||||
// */
|
||||
// @Excel(name = "激活标识")
|
||||
// private String activeFlag;
|
||||
//
|
||||
// public String getProcessName() {
|
||||
// return processName;
|
||||
// }
|
||||
//
|
||||
// public void setProcessName(String processName) {
|
||||
// this.processName = processName;
|
||||
// }
|
||||
//
|
||||
// public void setStationId(Long stationId) {
|
||||
// this.stationId = stationId;
|
||||
// }
|
||||
//
|
||||
// public Long getStationId() {
|
||||
// return stationId;
|
||||
// }
|
||||
//
|
||||
// public void setStationCode(String stationCode) {
|
||||
// this.stationCode = stationCode;
|
||||
// }
|
||||
//
|
||||
// public String getStationCode() {
|
||||
// return stationCode;
|
||||
// }
|
||||
//
|
||||
// public void setStationName(String stationName) {
|
||||
// this.stationName = stationName;
|
||||
// }
|
||||
//
|
||||
// public String getStationName() {
|
||||
// return stationName;
|
||||
// }
|
||||
//
|
||||
// public void setProcessId(Long processId) {
|
||||
// this.processId = processId;
|
||||
// }
|
||||
//
|
||||
// public Long getProcessId() {
|
||||
// return processId;
|
||||
// }
|
||||
//
|
||||
// public void setFloor(Long floor) {
|
||||
// this.floor = floor;
|
||||
// }
|
||||
//
|
||||
// public Long getFloor() {
|
||||
// return floor;
|
||||
// }
|
||||
//
|
||||
// public void setProductionTime(Long productionTime) {
|
||||
// this.productionTime = productionTime;
|
||||
// }
|
||||
//
|
||||
// public Long getProductionTime() {
|
||||
// return productionTime;
|
||||
// }
|
||||
//
|
||||
// public void setActiveFlag(String activeFlag) {
|
||||
// this.activeFlag = activeFlag;
|
||||
// }
|
||||
//
|
||||
// public String getActiveFlag() {
|
||||
// return activeFlag;
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public String toString() {
|
||||
// return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
// .append("stationId", getStationId())
|
||||
// .append("stationCode", getStationCode())
|
||||
// .append("stationName", getStationName())
|
||||
// .append("processId", getProcessId())
|
||||
// .append("floor", getFloor())
|
||||
// .append("productionTime", getProductionTime())
|
||||
// .append("activeFlag", getActiveFlag())
|
||||
// .append("remark", getRemark())
|
||||
// .append("createBy", getCreateBy())
|
||||
// .append("createTime", getCreateTime())
|
||||
// .append("updateBy", getUpdateBy())
|
||||
// .append("updateTime", getUpdateTime())
|
||||
// .toString();
|
||||
// }
|
||||
//}
|
||||
|
Loading…
Reference in New Issue