mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
占桩订单表 实体类update
This commit is contained in:
@@ -662,4 +662,28 @@
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<select id="queryByOccupyCode" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from order_pile_occupy
|
||||
where del_flag = '0'
|
||||
and occupy_code = #{occupyCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="queryOccupyOrderList" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from order_pile_occupy
|
||||
where del_flag = '0'
|
||||
<if test="dto.memberId != null and dto.memberId != ''">
|
||||
and member_id = #{dto.memberId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.pileConnectorCode != null and dto.pileConnectorCode != ''">
|
||||
and pile_connector_code = #{dto.pileConnectorCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.pileSn != null and dto.pileSn != ''">
|
||||
and pile_sn = #{dto.pileSn,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user