From 769a0609d546bba9c7f9c5dd7f37085feef4c124 Mon Sep 17 00:00:00 2001 From: 19173159168 Date: Thu, 24 Jul 2025 00:14:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ZcOrderMainController.java | 143 +++++++ .../controller/ZcOrderSubController.java | 127 ++++++ .../com/ruoyi/orders/domain/ZcOrderMain.java | 380 ++++++++++++++++++ .../com/ruoyi/orders/domain/ZcOrderSub.java | 184 +++++++++ .../orders/mapper/ZcOrderMainMapper.java | 87 ++++ .../ruoyi/orders/mapper/ZcOrderSubMapper.java | 61 +++ .../orders/service/IZcOrderMainService.java | 61 +++ .../orders/service/IZcOrderSubService.java | 61 +++ .../service/impl/ZcOrderMainServiceImpl.java | 135 +++++++ .../service/impl/ZcOrderSubServiceImpl.java | 97 +++++ .../mapper/orders/ZcOrderMainMapper.xml | 216 ++++++++++ .../mapper/orders/ZcOrderSubMapper.xml | 113 ++++++ .../resources/templates/orders/order/add.html | 360 +++++++++++++++++ .../templates/orders/order/edit.html | 343 ++++++++++++++++ .../templates/orders/order/order.html | 189 +++++++++ .../templates/orders/orderSub/add.html | 113 ++++++ .../templates/orders/orderSub/edit.html | 108 +++++ .../templates/orders/orderSub/orderSub.html | 151 +++++++ 18 files changed, 2929 insertions(+) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderMainController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderSubController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderMain.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderSub.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderMainMapper.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderSubMapper.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderMainService.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderSubService.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderMainServiceImpl.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderSubServiceImpl.java create mode 100644 ruoyi-admin/src/main/resources/mapper/orders/ZcOrderMainMapper.xml create mode 100644 ruoyi-admin/src/main/resources/mapper/orders/ZcOrderSubMapper.xml create mode 100644 ruoyi-admin/src/main/resources/templates/orders/order/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/orders/order/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/orders/order/order.html create mode 100644 ruoyi-admin/src/main/resources/templates/orders/orderSub/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/orders/orderSub/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/orders/orderSub/orderSub.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderMainController.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderMainController.java new file mode 100644 index 0000000..30de426 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderMainController.java @@ -0,0 +1,143 @@ +package com.ruoyi.orders.controller; + +import java.util.List; + +import com.ruoyi.common.constant.UserConstants; +import com.ruoyi.operation.domain.Company; +import com.ruoyi.operation.service.ICompanyService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.orders.domain.ZcOrderMain; +import com.ruoyi.orders.service.IZcOrderMainService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 租车订单Controller + * + * @author ruoyi + * @date 2025-07-19 + */ +@Controller +@RequestMapping("/orders/order") +public class ZcOrderMainController extends BaseController +{ + private String prefix = "orders/order"; + + @Autowired + private IZcOrderMainService zcOrderMainService; + @Autowired + private ICompanyService companyService; + + @RequiresPermissions("orders:order:view") + @GetMapping() + public String order(ModelMap mmap) + { + List companyList = companyService.getCompanyList(new Company(),getSysUser()); // 获取运营商列表 + mmap.put("companyList", companyList); // 将运营商列表传递到前端 + return prefix + "/order"; + } + + /** + * 查询租车订单列表 + */ + @RequiresPermissions("orders:order:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ZcOrderMain zcOrderMain) + { + startPage(); + // 运营者账号,只能查询所属商户数据 + if(UserConstants.USER_TYPE_02 .equals(getSysUser().getUserType())){ + zcOrderMain.setOperatorId(getSysUser().getGroupId()); + } + List list = zcOrderMainService.selectZcOrderMainList(zcOrderMain); + return getDataTable(list); + } + + /** + * 导出租车订单列表 + */ + @RequiresPermissions("orders:order:export") + @Log(title = "租车订单", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ZcOrderMain zcOrderMain) + { + // 运营者账号,只能查询所属商户数据 + if(UserConstants.USER_TYPE_02 .equals(getSysUser().getUserType())){ + zcOrderMain.setOperatorId(getSysUser().getGroupId()); + } + List list = zcOrderMainService.selectZcOrderMainList(zcOrderMain); + ExcelUtil util = new ExcelUtil(ZcOrderMain.class); + return util.exportExcel(list, "租车订单数据"); + } + + /** + * 新增租车订单 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存租车订单 + */ + @RequiresPermissions("orders:order:add") + @Log(title = "租车订单", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ZcOrderMain zcOrderMain) + { + return toAjax(zcOrderMainService.insertZcOrderMain(zcOrderMain)); + } + + /** + * 修改租车订单 + */ + @RequiresPermissions("orders:order:edit") + @GetMapping("/edit/{orderId}") + public String edit(@PathVariable("orderId") Long orderId, ModelMap mmap) + { + ZcOrderMain zcOrderMain = zcOrderMainService.selectZcOrderMainByOrderId(orderId); + mmap.put("zcOrderMain", zcOrderMain); + return prefix + "/edit"; + } + + /** + * 修改保存租车订单 + */ + @RequiresPermissions("orders:order:edit") + @Log(title = "租车订单", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ZcOrderMain zcOrderMain) + { + return toAjax(zcOrderMainService.updateZcOrderMain(zcOrderMain)); + } + + /** + * 删除租车订单 + */ + @RequiresPermissions("orders:order:remove") + @Log(title = "租车订单", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(zcOrderMainService.deleteZcOrderMainByOrderIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderSubController.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderSubController.java new file mode 100644 index 0000000..a9e6b30 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/controller/ZcOrderSubController.java @@ -0,0 +1,127 @@ +package com.ruoyi.orders.controller; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.orders.domain.ZcOrderSub; +import com.ruoyi.orders.service.IZcOrderSubService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 租车子订单Controller + * + * @author ruoyi + * @date 2025-07-19 + */ +@Controller +@RequestMapping("/orders/orderSub") +public class ZcOrderSubController extends BaseController +{ + private String prefix = "orders/orderSub"; + + @Autowired + private IZcOrderSubService zcOrderSubService; + + @RequiresPermissions("orders:orderSub:view") + @GetMapping() + public String orderSub() + { + return prefix + "/orderSub"; + } + + /** + * 查询租车子订单列表 + */ + @RequiresPermissions("orders:orderSub:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ZcOrderSub zcOrderSub) + { + startPage(); + List list = zcOrderSubService.selectZcOrderSubList(zcOrderSub); + return getDataTable(list); + } + + /** + * 导出租车子订单列表 + */ + @RequiresPermissions("orders:orderSub:export") + @Log(title = "租车子订单", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ZcOrderSub zcOrderSub) + { + List list = zcOrderSubService.selectZcOrderSubList(zcOrderSub); + ExcelUtil util = new ExcelUtil(ZcOrderSub.class); + return util.exportExcel(list, "租车子订单数据"); + } + + /** + * 新增租车子订单 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存租车子订单 + */ + @RequiresPermissions("orders:orderSub:add") + @Log(title = "租车子订单", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ZcOrderSub zcOrderSub) + { + return toAjax(zcOrderSubService.insertZcOrderSub(zcOrderSub)); + } + + /** + * 修改租车子订单 + */ + @RequiresPermissions("orders:orderSub:edit") + @GetMapping("/edit/{suborderId}") + public String edit(@PathVariable("suborderId") Long suborderId, ModelMap mmap) + { + ZcOrderSub zcOrderSub = zcOrderSubService.selectZcOrderSubBySuborderId(suborderId); + mmap.put("zcOrderSub", zcOrderSub); + return prefix + "/edit"; + } + + /** + * 修改保存租车子订单 + */ + @RequiresPermissions("orders:orderSub:edit") + @Log(title = "租车子订单", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ZcOrderSub zcOrderSub) + { + return toAjax(zcOrderSubService.updateZcOrderSub(zcOrderSub)); + } + + /** + * 删除租车子订单 + */ + @RequiresPermissions("orders:orderSub:remove") + @Log(title = "租车子订单", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(zcOrderSubService.deleteZcOrderSubBySuborderIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderMain.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderMain.java new file mode 100644 index 0000000..d4b6402 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderMain.java @@ -0,0 +1,380 @@ +package com.ruoyi.orders.domain; + +import java.math.BigDecimal; +import java.util.List; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 租车订单对象 zc_order_main + * + * @author ruoyi + * @date 2025-07-19 + */ +public class ZcOrderMain extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 订单ID(主键) */ + private Long orderId; + + /** 订单编号 */ + @Excel(name = "订单编号") + private String orderNo; + + /** 订单状态:下单未提车、租赁中、已结束-自动、已结束-手动 */ + @Excel(name = "订单状态:下单未提车、租赁中、已结束-自动、已结束-手动") + private String orderStatus; + + /** 所属运营商ID */ + @Excel(name = "所属运营商ID") + private Long operatorId; + + /** 所属门店ID */ + @Excel(name = "所属门店ID") + private Long storeId; + + /** 车辆ID */ + @Excel(name = "车辆ID") + private Long vehicleId; + + /** 客户id */ + @Excel(name = "客户id") + private Long customerId; + + /** 客户姓名 */ + @Excel(name = "客户姓名") + private String customerName; + + /** 客户联系电话 */ + @Excel(name = "客户联系电话") + private String customerPhone; + + /** 租赁类型(时租/日租/按天数/以租代售) */ + @Excel(name = "租赁类型(时租/日租/按天数/以租代售)") + private String rentalType; + + /** 租赁天数(当类型为"按天数"时使用) */ + @Excel(name = "租赁天数") + private Long rentalDays; + + /** 租车价格(元) */ + @Excel(name = "租车价格(元)") + private BigDecimal rentalPrice; + + /** 押金价格(元) */ + @Excel(name = "押金价格(元)") + private BigDecimal depositPrice; + + /** 逾期金额(元) */ + @Excel(name = "逾期金额(元)") + private BigDecimal overdueFee; + + /** 是否开通免押 */ + @Excel(name = "是否开通免押") + private Integer isDepositFree; + + /** 是否开通代扣 */ + @Excel(name = "是否开通代扣") + private Integer isAutoDeduct; + + /** 首次下单时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "首次下单时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date firstOrderTime; + + /** 开始计费时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "开始计费时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date startRentTime; + + /** 逾期天数 */ + @Excel(name = "逾期天数") + private Long overdueDays; + + /** 续租次数 */ + @Excel(name = "续租次数") + private Long renewalTimes; + + /** 充电次数 */ + @Excel(name = "充电次数") + private Long chargeTimes; + + /** 租车套餐id */ + @Excel(name = "租车套餐id") + private Long rentCarRuleId; + + /** 租电套餐id */ + @Excel(name = "租电套餐id") + private Long rentBatteyRuleId; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + /** 租车子订单信息 */ + private List zcOrderSubList; + + public void setOrderId(Long orderId) + { + this.orderId = orderId; + } + + public Long getOrderId() + { + return orderId; + } + public void setOrderNo(String orderNo) + { + this.orderNo = orderNo; + } + + public String getOrderNo() + { + return orderNo; + } + public void setOrderStatus(String orderStatus) + { + this.orderStatus = orderStatus; + } + + public String getOrderStatus() + { + return orderStatus; + } + public void setOperatorId(Long operatorId) + { + this.operatorId = operatorId; + } + + public Long getOperatorId() + { + return operatorId; + } + public void setStoreId(Long storeId) + { + this.storeId = storeId; + } + + public Long getStoreId() + { + return storeId; + } + public void setVehicleId(Long vehicleId) + { + this.vehicleId = vehicleId; + } + + public Long getVehicleId() + { + return vehicleId; + } + public void setCustomerId(Long customerId) + { + this.customerId = customerId; + } + + public Long getCustomerId() + { + return customerId; + } + public void setCustomerName(String customerName) + { + this.customerName = customerName; + } + + public String getCustomerName() + { + return customerName; + } + public void setCustomerPhone(String customerPhone) + { + this.customerPhone = customerPhone; + } + + public String getCustomerPhone() + { + return customerPhone; + } + public void setRentalType(String rentalType) + { + this.rentalType = rentalType; + } + + public String getRentalType() + { + return rentalType; + } + public void setRentalDays(Long rentalDays) + { + this.rentalDays = rentalDays; + } + + public Long getRentalDays() + { + return rentalDays; + } + public void setRentalPrice(BigDecimal rentalPrice) + { + this.rentalPrice = rentalPrice; + } + + public BigDecimal getRentalPrice() + { + return rentalPrice; + } + public void setDepositPrice(BigDecimal depositPrice) + { + this.depositPrice = depositPrice; + } + + public BigDecimal getDepositPrice() + { + return depositPrice; + } + public void setOverdueFee(BigDecimal overdueFee) + { + this.overdueFee = overdueFee; + } + + public BigDecimal getOverdueFee() + { + return overdueFee; + } + public void setIsDepositFree(Integer isDepositFree) + { + this.isDepositFree = isDepositFree; + } + + public Integer getIsDepositFree() + { + return isDepositFree; + } + public void setIsAutoDeduct(Integer isAutoDeduct) + { + this.isAutoDeduct = isAutoDeduct; + } + + public Integer getIsAutoDeduct() + { + return isAutoDeduct; + } + public void setFirstOrderTime(Date firstOrderTime) + { + this.firstOrderTime = firstOrderTime; + } + + public Date getFirstOrderTime() + { + return firstOrderTime; + } + public void setStartRentTime(Date startRentTime) + { + this.startRentTime = startRentTime; + } + + public Date getStartRentTime() + { + return startRentTime; + } + public void setOverdueDays(Long overdueDays) + { + this.overdueDays = overdueDays; + } + + public Long getOverdueDays() + { + return overdueDays; + } + public void setRenewalTimes(Long renewalTimes) + { + this.renewalTimes = renewalTimes; + } + + public Long getRenewalTimes() + { + return renewalTimes; + } + public void setChargeTimes(Long chargeTimes) + { + this.chargeTimes = chargeTimes; + } + + public Long getChargeTimes() + { + return chargeTimes; + } + public void setRentCarRuleId(Long rentCarRuleId) + { + this.rentCarRuleId = rentCarRuleId; + } + + public Long getRentCarRuleId() + { + return rentCarRuleId; + } + public void setRentBatteyRuleId(Long rentBatteyRuleId) + { + this.rentBatteyRuleId = rentBatteyRuleId; + } + + public Long getRentBatteyRuleId() + { + return rentBatteyRuleId; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + public List getZcOrderSubList() + { + return zcOrderSubList; + } + + public void setZcOrderSubList(List zcOrderSubList) + { + this.zcOrderSubList = zcOrderSubList; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("orderId", getOrderId()) + .append("orderNo", getOrderNo()) + .append("orderStatus", getOrderStatus()) + .append("operatorId", getOperatorId()) + .append("storeId", getStoreId()) + .append("vehicleId", getVehicleId()) + .append("customerId", getCustomerId()) + .append("customerName", getCustomerName()) + .append("customerPhone", getCustomerPhone()) + .append("rentalType", getRentalType()) + .append("rentalDays", getRentalDays()) + .append("rentalPrice", getRentalPrice()) + .append("depositPrice", getDepositPrice()) + .append("overdueFee", getOverdueFee()) + .append("isDepositFree", getIsDepositFree()) + .append("isAutoDeduct", getIsAutoDeduct()) + .append("firstOrderTime", getFirstOrderTime()) + .append("startRentTime", getStartRentTime()) + .append("overdueDays", getOverdueDays()) + .append("renewalTimes", getRenewalTimes()) + .append("chargeTimes", getChargeTimes()) + .append("rentCarRuleId", getRentCarRuleId()) + .append("rentBatteyRuleId", getRentBatteyRuleId()) + .append("delFlag", getDelFlag()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .append("zcOrderSubList", getZcOrderSubList()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderSub.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderSub.java new file mode 100644 index 0000000..c3555d6 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/domain/ZcOrderSub.java @@ -0,0 +1,184 @@ +package com.ruoyi.orders.domain; + +import java.math.BigDecimal; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 租车子订单对象 zc_order_sub + * + * @author ruoyi + * @date 2025-07-19 + */ +public class ZcOrderSub extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 子订单ID(主键) */ + private Long suborderId; + + /** 关联的订单ID(外键) */ + @Excel(name = "关联的订单ID", readConverterExp = "外=键") + private Long orderId; + + /** 子订单编号 */ + @Excel(name = "子订单编号") + private String suborderNo; + + /** 子订单类型(首租、续租、逾期、押金、租电等) */ + @Excel(name = "子订单类型", readConverterExp = "首=租、续租、逾期、押金、租电等") + private String suborderType; + + /** 订单金额 */ + @Excel(name = "订单金额") + private BigDecimal amount; + + /** 支付方式 */ + @Excel(name = "支付方式") + private String paymentMethod; + + /** 车架/电池编号 */ + @Excel(name = "车架/电池编号") + private String vinBatteryNo; + + /** 订单产生时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "订单产生时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date createdAt; + + /** 支付ID */ + @Excel(name = "支付ID") + private String paymentId; + + /** 实际支付时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "实际支付时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date paidAt; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setSuborderId(Long suborderId) + { + this.suborderId = suborderId; + } + + public Long getSuborderId() + { + return suborderId; + } + public void setOrderId(Long orderId) + { + this.orderId = orderId; + } + + public Long getOrderId() + { + return orderId; + } + public void setSuborderNo(String suborderNo) + { + this.suborderNo = suborderNo; + } + + public String getSuborderNo() + { + return suborderNo; + } + public void setSuborderType(String suborderType) + { + this.suborderType = suborderType; + } + + public String getSuborderType() + { + return suborderType; + } + public void setAmount(BigDecimal amount) + { + this.amount = amount; + } + + public BigDecimal getAmount() + { + return amount; + } + public void setPaymentMethod(String paymentMethod) + { + this.paymentMethod = paymentMethod; + } + + public String getPaymentMethod() + { + return paymentMethod; + } + public void setVinBatteryNo(String vinBatteryNo) + { + this.vinBatteryNo = vinBatteryNo; + } + + public String getVinBatteryNo() + { + return vinBatteryNo; + } + public void setCreatedAt(Date createdAt) + { + this.createdAt = createdAt; + } + + public Date getCreatedAt() + { + return createdAt; + } + public void setPaymentId(String paymentId) + { + this.paymentId = paymentId; + } + + public String getPaymentId() + { + return paymentId; + } + public void setPaidAt(Date paidAt) + { + this.paidAt = paidAt; + } + + public Date getPaidAt() + { + return paidAt; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("suborderId", getSuborderId()) + .append("orderId", getOrderId()) + .append("suborderNo", getSuborderNo()) + .append("suborderType", getSuborderType()) + .append("amount", getAmount()) + .append("paymentMethod", getPaymentMethod()) + .append("vinBatteryNo", getVinBatteryNo()) + .append("createdAt", getCreatedAt()) + .append("paymentId", getPaymentId()) + .append("paidAt", getPaidAt()) + .append("remark", getRemark()) + .append("delFlag", getDelFlag()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderMainMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderMainMapper.java new file mode 100644 index 0000000..af6940a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderMainMapper.java @@ -0,0 +1,87 @@ +package com.ruoyi.orders.mapper; + +import java.util.List; +import com.ruoyi.orders.domain.ZcOrderMain; +import com.ruoyi.orders.domain.ZcOrderSub; + +/** + * 租车订单Mapper接口 + * + * @author ruoyi + * @date 2025-07-19 + */ +public interface ZcOrderMainMapper +{ + /** + * 查询租车订单 + * + * @param orderId 租车订单主键 + * @return 租车订单 + */ + public ZcOrderMain selectZcOrderMainByOrderId(Long orderId); + + /** + * 查询租车订单列表 + * + * @param zcOrderMain 租车订单 + * @return 租车订单集合 + */ + public List selectZcOrderMainList(ZcOrderMain zcOrderMain); + + /** + * 新增租车订单 + * + * @param zcOrderMain 租车订单 + * @return 结果 + */ + public int insertZcOrderMain(ZcOrderMain zcOrderMain); + + /** + * 修改租车订单 + * + * @param zcOrderMain 租车订单 + * @return 结果 + */ + public int updateZcOrderMain(ZcOrderMain zcOrderMain); + + /** + * 删除租车订单 + * + * @param orderId 租车订单主键 + * @return 结果 + */ + public int deleteZcOrderMainByOrderId(Long orderId); + + /** + * 批量删除租车订单 + * + * @param orderIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteZcOrderMainByOrderIds(String[] orderIds); + + /** + * 批量删除租车子订单 + * + * @param orderIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteZcOrderSubByOrderIds(String[] orderIds); + + /** + * 批量新增租车子订单 + * + * @param zcOrderSubList 租车子订单列表 + * @return 结果 + */ + public int batchZcOrderSub(List zcOrderSubList); + + + /** + * 通过租车订单主键删除租车子订单信息 + * + * @param orderId 租车订单ID + * @return 结果 + */ + public int deleteZcOrderSubByOrderId(Long orderId); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderSubMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderSubMapper.java new file mode 100644 index 0000000..e4f751a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/mapper/ZcOrderSubMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.orders.mapper; + +import java.util.List; +import com.ruoyi.orders.domain.ZcOrderSub; + +/** + * 租车子订单Mapper接口 + * + * @author ruoyi + * @date 2025-07-19 + */ +public interface ZcOrderSubMapper +{ + /** + * 查询租车子订单 + * + * @param suborderId 租车子订单主键 + * @return 租车子订单 + */ + public ZcOrderSub selectZcOrderSubBySuborderId(Long suborderId); + + /** + * 查询租车子订单列表 + * + * @param zcOrderSub 租车子订单 + * @return 租车子订单集合 + */ + public List selectZcOrderSubList(ZcOrderSub zcOrderSub); + + /** + * 新增租车子订单 + * + * @param zcOrderSub 租车子订单 + * @return 结果 + */ + public int insertZcOrderSub(ZcOrderSub zcOrderSub); + + /** + * 修改租车子订单 + * + * @param zcOrderSub 租车子订单 + * @return 结果 + */ + public int updateZcOrderSub(ZcOrderSub zcOrderSub); + + /** + * 删除租车子订单 + * + * @param suborderId 租车子订单主键 + * @return 结果 + */ + public int deleteZcOrderSubBySuborderId(Long suborderId); + + /** + * 批量删除租车子订单 + * + * @param suborderIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteZcOrderSubBySuborderIds(String[] suborderIds); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderMainService.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderMainService.java new file mode 100644 index 0000000..3a8eb8f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderMainService.java @@ -0,0 +1,61 @@ +package com.ruoyi.orders.service; + +import java.util.List; +import com.ruoyi.orders.domain.ZcOrderMain; + +/** + * 租车订单Service接口 + * + * @author ruoyi + * @date 2025-07-19 + */ +public interface IZcOrderMainService +{ + /** + * 查询租车订单 + * + * @param orderId 租车订单主键 + * @return 租车订单 + */ + public ZcOrderMain selectZcOrderMainByOrderId(Long orderId); + + /** + * 查询租车订单列表 + * + * @param zcOrderMain 租车订单 + * @return 租车订单集合 + */ + public List selectZcOrderMainList(ZcOrderMain zcOrderMain); + + /** + * 新增租车订单 + * + * @param zcOrderMain 租车订单 + * @return 结果 + */ + public int insertZcOrderMain(ZcOrderMain zcOrderMain); + + /** + * 修改租车订单 + * + * @param zcOrderMain 租车订单 + * @return 结果 + */ + public int updateZcOrderMain(ZcOrderMain zcOrderMain); + + /** + * 批量删除租车订单 + * + * @param orderIds 需要删除的租车订单主键集合 + * @return 结果 + */ + public int deleteZcOrderMainByOrderIds(String orderIds); + + /** + * 删除租车订单信息 + * + * @param orderId 租车订单主键 + * @return 结果 + */ + public int deleteZcOrderMainByOrderId(Long orderId); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderSubService.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderSubService.java new file mode 100644 index 0000000..55b6407 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/IZcOrderSubService.java @@ -0,0 +1,61 @@ +package com.ruoyi.orders.service; + +import java.util.List; +import com.ruoyi.orders.domain.ZcOrderSub; + +/** + * 租车子订单Service接口 + * + * @author ruoyi + * @date 2025-07-19 + */ +public interface IZcOrderSubService +{ + /** + * 查询租车子订单 + * + * @param suborderId 租车子订单主键 + * @return 租车子订单 + */ + public ZcOrderSub selectZcOrderSubBySuborderId(Long suborderId); + + /** + * 查询租车子订单列表 + * + * @param zcOrderSub 租车子订单 + * @return 租车子订单集合 + */ + public List selectZcOrderSubList(ZcOrderSub zcOrderSub); + + /** + * 新增租车子订单 + * + * @param zcOrderSub 租车子订单 + * @return 结果 + */ + public int insertZcOrderSub(ZcOrderSub zcOrderSub); + + /** + * 修改租车子订单 + * + * @param zcOrderSub 租车子订单 + * @return 结果 + */ + public int updateZcOrderSub(ZcOrderSub zcOrderSub); + + /** + * 批量删除租车子订单 + * + * @param suborderIds 需要删除的租车子订单主键集合 + * @return 结果 + */ + public int deleteZcOrderSubBySuborderIds(String suborderIds); + + /** + * 删除租车子订单信息 + * + * @param suborderId 租车子订单主键 + * @return 结果 + */ + public int deleteZcOrderSubBySuborderId(Long suborderId); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderMainServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderMainServiceImpl.java new file mode 100644 index 0000000..695b775 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderMainServiceImpl.java @@ -0,0 +1,135 @@ +package com.ruoyi.orders.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import java.util.ArrayList; +import com.ruoyi.common.utils.StringUtils; +import org.springframework.transaction.annotation.Transactional; +import com.ruoyi.orders.domain.ZcOrderSub; +import com.ruoyi.orders.mapper.ZcOrderMainMapper; +import com.ruoyi.orders.domain.ZcOrderMain; +import com.ruoyi.orders.service.IZcOrderMainService; +import com.ruoyi.common.core.text.Convert; + +/** + * 租车订单Service业务层处理 + * + * @author ruoyi + * @date 2025-07-19 + */ +@Service +public class ZcOrderMainServiceImpl implements IZcOrderMainService +{ + @Autowired + private ZcOrderMainMapper zcOrderMainMapper; + + /** + * 查询租车订单 + * + * @param orderId 租车订单主键 + * @return 租车订单 + */ + @Override + public ZcOrderMain selectZcOrderMainByOrderId(Long orderId) + { + return zcOrderMainMapper.selectZcOrderMainByOrderId(orderId); + } + + /** + * 查询租车订单列表 + * + * @param zcOrderMain 租车订单 + * @return 租车订单 + */ + @Override + public List selectZcOrderMainList(ZcOrderMain zcOrderMain) + { + return zcOrderMainMapper.selectZcOrderMainList(zcOrderMain); + } + + /** + * 新增租车订单 + * + * @param zcOrderMain 租车订单 + * @return 结果 + */ + @Transactional + @Override + public int insertZcOrderMain(ZcOrderMain zcOrderMain) + { + zcOrderMain.setCreateTime(DateUtils.getNowDate()); + int rows = zcOrderMainMapper.insertZcOrderMain(zcOrderMain); + insertZcOrderSub(zcOrderMain); + return rows; + } + + /** + * 修改租车订单 + * + * @param zcOrderMain 租车订单 + * @return 结果 + */ + @Transactional + @Override + public int updateZcOrderMain(ZcOrderMain zcOrderMain) + { + zcOrderMain.setUpdateTime(DateUtils.getNowDate()); + zcOrderMainMapper.deleteZcOrderSubByOrderId(zcOrderMain.getOrderId()); + insertZcOrderSub(zcOrderMain); + return zcOrderMainMapper.updateZcOrderMain(zcOrderMain); + } + + /** + * 批量删除租车订单 + * + * @param orderIds 需要删除的租车订单主键 + * @return 结果 + */ + @Transactional + @Override + public int deleteZcOrderMainByOrderIds(String orderIds) + { + zcOrderMainMapper.deleteZcOrderSubByOrderIds(Convert.toStrArray(orderIds)); + return zcOrderMainMapper.deleteZcOrderMainByOrderIds(Convert.toStrArray(orderIds)); + } + + /** + * 删除租车订单信息 + * + * @param orderId 租车订单主键 + * @return 结果 + */ + @Transactional + @Override + public int deleteZcOrderMainByOrderId(Long orderId) + { + zcOrderMainMapper.deleteZcOrderSubByOrderId(orderId); + return zcOrderMainMapper.deleteZcOrderMainByOrderId(orderId); + } + + /** + * 新增租车子订单信息 + * + * @param zcOrderMain 租车订单对象 + */ + public void insertZcOrderSub(ZcOrderMain zcOrderMain) + { + List zcOrderSubList = zcOrderMain.getZcOrderSubList(); + Long orderId = zcOrderMain.getOrderId(); + if (StringUtils.isNotNull(zcOrderSubList)) + { + List list = new ArrayList(); + for (ZcOrderSub zcOrderSub : zcOrderSubList) + { + zcOrderSub.setOrderId(orderId); + list.add(zcOrderSub); + } + if (list.size() > 0) + { + zcOrderMainMapper.batchZcOrderSub(list); + } + } + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderSubServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderSubServiceImpl.java new file mode 100644 index 0000000..2ebb9f6 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/orders/service/impl/ZcOrderSubServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.orders.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.orders.mapper.ZcOrderSubMapper; +import com.ruoyi.orders.domain.ZcOrderSub; +import com.ruoyi.orders.service.IZcOrderSubService; +import com.ruoyi.common.core.text.Convert; + +/** + * 租车子订单Service业务层处理 + * + * @author ruoyi + * @date 2025-07-19 + */ +@Service +public class ZcOrderSubServiceImpl implements IZcOrderSubService +{ + @Autowired + private ZcOrderSubMapper zcOrderSubMapper; + + /** + * 查询租车子订单 + * + * @param suborderId 租车子订单主键 + * @return 租车子订单 + */ + @Override + public ZcOrderSub selectZcOrderSubBySuborderId(Long suborderId) + { + return zcOrderSubMapper.selectZcOrderSubBySuborderId(suborderId); + } + + /** + * 查询租车子订单列表 + * + * @param zcOrderSub 租车子订单 + * @return 租车子订单 + */ + @Override + public List selectZcOrderSubList(ZcOrderSub zcOrderSub) + { + return zcOrderSubMapper.selectZcOrderSubList(zcOrderSub); + } + + /** + * 新增租车子订单 + * + * @param zcOrderSub 租车子订单 + * @return 结果 + */ + @Override + public int insertZcOrderSub(ZcOrderSub zcOrderSub) + { + zcOrderSub.setCreateTime(DateUtils.getNowDate()); + return zcOrderSubMapper.insertZcOrderSub(zcOrderSub); + } + + /** + * 修改租车子订单 + * + * @param zcOrderSub 租车子订单 + * @return 结果 + */ + @Override + public int updateZcOrderSub(ZcOrderSub zcOrderSub) + { + zcOrderSub.setUpdateTime(DateUtils.getNowDate()); + return zcOrderSubMapper.updateZcOrderSub(zcOrderSub); + } + + /** + * 批量删除租车子订单 + * + * @param suborderIds 需要删除的租车子订单主键 + * @return 结果 + */ + @Override + public int deleteZcOrderSubBySuborderIds(String suborderIds) + { + return zcOrderSubMapper.deleteZcOrderSubBySuborderIds(Convert.toStrArray(suborderIds)); + } + + /** + * 删除租车子订单信息 + * + * @param suborderId 租车子订单主键 + * @return 结果 + */ + @Override + public int deleteZcOrderSubBySuborderId(Long suborderId) + { + return zcOrderSubMapper.deleteZcOrderSubBySuborderId(suborderId); + } +} diff --git a/ruoyi-admin/src/main/resources/mapper/orders/ZcOrderMainMapper.xml b/ruoyi-admin/src/main/resources/mapper/orders/ZcOrderMainMapper.xml new file mode 100644 index 0000000..7a6980c --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/orders/ZcOrderMainMapper.xml @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select order_id, order_no, order_status, operator_id, store_id, vehicle_id, customer_id, customer_name, customer_phone, rental_type, rental_days, rental_price, deposit_price, overdue_fee, is_deposit_free, is_auto_deduct, first_order_time, start_rent_time, overdue_days, renewal_times, charge_times, rent_car_rule_id, rent_battey_rule_id, del_flag, create_time, update_time from zc_order_main + + + + + + + + insert into zc_order_main + + order_no, + order_status, + operator_id, + store_id, + vehicle_id, + customer_id, + customer_name, + customer_phone, + rental_type, + rental_days, + rental_price, + deposit_price, + overdue_fee, + is_deposit_free, + is_auto_deduct, + first_order_time, + start_rent_time, + overdue_days, + renewal_times, + charge_times, + rent_car_rule_id, + rent_battey_rule_id, + del_flag, + create_time, + update_time, + + + #{orderNo}, + #{orderStatus}, + #{operatorId}, + #{storeId}, + #{vehicleId}, + #{customerId}, + #{customerName}, + #{customerPhone}, + #{rentalType}, + #{rentalDays}, + #{rentalPrice}, + #{depositPrice}, + #{overdueFee}, + #{isDepositFree}, + #{isAutoDeduct}, + #{firstOrderTime}, + #{startRentTime}, + #{overdueDays}, + #{renewalTimes}, + #{chargeTimes}, + #{rentCarRuleId}, + #{rentBatteyRuleId}, + #{delFlag}, + #{createTime}, + #{updateTime}, + + + + + update zc_order_main + + order_no = #{orderNo}, + order_status = #{orderStatus}, + operator_id = #{operatorId}, + store_id = #{storeId}, + vehicle_id = #{vehicleId}, + customer_id = #{customerId}, + customer_name = #{customerName}, + customer_phone = #{customerPhone}, + rental_type = #{rentalType}, + rental_days = #{rentalDays}, + rental_price = #{rentalPrice}, + deposit_price = #{depositPrice}, + overdue_fee = #{overdueFee}, + is_deposit_free = #{isDepositFree}, + is_auto_deduct = #{isAutoDeduct}, + first_order_time = #{firstOrderTime}, + start_rent_time = #{startRentTime}, + overdue_days = #{overdueDays}, + renewal_times = #{renewalTimes}, + charge_times = #{chargeTimes}, + rent_car_rule_id = #{rentCarRuleId}, + rent_battey_rule_id = #{rentBatteyRuleId}, + del_flag = #{delFlag}, + create_time = #{createTime}, + update_time = #{updateTime}, + + where order_id = #{orderId} + + + + delete from zc_order_main where order_id = #{orderId} + + + + delete from zc_order_main where order_id in + + #{orderId} + + + + + delete from zc_order_sub where order_id in + + #{orderId} + + + + + delete from zc_order_sub where order_id = #{orderId} + + + + insert into zc_order_sub( suborder_id, order_id, suborder_no, suborder_type, amount, payment_method, vin_battery_no, created_at, payment_id, paid_at, remark, del_flag, create_time, update_time) values + + ( #{item.suborderId}, #{item.orderId}, #{item.suborderNo}, #{item.suborderType}, #{item.amount}, #{item.paymentMethod}, #{item.vinBatteryNo}, #{item.createdAt}, #{item.paymentId}, #{item.paidAt}, #{item.remark}, #{item.delFlag}, #{item.createTime}, #{item.updateTime}) + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/orders/ZcOrderSubMapper.xml b/ruoyi-admin/src/main/resources/mapper/orders/ZcOrderSubMapper.xml new file mode 100644 index 0000000..a3938b9 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/orders/ZcOrderSubMapper.xml @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + select suborder_id, order_id, suborder_no, suborder_type, amount, payment_method, vin_battery_no, created_at, payment_id, paid_at, remark, del_flag, create_time, update_time from zc_order_sub + + + + + + + + insert into zc_order_sub + + order_id, + suborder_no, + suborder_type, + amount, + payment_method, + vin_battery_no, + created_at, + payment_id, + paid_at, + remark, + del_flag, + create_time, + update_time, + + + #{orderId}, + #{suborderNo}, + #{suborderType}, + #{amount}, + #{paymentMethod}, + #{vinBatteryNo}, + #{createdAt}, + #{paymentId}, + #{paidAt}, + #{remark}, + #{delFlag}, + #{createTime}, + #{updateTime}, + + + + + update zc_order_sub + + order_id = #{orderId}, + suborder_no = #{suborderNo}, + suborder_type = #{suborderType}, + amount = #{amount}, + payment_method = #{paymentMethod}, + vin_battery_no = #{vinBatteryNo}, + created_at = #{createdAt}, + payment_id = #{paymentId}, + paid_at = #{paidAt}, + remark = #{remark}, + del_flag = #{delFlag}, + create_time = #{createTime}, + update_time = #{updateTime}, + + where suborder_id = #{suborderId} + + + + delete from zc_order_sub where suborder_id = #{suborderId} + + + + delete from zc_order_sub where suborder_id in + + #{suborderId} + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/orders/order/add.html b/ruoyi-admin/src/main/resources/templates/orders/order/add.html new file mode 100644 index 0000000..11f2f87 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/orders/order/add.html @@ -0,0 +1,360 @@ + + + + + + + +
+
+

租车订单信息

+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+

租车子订单信息

+
+
+ + +
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/orders/order/edit.html b/ruoyi-admin/src/main/resources/templates/orders/order/edit.html new file mode 100644 index 0000000..a491033 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/orders/order/edit.html @@ -0,0 +1,343 @@ + + + + + + + +
+
+

租车订单信息

+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+

租车子订单信息

+
+
+ + +
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/orders/order/order.html b/ruoyi-admin/src/main/resources/templates/orders/order/order.html new file mode 100644 index 0000000..d22003b --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/orders/order/order.html @@ -0,0 +1,189 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • + +
  • + + +
  • +
  • + + +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/orders/orderSub/add.html b/ruoyi-admin/src/main/resources/templates/orders/orderSub/add.html new file mode 100644 index 0000000..4f0900f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/orders/orderSub/add.html @@ -0,0 +1,113 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/orders/orderSub/edit.html b/ruoyi-admin/src/main/resources/templates/orders/orderSub/edit.html new file mode 100644 index 0000000..82b7fbe --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/orders/orderSub/edit.html @@ -0,0 +1,108 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/orders/orderSub/orderSub.html b/ruoyi-admin/src/main/resources/templates/orders/orderSub/orderSub.html new file mode 100644 index 0000000..58cb20d --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/orders/orderSub/orderSub.html @@ -0,0 +1,151 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • + + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file