add 查询充电桩报文列表方法

This commit is contained in:
bl\GQS02
2025-11-06 15:39:04 +08:00
parent 66ba4ce4a3
commit 7eb3b12013
3 changed files with 20 additions and 0 deletions

View File

@@ -152,4 +152,17 @@
</if>
order by create_time desc
</select>
<select id="queryPileFeedList" resultType="com.jsowell.pile.domain.PileMsgRecord">
select
<include refid="Base_Column_List" />
from pile_msg_record
where pile_sn = #{pileSn,jdbcType=VARCHAR}
<if test="frameType != null and frameType != ''">
and frame_type = #{frameType,jdbcType=VARCHAR}
</if>
<if test="transactionCode != null and transactionCode != ''" >
and transaction_code = #{transactionCode,jdbcType=VARCHAR}
</if>
</select>
</mapper>