mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-29 23:50:00 +08:00
新增占桩订单后管页面
This commit is contained in:
@@ -113,4 +113,13 @@ public interface OrderPileOccupyMapper {
|
||||
* @return
|
||||
*/
|
||||
OrderPileOccupy queryUnPayOrderByMemberId(String memberId);
|
||||
|
||||
|
||||
/**
|
||||
* 查询占桩订单列表
|
||||
*
|
||||
* @param orderPileOccupy 占桩订单
|
||||
* @return 占桩订单集合
|
||||
*/
|
||||
public List<OrderPileOccupy> selectOrderPileOccupyList(OrderPileOccupy orderPileOccupy);
|
||||
}
|
||||
@@ -37,6 +37,14 @@ public interface OrderPileOccupyService{
|
||||
|
||||
OrderPileOccupy queryByOccupyCode(String occupyCode);
|
||||
|
||||
/**
|
||||
* 查询占桩订单列表
|
||||
*
|
||||
* @param orderPileOccupy 占桩订单
|
||||
* @return 占桩订单集合
|
||||
*/
|
||||
public List<OrderPileOccupy> selectOrderPileOccupyList(OrderPileOccupy orderPileOccupy);
|
||||
|
||||
List<OrderPileOccupy> queryOccupyOrderList(QueryOccupyOrderDTO dto);
|
||||
|
||||
/**
|
||||
|
||||
@@ -139,6 +139,11 @@ public class OrderPileOccupyServiceImpl implements OrderPileOccupyService {
|
||||
return orderPileOccupyMapper.queryByOccupyCode(occupyCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<OrderPileOccupy> selectOrderPileOccupyList(OrderPileOccupy orderPileOccupy) {
|
||||
return orderPileOccupyMapper.selectOrderPileOccupyList(orderPileOccupy);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询占桩订单列表
|
||||
*
|
||||
|
||||
@@ -905,4 +905,25 @@
|
||||
order by create_time desc
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="selectOrderPileOccupyList" parameterType="com.jsowell.pile.domain.OrderPileOccupy" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from order_pile_occupy
|
||||
<where>
|
||||
<if test="occupyCode != null and occupyCode != ''"> and occupy_code = #{occupyCode}</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="memberId != null and memberId != ''"> and member_id = #{memberId}</if>
|
||||
<if test="stationId != null and stationId != ''"> and station_id = #{stationId}</if>
|
||||
<if test="orderCode != null and orderCode != ''"> and order_code = #{orderCode}</if>
|
||||
<if test="transactionCode != null and transactionCode != ''"> and transaction_code = #{transactionCode}</if>
|
||||
<if test="startTime != null "> and start_time = #{startTime}</if>
|
||||
<if test="endTime != null "> and end_time = #{endTime}</if>
|
||||
<if test="payStatus != null and payStatus != ''"> and pay_status = #{payStatus}</if>
|
||||
<if test="orderAmount != null "> and order_amount = #{orderAmount}</if>
|
||||
<if test="pileSn != null and pileSn != ''"> and pile_sn = #{pileSn}</if>
|
||||
<if test="connectorCode != null and connectorCode != ''"> and connector_code = #{connectorCode}</if>
|
||||
<if test="pileConnectorCode != null and pileConnectorCode != ''"> and pile_connector_code = #{pileConnectorCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user