update 调试联联接口

This commit is contained in:
Lemon
2023-04-14 16:50:49 +08:00
parent 8c970760c6
commit b5351dc70d
11 changed files with 166 additions and 33 deletions

View File

@@ -95,6 +95,8 @@ public class PileBasicInfo extends BaseEntity {
@Excel(name = "故障原因")
private String faultReason;
private Date createTime;
/**
* 删除标识0-正常1-删除)
*/
@@ -204,6 +206,19 @@ public class PileBasicInfo extends BaseEntity {
this.secretKey = secretKey;
}
public static long getSerialVersionUID() {
return serialVersionUID;
}
@Override
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)

View File

@@ -368,7 +368,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
t3.speed_type
</select>
<select id="getPileListByStationId" resultType="com.jsowell.pile.domain.PileBasicInfo">
<select id="getPileListByStationId" resultMap="PileBasicInfoResult">
select <include refid="Base_Column_List"/>
from pile_basic_info
where station_id = #{stationId,jdbcType=VARCHAR}

View File

@@ -223,7 +223,7 @@
<select id="getUniAppConnectorList" resultType="com.jsowell.pile.vo.base.ConnectorInfoVO">
SELECT
t1.pile_connector_code as connectorCode,
t1.pile_connector_code as pileConnectorCode,
t2.station_id as stationId,
t1.STATUS as connectorStatus,
t1.pile_sn,

View File

@@ -370,7 +370,7 @@
</select>
<select id="getStationInfoForLianLian" resultMap="PileStationInfoResult">
<include refid="selectPileStationInfoVo">
</include>
<include refid="selectPileStationInfoVo"/>
where public_flag = '1'
</select>
</mapper>