mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-14 20:30:04 +08:00
update 根据vinCode查询订单列表
This commit is contained in:
@@ -82,4 +82,7 @@ public class QueryOrderDTO extends BaseEntity {
|
|||||||
|
|
||||||
// 会员组编号
|
// 会员组编号
|
||||||
private String groupCode;
|
private String groupCode;
|
||||||
|
|
||||||
|
// 车辆vin编号
|
||||||
|
private String vinCode;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -356,6 +356,8 @@ public class MemberGroupServiceImpl implements MemberGroupService {
|
|||||||
@Override
|
@Override
|
||||||
public List<OrderListVO> queryConsumptionDetailListByVinCode(String groupCode, String vinCode) {
|
public List<OrderListVO> queryConsumptionDetailListByVinCode(String groupCode, String vinCode) {
|
||||||
QueryOrderDTO dto = new QueryOrderDTO();
|
QueryOrderDTO dto = new QueryOrderDTO();
|
||||||
|
dto.setGroupCode(groupCode);
|
||||||
|
dto.setVinCode(vinCode);
|
||||||
List<OrderListVO> orderListVOS = orderBasicInfoService.selectOrderBasicInfoList(dto);
|
List<OrderListVO> orderListVOS = orderBasicInfoService.selectOrderBasicInfoList(dto);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1699,6 +1699,9 @@
|
|||||||
<if test="groupCode != null and groupCode != ''">
|
<if test="groupCode != null and groupCode != ''">
|
||||||
and t1.group_code = #{groupCode,jdbcType=VARCHAR}
|
and t1.group_code = #{groupCode,jdbcType=VARCHAR}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="vinCode != null and vinCode != ''">
|
||||||
|
and t1.vin_code = #{vinCode,jdbcType=VARCHAR}
|
||||||
|
</if>
|
||||||
<if test="stationDeptIds != null and stationDeptIds.size() != 0">
|
<if test="stationDeptIds != null and stationDeptIds.size() != 0">
|
||||||
and t3.dept_id in
|
and t3.dept_id in
|
||||||
<foreach close=")" collection="stationDeptIds" item="stationDeptId" open="(" separator=",">
|
<foreach close=")" collection="stationDeptIds" item="stationDeptId" open="(" separator=",">
|
||||||
|
|||||||
Reference in New Issue
Block a user