@@ -76,6 +76,12 @@ public class BaseVehicle implements Serializable {
@Excel(name = "车载终端")
private String terminalName;
+ /**
+ * 挂载终端名称
+ */
+ @TableField(exist = false)
+ private String terminalCode;
+
/**
* 备注
*/
@@ -80,6 +80,7 @@ public class BaseVehicleServiceImpl extends ServiceImpl<BaseVehicleMapper, BaseV
BaseTerminal baseTerminal1 = baseTerminalMapper.selectOne(wrapperBaseTerminal);
if (!StringUtils.isEmptySunhh(baseTerminal1) && !StringUtils.isEmptySunhh(baseTerminal1.getTerminalName())) {
o.setTerminalName(baseTerminal1.getTerminalName());
+ o.setTerminalCode(baseTerminal1.getTerminalCode());
}
return o;