diff --git a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/req/WxInstrumentSerialImportVm.java b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/req/WxInstrumentSerialImportVm.java new file mode 100644 index 0000000..6fdad33 --- /dev/null +++ b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/req/WxInstrumentSerialImportVm.java @@ -0,0 +1,61 @@ +package com.flossom.common.core.domain.req; + +import com.flossom.common.core.annotation.Excel; +import com.flossom.common.core.annotation.Excel.Type; + + +import java.util.Date; + +public class WxInstrumentSerialImportVm { + /** + * 仪器id + */ + @Excel(name = "仪器id",type = Type.IMPORT) + + private Long instrumentId; + + /** 来源 */ + @Excel(name = "来源",type = Type.IMPORT) + private String source; + + /** 序列号 */ + @Excel(name = "序列号",type = Type.IMPORT) + private String serial; + + /** 序列号有效状态,1有效,0无效 */ + @Excel(name = "有效状态",type = Type.IMPORT) + private String validStatus; + + + public String getSource() { + return source; + } + + public void setSource(String source) { + this.source = source; + } + + public String getSerial() { + return serial; + } + + public void setSerial(String serial) { + this.serial = serial; + } + + public String getValidStatus() { + return validStatus; + } + + public void setValidStatus(String validStatus) { + this.validStatus = validStatus; + } + + public Long getInstrumentId() { + return instrumentId; + } + + public void setInstrumentId(Long instrumentId) { + this.instrumentId = instrumentId; + } +} diff --git a/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml b/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml index 54d9a22..53dddc7 100644 --- a/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml +++ b/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml @@ -19,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, instrument_id, instrument_name, serial, binding_status, valid_status, status, create_by, create_time, remark from wx_instrument_serial + select id, source,instrument_id, instrument_name, serial, binding_status, valid_status, status, create_by, create_time, remark from wx_instrument_serial