update 根据vinCode查询订单列表

This commit is contained in:
2024-03-05 15:02:32 +08:00
parent 9e7d35d1df
commit e47749d15b
3 changed files with 8 additions and 0 deletions

View File

@@ -82,4 +82,7 @@ public class QueryOrderDTO extends BaseEntity {
// 会员组编号
private String groupCode;
// 车辆vin编号
private String vinCode;
}

View File

@@ -356,6 +356,8 @@ public class MemberGroupServiceImpl implements MemberGroupService {
@Override
public List<OrderListVO> queryConsumptionDetailListByVinCode(String groupCode, String vinCode) {
QueryOrderDTO dto = new QueryOrderDTO();
dto.setGroupCode(groupCode);
dto.setVinCode(vinCode);
List<OrderListVO> orderListVOS = orderBasicInfoService.selectOrderBasicInfoList(dto);
return null;
}

View File

@@ -1699,6 +1699,9 @@
<if test="groupCode != null and groupCode != ''">
and t1.group_code = #{groupCode,jdbcType=VARCHAR}
</if>
<if test="vinCode != null and vinCode != ''">
and t1.vin_code = #{vinCode,jdbcType=VARCHAR}
</if>
<if test="stationDeptIds != null and stationDeptIds.size() != 0">
and t3.dept_id in
<foreach close=")" collection="stationDeptIds" item="stationDeptId" open="(" separator=",">