From 8a9d3b392e6ee6b1a24b5929c8b7333921c36aa6 Mon Sep 17 00:00:00 2001 From: 19173159168 Date: Tue, 8 Jul 2025 00:58:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E8=BD=A6=E5=A5=97=E9=A4=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/CompanyStoreController.java | 14 +- .../ZcRentBatteyRuleController.java | 127 ++++++ .../ZcRentCarRuleBatteryController.java | 127 ++++++ .../controller/ZcRentCarRuleController.java | 163 +++++++ .../operation/domain/ZcRentBatteyRule.java | 402 ++++++++++++++++++ .../ruoyi/operation/domain/ZcRentCarRule.java | 314 ++++++++++++++ .../domain/ZcRentCarRuleBattery.java | 97 +++++ .../mapper/ZcRentBatteyRuleMapper.java | 61 +++ .../mapper/ZcRentCarRuleBatteryMapper.java | 61 +++ .../operation/mapper/ZcRentCarRuleMapper.java | 61 +++ .../operation/service/ICompanyService.java | 4 +- .../service/IZcRentBatteyRuleService.java | 61 +++ .../service/IZcRentCarRuleBatteryService.java | 61 +++ .../service/IZcRentCarRuleService.java | 61 +++ .../service/impl/CompanyServiceImpl.java | 12 +- .../impl/ZcRentBatteyRuleServiceImpl.java | 94 ++++ .../impl/ZcRentCarRuleBatteryServiceImpl.java | 97 +++++ .../impl/ZcRentCarRuleServiceImpl.java | 98 +++++ .../operation/ZcRentBatteyRuleMapper.xml | 182 ++++++++ .../operation/ZcRentCarRuleBatteryMapper.xml | 91 ++++ .../mapper/operation/ZcRentCarRuleMapper.xml | 165 +++++++ .../main/resources/static/ruoyi/css/ry-ui.css | 2 +- .../operation/rentBatteyRule/add.html | 189 ++++++++ .../operation/rentBatteyRule/edit.html | 190 +++++++++ .../rentBatteyRule/rentBatteyRule.html | 314 ++++++++++++++ .../operation/rentCarBattey/add.html | 55 +++ .../operation/rentCarBattey/edit.html | 50 +++ .../rentCarBattey/rentCarBattey.html | 106 +++++ .../templates/operation/rentCarRule/add.html | 120 ++++++ .../templates/operation/rentCarRule/edit.html | 122 ++++++ .../operation/rentCarRule/rentCarRule.html | 192 +++++++++ .../templates/operation/store/add.html | 2 +- .../templates/operation/store/edit.html | 2 +- 33 files changed, 3681 insertions(+), 16 deletions(-) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentBatteyRuleController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleBatteryController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentBatteyRule.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRule.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRuleBattery.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentBatteyRuleMapper.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleBatteryMapper.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleMapper.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentBatteyRuleService.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleBatteryService.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleService.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentBatteyRuleServiceImpl.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleBatteryServiceImpl.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleServiceImpl.java create mode 100644 ruoyi-admin/src/main/resources/mapper/operation/ZcRentBatteyRuleMapper.xml create mode 100644 ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleBatteryMapper.xml create mode 100644 ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleMapper.xml create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/rentBatteyRule.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/rentCarBattey.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentCarRule/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentCarRule/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/operation/rentCarRule/rentCarRule.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/CompanyStoreController.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/CompanyStoreController.java index d6b2ab6..4bea6ca 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/CompanyStoreController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/CompanyStoreController.java @@ -46,7 +46,7 @@ public class CompanyStoreController extends BaseController @GetMapping() public String store(ModelMap mmap) { - List companyList = getCompanyList(new Company()); // 获取运营商列表 + List companyList = companyService.getCompanyList(new Company(),getSysUser()); // 获取运营商列表 mmap.put("companyList", companyList); // 将运营商列表传递到前端 return prefix + "/store"; } @@ -88,7 +88,7 @@ public class CompanyStoreController extends BaseController @GetMapping("/add") public String add(ModelMap mmap) { - List companyList = getCompanyList(new Company()); // 获取运营商列表 + List companyList = companyService.getCompanyList(new Company(),getSysUser()); // 获取运营商列表 mmap.put("companyList", companyList); // 将运营商列表传递到前端 return prefix + "/add"; } @@ -113,7 +113,7 @@ public class CompanyStoreController extends BaseController @GetMapping("/edit/{id}") public String edit(@PathVariable("id") Long id, ModelMap mmap) { - List companyList = getCompanyList(new Company()); // 获取运营商列表 + List companyList = companyService.getCompanyList(new Company(),getSysUser()); // 获取运营商列表 mmap.put("companyList", companyList); // 将运营商列表传递到前端 CompanyStore companyStore = companyStoreService.selectCompanyStoreById(id); @@ -157,12 +157,4 @@ public class CompanyStoreController extends BaseController return toAjax(companyStoreService.changeStatus(companyStore)); } - private List getCompanyList(Company company) { - company.setStatus(CompanyConstants.company_status_0); - // 运营者账号,只能查询所属商户数据 - if(UserConstants.USER_TYPE_02 .equals(getSysUser().getUserType())){ - company.setId(getSysUser().getGroupId()); - } - return companyService.selectCompanyList(company); - } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentBatteyRuleController.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentBatteyRuleController.java new file mode 100644 index 0000000..459053a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentBatteyRuleController.java @@ -0,0 +1,127 @@ +package com.ruoyi.operation.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.operation.domain.ZcRentBatteyRule; +import com.ruoyi.operation.service.IZcRentBatteyRuleService; +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-07 + */ +@Controller +@RequestMapping("/operation/rentBatteyRule") +public class ZcRentBatteyRuleController extends BaseController +{ + private String prefix = "operation/rentBatteyRule"; + + @Autowired + private IZcRentBatteyRuleService zcRentBatteyRuleService; + + @RequiresPermissions("operation:rentBatteyRule:view") + @GetMapping() + public String rentBatteyRule() + { + return prefix + "/rentBatteyRule"; + } + + /** + * 查询租电套餐列表 + */ + @RequiresPermissions("operation:rentBatteyRule:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ZcRentBatteyRule zcRentBatteyRule) + { + startPage(); + List list = zcRentBatteyRuleService.selectZcRentBatteyRuleList(zcRentBatteyRule); + return getDataTable(list); + } + + /** + * 导出租电套餐列表 + */ + @RequiresPermissions("operation:rentBatteyRule:export") + @Log(title = "租电套餐", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ZcRentBatteyRule zcRentBatteyRule) + { + List list = zcRentBatteyRuleService.selectZcRentBatteyRuleList(zcRentBatteyRule); + ExcelUtil util = new ExcelUtil(ZcRentBatteyRule.class); + return util.exportExcel(list, "租电套餐数据"); + } + + /** + * 新增租电套餐 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存租电套餐 + */ + @RequiresPermissions("operation:rentBatteyRule:add") + @Log(title = "租电套餐", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ZcRentBatteyRule zcRentBatteyRule) + { + return toAjax(zcRentBatteyRuleService.insertZcRentBatteyRule(zcRentBatteyRule)); + } + + /** + * 修改租电套餐 + */ + @RequiresPermissions("operation:rentBatteyRule:edit") + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + ZcRentBatteyRule zcRentBatteyRule = zcRentBatteyRuleService.selectZcRentBatteyRuleById(id); + mmap.put("zcRentBatteyRule", zcRentBatteyRule); + return prefix + "/edit"; + } + + /** + * 修改保存租电套餐 + */ + @RequiresPermissions("operation:rentBatteyRule:edit") + @Log(title = "租电套餐", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ZcRentBatteyRule zcRentBatteyRule) + { + return toAjax(zcRentBatteyRuleService.updateZcRentBatteyRule(zcRentBatteyRule)); + } + + /** + * 删除租电套餐 + */ + @RequiresPermissions("operation:rentBatteyRule:remove") + @Log(title = "租电套餐", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(zcRentBatteyRuleService.deleteZcRentBatteyRuleByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleBatteryController.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleBatteryController.java new file mode 100644 index 0000000..d4e38cf --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleBatteryController.java @@ -0,0 +1,127 @@ +package com.ruoyi.operation.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.operation.domain.ZcRentCarRuleBattery; +import com.ruoyi.operation.service.IZcRentCarRuleBatteryService; +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-07 + */ +@Controller +@RequestMapping("/operation/rentCarBattey") +public class ZcRentCarRuleBatteryController extends BaseController +{ + private String prefix = "operation/rentCarBattey"; + + @Autowired + private IZcRentCarRuleBatteryService zcRentCarRuleBatteryService; + + @RequiresPermissions("operation:rentCarBattey:view") + @GetMapping() + public String rentCarBattey() + { + return prefix + "/rentCarBattey"; + } + + /** + * 查询租车规则租电规则关联列表 + */ + @RequiresPermissions("operation:rentCarBattey:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ZcRentCarRuleBattery zcRentCarRuleBattery) + { + startPage(); + List list = zcRentCarRuleBatteryService.selectZcRentCarRuleBatteryList(zcRentCarRuleBattery); + return getDataTable(list); + } + + /** + * 导出租车规则租电规则关联列表 + */ + @RequiresPermissions("operation:rentCarBattey:export") + @Log(title = "租车规则租电规则关联", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ZcRentCarRuleBattery zcRentCarRuleBattery) + { + List list = zcRentCarRuleBatteryService.selectZcRentCarRuleBatteryList(zcRentCarRuleBattery); + ExcelUtil util = new ExcelUtil(ZcRentCarRuleBattery.class); + return util.exportExcel(list, "租车规则租电规则关联数据"); + } + + /** + * 新增租车规则租电规则关联 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存租车规则租电规则关联 + */ + @RequiresPermissions("operation:rentCarBattey:add") + @Log(title = "租车规则租电规则关联", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ZcRentCarRuleBattery zcRentCarRuleBattery) + { + return toAjax(zcRentCarRuleBatteryService.insertZcRentCarRuleBattery(zcRentCarRuleBattery)); + } + + /** + * 修改租车规则租电规则关联 + */ + @RequiresPermissions("operation:rentCarBattey:edit") + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + ZcRentCarRuleBattery zcRentCarRuleBattery = zcRentCarRuleBatteryService.selectZcRentCarRuleBatteryById(id); + mmap.put("zcRentCarRuleBattery", zcRentCarRuleBattery); + return prefix + "/edit"; + } + + /** + * 修改保存租车规则租电规则关联 + */ + @RequiresPermissions("operation:rentCarBattey:edit") + @Log(title = "租车规则租电规则关联", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ZcRentCarRuleBattery zcRentCarRuleBattery) + { + return toAjax(zcRentCarRuleBatteryService.updateZcRentCarRuleBattery(zcRentCarRuleBattery)); + } + + /** + * 删除租车规则租电规则关联 + */ + @RequiresPermissions("operation:rentCarBattey:remove") + @Log(title = "租车规则租电规则关联", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(zcRentCarRuleBatteryService.deleteZcRentCarRuleBatteryByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleController.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleController.java new file mode 100644 index 0000000..1bd60d5 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/controller/ZcRentCarRuleController.java @@ -0,0 +1,163 @@ +package com.ruoyi.operation.controller; + +import java.util.List; +import java.util.Random; + +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.operation.domain.ZcRentCarRule; +import com.ruoyi.operation.service.IZcRentCarRuleService; +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-07 + */ +@Controller +@RequestMapping("/operation/rentCarRule") +public class ZcRentCarRuleController extends BaseController +{ + private String prefix = "operation/rentCarRule"; + + @Autowired + private IZcRentCarRuleService zcRentCarRuleService; + @Autowired + private ICompanyService companyService; + + @RequiresPermissions("operation:rentCarRule:view") + @GetMapping() + public String rentCarRule(ModelMap mmap) + { + List companyList = companyService.getCompanyList(new Company(),getSysUser()); // 获取运营商列表 + mmap.put("companyList", companyList); // 将运营商列表传递到前端 + + return prefix + "/rentCarRule"; + } + + /** + * 查询租车计费规则列表 + */ + @RequiresPermissions("operation:rentCarRule:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ZcRentCarRule zcRentCarRule) + { + startPage(); + // 运营者账号,只能查询所属商户数据 + if(UserConstants.USER_TYPE_02 .equals(getSysUser().getUserType())){ + zcRentCarRule.setOperatingCompanyId(getSysUser().getGroupId()); + } + List list = zcRentCarRuleService.selectZcRentCarRuleList(zcRentCarRule); + return getDataTable(list); + } + + /** + * 导出租车计费规则列表 + */ + @RequiresPermissions("operation:rentCarRule:export") + @Log(title = "租车计费规则", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ZcRentCarRule zcRentCarRule) + { + List list = zcRentCarRuleService.selectZcRentCarRuleList(zcRentCarRule); + ExcelUtil util = new ExcelUtil(ZcRentCarRule.class); + return util.exportExcel(list, "租车计费规则数据"); + } + + /** + * 新增租车计费规则 + */ + @GetMapping("/add") + public String add(ModelMap mmap) + { + List companyList = companyService.getCompanyList(new Company(),getSysUser()); // 获取运营商列表 + mmap.put("companyList", companyList); // 将运营商列表传递到前端 + + return prefix + "/add"; + } + + /** + * 新增保存租车计费规则 + */ + @RequiresPermissions("operation:rentCarRule:add") + @Log(title = "租车计费规则", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ZcRentCarRule zcRentCarRule) + { + zcRentCarRule.setRuleCode(generateTimestampBasedCode()); + zcRentCarRule.setCreateBy(getLoginName()); + return toAjax(zcRentCarRuleService.insertZcRentCarRule(zcRentCarRule)); + } + + /** + * 修改租车计费规则 + */ + @RequiresPermissions("operation:rentCarRule:edit") + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + List companyList = companyService.getCompanyList(new Company(),getSysUser()); // 获取运营商列表 + mmap.put("companyList", companyList); // 将运营商列表传递到前端 + + ZcRentCarRule zcRentCarRule = zcRentCarRuleService.selectZcRentCarRuleById(id); + mmap.put("zcRentCarRule", zcRentCarRule); + return prefix + "/edit"; + } + + /** + * 修改保存租车计费规则 + */ + @RequiresPermissions("operation:rentCarRule:edit") + @Log(title = "租车计费规则", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ZcRentCarRule zcRentCarRule) + { + zcRentCarRule.setUpdateBy(getLoginName()); + return toAjax(zcRentCarRuleService.updateZcRentCarRule(zcRentCarRule)); + } + + /** + * 删除租车计费规则 + */ + @RequiresPermissions("operation:rentCarRule:remove") + @Log(title = "租车计费规则", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(zcRentCarRuleService.deleteZcRentCarRuleByIds(ids)); + } + + + + public static String generateTimestampBasedCode() { + Random random = new Random(); + // 获取当前时间戳的后6位 + long timestampPart = System.currentTimeMillis() % 1000000; + // 生成3位随机数 + int randomPart = 100 + random.nextInt(900); + // 组合成9位数 + long code = timestampPart * 1000 + randomPart; + return String.format("%09d", code); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentBatteyRule.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentBatteyRule.java new file mode 100644 index 0000000..81e3779 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentBatteyRule.java @@ -0,0 +1,402 @@ +package com.ruoyi.operation.domain; + +import java.math.BigDecimal; +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_rent_battey_rule + * + * @author ruoyi + * @date 2025-07-07 + */ +public class ZcRentBatteyRule extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** */ + private Long id; + + /** 商品标题 */ + @Excel(name = "商品标题") + private String title; + + /** 商品描述 */ + @Excel(name = "商品描述") + private String detail; + + /** 图标 */ + @Excel(name = "图标") + private String icon; + + /** 电压 */ + @Excel(name = "电压") + private String voltage; + + /** 电容 */ + @Excel(name = "电容") + private String ah; + + /** 最大里程 */ + @Excel(name = "最大里程") + private Long maxMileage; + + /** 最小里程 默认0 */ + @Excel(name = "最小里程 默认0") + private Long minMileage; + + /** 押金 */ + @Excel(name = "押金") + private BigDecimal depositPrice; + + /** 租金 */ + @Excel(name = "租金") + private BigDecimal rentPrice; + + /** 计时方式 */ + @Excel(name = "计时方式") + private Long durationType; + + /** 租赁时长 */ + @Excel(name = "租赁时长") + private Long duration; + + /** 盗抢险 */ + @Excel(name = "盗抢险") + private BigDecimal insurancePrice; + + /** 是否强制投保 默认0 false */ + @Excel(name = "是否强制投保 默认0 false") + private Integer compulsoryInsurance; + + /** 保险有效时长 默认12个月 */ + @Excel(name = "保险有效时长 默认12个月") + private Long insuranceDuration; + + /** 换电次数 */ + @Excel(name = "换电次数") + private Long changeNum; + + /** 1、有限次数 2无限次数 */ + @Excel(name = "1、有限次数 2无限次数") + private Long changeType; + + /** */ + @Excel(name = "") + private Integer isDelete; + + /** */ + @Excel(name = "") + private Long cityId; + + /** */ + @Excel(name = "") + private Long operatorId; + + /** */ + @Excel(name = "") + private Long provinceId; + + /** 电池类型 */ + @Excel(name = "电池类型") + private Long categoryId; + + /** 套餐类型 换电/租电 */ + @Excel(name = "套餐类型 换电/租电") + private Long mealType; + + /** 套餐排序规则 */ + @Excel(name = "套餐排序规则") + private Long mealSort; + + /** */ + @Excel(name = "") + private Integer isJoinInvite; + + /** 套餐渠道租车默认 id号待定 */ + @Excel(name = "套餐渠道租车默认 id号待定") + private Long mealChannel; + + /** 购买限制类型 */ + @Excel(name = "购买限制类型") + private Long buyLimitType; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setDetail(String detail) + { + this.detail = detail; + } + + public String getDetail() + { + return detail; + } + public void setIcon(String icon) + { + this.icon = icon; + } + + public String getIcon() + { + return icon; + } + public void setVoltage(String voltage) + { + this.voltage = voltage; + } + + public String getVoltage() + { + return voltage; + } + public void setAh(String ah) + { + this.ah = ah; + } + + public String getAh() + { + return ah; + } + public void setMaxMileage(Long maxMileage) + { + this.maxMileage = maxMileage; + } + + public Long getMaxMileage() + { + return maxMileage; + } + public void setMinMileage(Long minMileage) + { + this.minMileage = minMileage; + } + + public Long getMinMileage() + { + return minMileage; + } + public void setDepositPrice(BigDecimal depositPrice) + { + this.depositPrice = depositPrice; + } + + public BigDecimal getDepositPrice() + { + return depositPrice; + } + public void setRentPrice(BigDecimal rentPrice) + { + this.rentPrice = rentPrice; + } + + public BigDecimal getRentPrice() + { + return rentPrice; + } + public void setDurationType(Long durationType) + { + this.durationType = durationType; + } + + public Long getDurationType() + { + return durationType; + } + public void setDuration(Long duration) + { + this.duration = duration; + } + + public Long getDuration() + { + return duration; + } + public void setInsurancePrice(BigDecimal insurancePrice) + { + this.insurancePrice = insurancePrice; + } + + public BigDecimal getInsurancePrice() + { + return insurancePrice; + } + public void setCompulsoryInsurance(Integer compulsoryInsurance) + { + this.compulsoryInsurance = compulsoryInsurance; + } + + public Integer getCompulsoryInsurance() + { + return compulsoryInsurance; + } + public void setInsuranceDuration(Long insuranceDuration) + { + this.insuranceDuration = insuranceDuration; + } + + public Long getInsuranceDuration() + { + return insuranceDuration; + } + public void setChangeNum(Long changeNum) + { + this.changeNum = changeNum; + } + + public Long getChangeNum() + { + return changeNum; + } + public void setChangeType(Long changeType) + { + this.changeType = changeType; + } + + public Long getChangeType() + { + return changeType; + } + public void setIsDelete(Integer isDelete) + { + this.isDelete = isDelete; + } + + public Integer getIsDelete() + { + return isDelete; + } + public void setCityId(Long cityId) + { + this.cityId = cityId; + } + + public Long getCityId() + { + return cityId; + } + public void setOperatorId(Long operatorId) + { + this.operatorId = operatorId; + } + + public Long getOperatorId() + { + return operatorId; + } + public void setProvinceId(Long provinceId) + { + this.provinceId = provinceId; + } + + public Long getProvinceId() + { + return provinceId; + } + public void setCategoryId(Long categoryId) + { + this.categoryId = categoryId; + } + + public Long getCategoryId() + { + return categoryId; + } + public void setMealType(Long mealType) + { + this.mealType = mealType; + } + + public Long getMealType() + { + return mealType; + } + public void setMealSort(Long mealSort) + { + this.mealSort = mealSort; + } + + public Long getMealSort() + { + return mealSort; + } + public void setIsJoinInvite(Integer isJoinInvite) + { + this.isJoinInvite = isJoinInvite; + } + + public Integer getIsJoinInvite() + { + return isJoinInvite; + } + public void setMealChannel(Long mealChannel) + { + this.mealChannel = mealChannel; + } + + public Long getMealChannel() + { + return mealChannel; + } + public void setBuyLimitType(Long buyLimitType) + { + this.buyLimitType = buyLimitType; + } + + public Long getBuyLimitType() + { + return buyLimitType; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("detail", getDetail()) + .append("icon", getIcon()) + .append("voltage", getVoltage()) + .append("ah", getAh()) + .append("maxMileage", getMaxMileage()) + .append("minMileage", getMinMileage()) + .append("depositPrice", getDepositPrice()) + .append("rentPrice", getRentPrice()) + .append("durationType", getDurationType()) + .append("duration", getDuration()) + .append("insurancePrice", getInsurancePrice()) + .append("compulsoryInsurance", getCompulsoryInsurance()) + .append("insuranceDuration", getInsuranceDuration()) + .append("changeNum", getChangeNum()) + .append("changeType", getChangeType()) + .append("isDelete", getIsDelete()) + .append("cityId", getCityId()) + .append("operatorId", getOperatorId()) + .append("provinceId", getProvinceId()) + .append("categoryId", getCategoryId()) + .append("mealType", getMealType()) + .append("mealSort", getMealSort()) + .append("isJoinInvite", getIsJoinInvite()) + .append("mealChannel", getMealChannel()) + .append("buyLimitType", getBuyLimitType()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRule.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRule.java new file mode 100644 index 0000000..43e267b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRule.java @@ -0,0 +1,314 @@ +package com.ruoyi.operation.domain; + +import java.math.BigDecimal; +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; +import org.springframework.data.annotation.Transient; + +/** + * 租车计费规则对象 zc_rent_car_rule + * + * @author ruoyi + * @date 2025-07-07 + */ +public class ZcRentCarRule extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 规则ID */ + private Long id; + + /** 套餐名称 */ + @Excel(name = "套餐名称") + private String ruleName; + + /** 套餐编码 */ + @Excel(name = "套餐编码") + private String ruleCode; + + /** 租赁类型 */ + @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 String overdueType; + + /** 是否支持免押 */ + @Excel(name = "是否支持免押") + private String depositFree; + + /** 是否支持代扣 */ + @Excel(name = "是否支持代扣") + private String autoDeduct; + + /** 运营商 */ + private Long operatingCompanyId; + + /** 状态(0正常 1停用) */ + @Excel(name = "状态", readConverterExp = "0=正常,1=停用") + private String status; + + /** 是否默认套餐(0否 1是) */ + @Excel(name = "是否默认套餐", readConverterExp = "0=否,1=是") + private String isDefault; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + /** 扩展字段1 */ + private String extend1; + + /** 扩展字段2 */ + private String extend2; + + /** 扩展字段3 */ + private String extend3; + + /** 扩展字段4 */ + private String extend4; + + /** 扩展字段5 */ + private String extend5; + + @Transient + private String operatingCompanyName; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setRuleName(String ruleName) + { + this.ruleName = ruleName; + } + + public String getRuleName() + { + return ruleName; + } + public void setRuleCode(String ruleCode) + { + this.ruleCode = ruleCode; + } + + public String getRuleCode() + { + return ruleCode; + } + 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 setOverdueType(String overdueType) + { + this.overdueType = overdueType; + } + + public String getOverdueType() + { + return overdueType; + } + public void setDepositFree(String depositFree) + { + this.depositFree = depositFree; + } + + public String getDepositFree() + { + return depositFree; + } + public void setAutoDeduct(String autoDeduct) + { + this.autoDeduct = autoDeduct; + } + + public String getAutoDeduct() + { + return autoDeduct; + } + + public Long getOperatingCompanyId() { + return operatingCompanyId; + } + + public void setOperatingCompanyId(Long operatingCompanyId) { + this.operatingCompanyId = operatingCompanyId; + } + + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setIsDefault(String isDefault) + { + this.isDefault = isDefault; + } + + public String getIsDefault() + { + return isDefault; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + public void setExtend1(String extend1) + { + this.extend1 = extend1; + } + + public String getExtend1() + { + return extend1; + } + public void setExtend2(String extend2) + { + this.extend2 = extend2; + } + + public String getExtend2() + { + return extend2; + } + public void setExtend3(String extend3) + { + this.extend3 = extend3; + } + + public String getExtend3() + { + return extend3; + } + public void setExtend4(String extend4) + { + this.extend4 = extend4; + } + + public String getExtend4() + { + return extend4; + } + public void setExtend5(String extend5) + { + this.extend5 = extend5; + } + + public String getExtend5() + { + return extend5; + } + + public String getOperatingCompanyName() { + return operatingCompanyName; + } + + public void setOperatingCompanyName(String operatingCompanyName) { + this.operatingCompanyName = operatingCompanyName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("ruleName", getRuleName()) + .append("ruleCode", getRuleCode()) + .append("rentalType", getRentalType()) + .append("rentalDays", getRentalDays()) + .append("rentalPrice", getRentalPrice()) + .append("depositPrice", getDepositPrice()) + .append("overdueFee", getOverdueFee()) + .append("overdueType", getOverdueType()) + .append("depositFree", getDepositFree()) + .append("autoDeduct", getAutoDeduct()) + .append("operatingCompanyId", getOperatingCompanyId()) + .append("status", getStatus()) + .append("isDefault", getIsDefault()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("extend1", getExtend1()) + .append("extend2", getExtend2()) + .append("extend3", getExtend3()) + .append("extend4", getExtend4()) + .append("extend5", getExtend5()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRuleBattery.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRuleBattery.java new file mode 100644 index 0000000..7d0b1b8 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/domain/ZcRentCarRuleBattery.java @@ -0,0 +1,97 @@ +package com.ruoyi.operation.domain; + +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_rent_car_rule_battery + * + * @author ruoyi + * @date 2025-07-07 + */ +public class ZcRentCarRuleBattery extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 规则ID */ + private Long id; + + /** */ + @Excel(name = "") + private Long carRuleId; + + /** */ + @Excel(name = "") + private Long batteryRuleId; + + /** */ + @Excel(name = "") + private Long sortOrder; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCarRuleId(Long carRuleId) + { + this.carRuleId = carRuleId; + } + + public Long getCarRuleId() + { + return carRuleId; + } + public void setBatteryRuleId(Long batteryRuleId) + { + this.batteryRuleId = batteryRuleId; + } + + public Long getBatteryRuleId() + { + return batteryRuleId; + } + public void setSortOrder(Long sortOrder) + { + this.sortOrder = sortOrder; + } + + public Long getSortOrder() + { + return sortOrder; + } + 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("id", getId()) + .append("carRuleId", getCarRuleId()) + .append("batteryRuleId", getBatteryRuleId()) + .append("sortOrder", getSortOrder()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentBatteyRuleMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentBatteyRuleMapper.java new file mode 100644 index 0000000..2e93bc2 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentBatteyRuleMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.operation.mapper; + +import java.util.List; +import com.ruoyi.operation.domain.ZcRentBatteyRule; + +/** + * 租电套餐Mapper接口 + * + * @author ruoyi + * @date 2025-07-07 + */ +public interface ZcRentBatteyRuleMapper +{ + /** + * 查询租电套餐 + * + * @param id 租电套餐主键 + * @return 租电套餐 + */ + public ZcRentBatteyRule selectZcRentBatteyRuleById(Long id); + + /** + * 查询租电套餐列表 + * + * @param zcRentBatteyRule 租电套餐 + * @return 租电套餐集合 + */ + public List selectZcRentBatteyRuleList(ZcRentBatteyRule zcRentBatteyRule); + + /** + * 新增租电套餐 + * + * @param zcRentBatteyRule 租电套餐 + * @return 结果 + */ + public int insertZcRentBatteyRule(ZcRentBatteyRule zcRentBatteyRule); + + /** + * 修改租电套餐 + * + * @param zcRentBatteyRule 租电套餐 + * @return 结果 + */ + public int updateZcRentBatteyRule(ZcRentBatteyRule zcRentBatteyRule); + + /** + * 删除租电套餐 + * + * @param id 租电套餐主键 + * @return 结果 + */ + public int deleteZcRentBatteyRuleById(Long id); + + /** + * 批量删除租电套餐 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteZcRentBatteyRuleByIds(String[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleBatteryMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleBatteryMapper.java new file mode 100644 index 0000000..829bea6 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleBatteryMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.operation.mapper; + +import java.util.List; +import com.ruoyi.operation.domain.ZcRentCarRuleBattery; + +/** + * 租车规则租电规则关联Mapper接口 + * + * @author ruoyi + * @date 2025-07-07 + */ +public interface ZcRentCarRuleBatteryMapper +{ + /** + * 查询租车规则租电规则关联 + * + * @param id 租车规则租电规则关联主键 + * @return 租车规则租电规则关联 + */ + public ZcRentCarRuleBattery selectZcRentCarRuleBatteryById(Long id); + + /** + * 查询租车规则租电规则关联列表 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 租车规则租电规则关联集合 + */ + public List selectZcRentCarRuleBatteryList(ZcRentCarRuleBattery zcRentCarRuleBattery); + + /** + * 新增租车规则租电规则关联 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 结果 + */ + public int insertZcRentCarRuleBattery(ZcRentCarRuleBattery zcRentCarRuleBattery); + + /** + * 修改租车规则租电规则关联 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 结果 + */ + public int updateZcRentCarRuleBattery(ZcRentCarRuleBattery zcRentCarRuleBattery); + + /** + * 删除租车规则租电规则关联 + * + * @param id 租车规则租电规则关联主键 + * @return 结果 + */ + public int deleteZcRentCarRuleBatteryById(Long id); + + /** + * 批量删除租车规则租电规则关联 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteZcRentCarRuleBatteryByIds(String[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleMapper.java new file mode 100644 index 0000000..01d992f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/mapper/ZcRentCarRuleMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.operation.mapper; + +import java.util.List; +import com.ruoyi.operation.domain.ZcRentCarRule; + +/** + * 租车计费规则Mapper接口 + * + * @author ruoyi + * @date 2025-07-07 + */ +public interface ZcRentCarRuleMapper +{ + /** + * 查询租车计费规则 + * + * @param id 租车计费规则主键 + * @return 租车计费规则 + */ + public ZcRentCarRule selectZcRentCarRuleById(Long id); + + /** + * 查询租车计费规则列表 + * + * @param zcRentCarRule 租车计费规则 + * @return 租车计费规则集合 + */ + public List selectZcRentCarRuleList(ZcRentCarRule zcRentCarRule); + + /** + * 新增租车计费规则 + * + * @param zcRentCarRule 租车计费规则 + * @return 结果 + */ + public int insertZcRentCarRule(ZcRentCarRule zcRentCarRule); + + /** + * 修改租车计费规则 + * + * @param zcRentCarRule 租车计费规则 + * @return 结果 + */ + public int updateZcRentCarRule(ZcRentCarRule zcRentCarRule); + + /** + * 删除租车计费规则 + * + * @param id 租车计费规则主键 + * @return 结果 + */ + public int deleteZcRentCarRuleById(Long id); + + /** + * 批量删除租车计费规则 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteZcRentCarRuleByIds(String[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/ICompanyService.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/ICompanyService.java index ce56b8c..c70b2f0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/ICompanyService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/ICompanyService.java @@ -1,6 +1,8 @@ package com.ruoyi.operation.service; import java.util.List; + +import com.ruoyi.common.core.domain.entity.SysUser; import com.ruoyi.operation.domain.Company; /** @@ -27,7 +29,7 @@ public interface ICompanyService */ public List selectCompanyList(Company company); - + public List getCompanyList(Company company, SysUser user); /** * 校验手机号是否唯一 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentBatteyRuleService.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentBatteyRuleService.java new file mode 100644 index 0000000..d42103e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentBatteyRuleService.java @@ -0,0 +1,61 @@ +package com.ruoyi.operation.service; + +import java.util.List; +import com.ruoyi.operation.domain.ZcRentBatteyRule; + +/** + * 租电套餐Service接口 + * + * @author ruoyi + * @date 2025-07-07 + */ +public interface IZcRentBatteyRuleService +{ + /** + * 查询租电套餐 + * + * @param id 租电套餐主键 + * @return 租电套餐 + */ + public ZcRentBatteyRule selectZcRentBatteyRuleById(Long id); + + /** + * 查询租电套餐列表 + * + * @param zcRentBatteyRule 租电套餐 + * @return 租电套餐集合 + */ + public List selectZcRentBatteyRuleList(ZcRentBatteyRule zcRentBatteyRule); + + /** + * 新增租电套餐 + * + * @param zcRentBatteyRule 租电套餐 + * @return 结果 + */ + public int insertZcRentBatteyRule(ZcRentBatteyRule zcRentBatteyRule); + + /** + * 修改租电套餐 + * + * @param zcRentBatteyRule 租电套餐 + * @return 结果 + */ + public int updateZcRentBatteyRule(ZcRentBatteyRule zcRentBatteyRule); + + /** + * 批量删除租电套餐 + * + * @param ids 需要删除的租电套餐主键集合 + * @return 结果 + */ + public int deleteZcRentBatteyRuleByIds(String ids); + + /** + * 删除租电套餐信息 + * + * @param id 租电套餐主键 + * @return 结果 + */ + public int deleteZcRentBatteyRuleById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleBatteryService.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleBatteryService.java new file mode 100644 index 0000000..3eacb5e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleBatteryService.java @@ -0,0 +1,61 @@ +package com.ruoyi.operation.service; + +import java.util.List; +import com.ruoyi.operation.domain.ZcRentCarRuleBattery; + +/** + * 租车规则租电规则关联Service接口 + * + * @author ruoyi + * @date 2025-07-07 + */ +public interface IZcRentCarRuleBatteryService +{ + /** + * 查询租车规则租电规则关联 + * + * @param id 租车规则租电规则关联主键 + * @return 租车规则租电规则关联 + */ + public ZcRentCarRuleBattery selectZcRentCarRuleBatteryById(Long id); + + /** + * 查询租车规则租电规则关联列表 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 租车规则租电规则关联集合 + */ + public List selectZcRentCarRuleBatteryList(ZcRentCarRuleBattery zcRentCarRuleBattery); + + /** + * 新增租车规则租电规则关联 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 结果 + */ + public int insertZcRentCarRuleBattery(ZcRentCarRuleBattery zcRentCarRuleBattery); + + /** + * 修改租车规则租电规则关联 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 结果 + */ + public int updateZcRentCarRuleBattery(ZcRentCarRuleBattery zcRentCarRuleBattery); + + /** + * 批量删除租车规则租电规则关联 + * + * @param ids 需要删除的租车规则租电规则关联主键集合 + * @return 结果 + */ + public int deleteZcRentCarRuleBatteryByIds(String ids); + + /** + * 删除租车规则租电规则关联信息 + * + * @param id 租车规则租电规则关联主键 + * @return 结果 + */ + public int deleteZcRentCarRuleBatteryById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleService.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleService.java new file mode 100644 index 0000000..f3f4161 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/IZcRentCarRuleService.java @@ -0,0 +1,61 @@ +package com.ruoyi.operation.service; + +import java.util.List; +import com.ruoyi.operation.domain.ZcRentCarRule; + +/** + * 租车计费规则Service接口 + * + * @author ruoyi + * @date 2025-07-07 + */ +public interface IZcRentCarRuleService +{ + /** + * 查询租车计费规则 + * + * @param id 租车计费规则主键 + * @return 租车计费规则 + */ + public ZcRentCarRule selectZcRentCarRuleById(Long id); + + /** + * 查询租车计费规则列表 + * + * @param zcRentCarRule 租车计费规则 + * @return 租车计费规则集合 + */ + public List selectZcRentCarRuleList(ZcRentCarRule zcRentCarRule); + + /** + * 新增租车计费规则 + * + * @param zcRentCarRule 租车计费规则 + * @return 结果 + */ + public int insertZcRentCarRule(ZcRentCarRule zcRentCarRule); + + /** + * 修改租车计费规则 + * + * @param zcRentCarRule 租车计费规则 + * @return 结果 + */ + public int updateZcRentCarRule(ZcRentCarRule zcRentCarRule); + + /** + * 批量删除租车计费规则 + * + * @param ids 需要删除的租车计费规则主键集合 + * @return 结果 + */ + public int deleteZcRentCarRuleByIds(String ids); + + /** + * 删除租车计费规则信息 + * + * @param id 租车计费规则主键 + * @return 结果 + */ + public int deleteZcRentCarRuleById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/CompanyServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/CompanyServiceImpl.java index 05816ac..1e2eb19 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/CompanyServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/CompanyServiceImpl.java @@ -2,6 +2,7 @@ package com.ruoyi.operation.service.impl; import java.util.List; +import com.ruoyi.common.constant.CompanyConstants; import com.ruoyi.common.constant.UserConstants; import com.ruoyi.common.core.domain.entity.SysUser; import com.ruoyi.common.utils.DateUtils; @@ -50,7 +51,16 @@ public class CompanyServiceImpl implements ICompanyService return companyMapper.selectCompanyList(company); } - + @Override + public List getCompanyList(Company company,SysUser user) + { + company.setStatus(CompanyConstants.company_status_0); + // 运营者账号,只能查询所属商户数据 + if(UserConstants.USER_TYPE_02 .equals(user.getUserType())){ + company.setId(user.getGroupId()); + } + return companyMapper.selectCompanyList(company); + } @Override public String checkPhoneUnique(Company company){ diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentBatteyRuleServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentBatteyRuleServiceImpl.java new file mode 100644 index 0000000..de4e03d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentBatteyRuleServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.operation.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.operation.mapper.ZcRentBatteyRuleMapper; +import com.ruoyi.operation.domain.ZcRentBatteyRule; +import com.ruoyi.operation.service.IZcRentBatteyRuleService; +import com.ruoyi.common.core.text.Convert; + +/** + * 租电套餐Service业务层处理 + * + * @author ruoyi + * @date 2025-07-07 + */ +@Service +public class ZcRentBatteyRuleServiceImpl implements IZcRentBatteyRuleService +{ + @Autowired + private ZcRentBatteyRuleMapper zcRentBatteyRuleMapper; + + /** + * 查询租电套餐 + * + * @param id 租电套餐主键 + * @return 租电套餐 + */ + @Override + public ZcRentBatteyRule selectZcRentBatteyRuleById(Long id) + { + return zcRentBatteyRuleMapper.selectZcRentBatteyRuleById(id); + } + + /** + * 查询租电套餐列表 + * + * @param zcRentBatteyRule 租电套餐 + * @return 租电套餐 + */ + @Override + public List selectZcRentBatteyRuleList(ZcRentBatteyRule zcRentBatteyRule) + { + return zcRentBatteyRuleMapper.selectZcRentBatteyRuleList(zcRentBatteyRule); + } + + /** + * 新增租电套餐 + * + * @param zcRentBatteyRule 租电套餐 + * @return 结果 + */ + @Override + public int insertZcRentBatteyRule(ZcRentBatteyRule zcRentBatteyRule) + { + return zcRentBatteyRuleMapper.insertZcRentBatteyRule(zcRentBatteyRule); + } + + /** + * 修改租电套餐 + * + * @param zcRentBatteyRule 租电套餐 + * @return 结果 + */ + @Override + public int updateZcRentBatteyRule(ZcRentBatteyRule zcRentBatteyRule) + { + return zcRentBatteyRuleMapper.updateZcRentBatteyRule(zcRentBatteyRule); + } + + /** + * 批量删除租电套餐 + * + * @param ids 需要删除的租电套餐主键 + * @return 结果 + */ + @Override + public int deleteZcRentBatteyRuleByIds(String ids) + { + return zcRentBatteyRuleMapper.deleteZcRentBatteyRuleByIds(Convert.toStrArray(ids)); + } + + /** + * 删除租电套餐信息 + * + * @param id 租电套餐主键 + * @return 结果 + */ + @Override + public int deleteZcRentBatteyRuleById(Long id) + { + return zcRentBatteyRuleMapper.deleteZcRentBatteyRuleById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleBatteryServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleBatteryServiceImpl.java new file mode 100644 index 0000000..8b71eb1 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleBatteryServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.operation.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.operation.mapper.ZcRentCarRuleBatteryMapper; +import com.ruoyi.operation.domain.ZcRentCarRuleBattery; +import com.ruoyi.operation.service.IZcRentCarRuleBatteryService; +import com.ruoyi.common.core.text.Convert; + +/** + * 租车规则租电规则关联Service业务层处理 + * + * @author ruoyi + * @date 2025-07-07 + */ +@Service +public class ZcRentCarRuleBatteryServiceImpl implements IZcRentCarRuleBatteryService +{ + @Autowired + private ZcRentCarRuleBatteryMapper zcRentCarRuleBatteryMapper; + + /** + * 查询租车规则租电规则关联 + * + * @param id 租车规则租电规则关联主键 + * @return 租车规则租电规则关联 + */ + @Override + public ZcRentCarRuleBattery selectZcRentCarRuleBatteryById(Long id) + { + return zcRentCarRuleBatteryMapper.selectZcRentCarRuleBatteryById(id); + } + + /** + * 查询租车规则租电规则关联列表 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 租车规则租电规则关联 + */ + @Override + public List selectZcRentCarRuleBatteryList(ZcRentCarRuleBattery zcRentCarRuleBattery) + { + return zcRentCarRuleBatteryMapper.selectZcRentCarRuleBatteryList(zcRentCarRuleBattery); + } + + /** + * 新增租车规则租电规则关联 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 结果 + */ + @Override + public int insertZcRentCarRuleBattery(ZcRentCarRuleBattery zcRentCarRuleBattery) + { + zcRentCarRuleBattery.setCreateTime(DateUtils.getNowDate()); + return zcRentCarRuleBatteryMapper.insertZcRentCarRuleBattery(zcRentCarRuleBattery); + } + + /** + * 修改租车规则租电规则关联 + * + * @param zcRentCarRuleBattery 租车规则租电规则关联 + * @return 结果 + */ + @Override + public int updateZcRentCarRuleBattery(ZcRentCarRuleBattery zcRentCarRuleBattery) + { + zcRentCarRuleBattery.setUpdateTime(DateUtils.getNowDate()); + return zcRentCarRuleBatteryMapper.updateZcRentCarRuleBattery(zcRentCarRuleBattery); + } + + /** + * 批量删除租车规则租电规则关联 + * + * @param ids 需要删除的租车规则租电规则关联主键 + * @return 结果 + */ + @Override + public int deleteZcRentCarRuleBatteryByIds(String ids) + { + return zcRentCarRuleBatteryMapper.deleteZcRentCarRuleBatteryByIds(Convert.toStrArray(ids)); + } + + /** + * 删除租车规则租电规则关联信息 + * + * @param id 租车规则租电规则关联主键 + * @return 结果 + */ + @Override + public int deleteZcRentCarRuleBatteryById(Long id) + { + return zcRentCarRuleBatteryMapper.deleteZcRentCarRuleBatteryById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleServiceImpl.java new file mode 100644 index 0000000..2a74276 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/operation/service/impl/ZcRentCarRuleServiceImpl.java @@ -0,0 +1,98 @@ +package com.ruoyi.operation.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.operation.mapper.ZcRentCarRuleMapper; +import com.ruoyi.operation.domain.ZcRentCarRule; +import com.ruoyi.operation.service.IZcRentCarRuleService; +import com.ruoyi.common.core.text.Convert; + +/** + * 租车计费规则Service业务层处理 + * + * @author ruoyi + * @date 2025-07-07 + */ +@Service +public class ZcRentCarRuleServiceImpl implements IZcRentCarRuleService +{ + @Autowired + private ZcRentCarRuleMapper zcRentCarRuleMapper; + + /** + * 查询租车计费规则 + * + * @param id 租车计费规则主键 + * @return 租车计费规则 + */ + @Override + public ZcRentCarRule selectZcRentCarRuleById(Long id) + { + return zcRentCarRuleMapper.selectZcRentCarRuleById(id); + } + + /** + * 查询租车计费规则列表 + * + * @param zcRentCarRule 租车计费规则 + * @return 租车计费规则 + */ + @Override + public List selectZcRentCarRuleList(ZcRentCarRule zcRentCarRule) + { + return zcRentCarRuleMapper.selectZcRentCarRuleList(zcRentCarRule); + } + + /** + * 新增租车计费规则 + * + * @param zcRentCarRule 租车计费规则 + * @return 结果 + */ + @Override + public int insertZcRentCarRule(ZcRentCarRule zcRentCarRule) + { + zcRentCarRule.setCreateTime(DateUtils.getNowDate()); + zcRentCarRule.setUpdateTime(DateUtils.getNowDate()); + return zcRentCarRuleMapper.insertZcRentCarRule(zcRentCarRule); + } + + /** + * 修改租车计费规则 + * + * @param zcRentCarRule 租车计费规则 + * @return 结果 + */ + @Override + public int updateZcRentCarRule(ZcRentCarRule zcRentCarRule) + { + zcRentCarRule.setUpdateTime(DateUtils.getNowDate()); + return zcRentCarRuleMapper.updateZcRentCarRule(zcRentCarRule); + } + + /** + * 批量删除租车计费规则 + * + * @param ids 需要删除的租车计费规则主键 + * @return 结果 + */ + @Override + public int deleteZcRentCarRuleByIds(String ids) + { + return zcRentCarRuleMapper.deleteZcRentCarRuleByIds(Convert.toStrArray(ids)); + } + + /** + * 删除租车计费规则信息 + * + * @param id 租车计费规则主键 + * @return 结果 + */ + @Override + public int deleteZcRentCarRuleById(Long id) + { + return zcRentCarRuleMapper.deleteZcRentCarRuleById(id); + } +} diff --git a/ruoyi-admin/src/main/resources/mapper/operation/ZcRentBatteyRuleMapper.xml b/ruoyi-admin/src/main/resources/mapper/operation/ZcRentBatteyRuleMapper.xml new file mode 100644 index 0000000..cc156a0 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/operation/ZcRentBatteyRuleMapper.xml @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, title, detail, icon, voltage, ah, max_mileage, min_mileage, deposit_price, rent_price, duration_type, duration, insurance_price, compulsory_insurance, insurance_duration, change_num, change_type, is_delete, city_id, operator_id, province_id, category_id, meal_type, meal_sort, is_join_invite, meal_channel, buy_limit_type from zc_rent_battey_rule + + + + + + + + insert into zc_rent_battey_rule + + title, + detail, + icon, + voltage, + ah, + max_mileage, + min_mileage, + deposit_price, + rent_price, + duration_type, + duration, + insurance_price, + compulsory_insurance, + insurance_duration, + change_num, + change_type, + is_delete, + city_id, + operator_id, + province_id, + category_id, + meal_type, + meal_sort, + is_join_invite, + meal_channel, + buy_limit_type, + + + #{title}, + #{detail}, + #{icon}, + #{voltage}, + #{ah}, + #{maxMileage}, + #{minMileage}, + #{depositPrice}, + #{rentPrice}, + #{durationType}, + #{duration}, + #{insurancePrice}, + #{compulsoryInsurance}, + #{insuranceDuration}, + #{changeNum}, + #{changeType}, + #{isDelete}, + #{cityId}, + #{operatorId}, + #{provinceId}, + #{categoryId}, + #{mealType}, + #{mealSort}, + #{isJoinInvite}, + #{mealChannel}, + #{buyLimitType}, + + + + + update zc_rent_battey_rule + + title = #{title}, + detail = #{detail}, + icon = #{icon}, + voltage = #{voltage}, + ah = #{ah}, + max_mileage = #{maxMileage}, + min_mileage = #{minMileage}, + deposit_price = #{depositPrice}, + rent_price = #{rentPrice}, + duration_type = #{durationType}, + duration = #{duration}, + insurance_price = #{insurancePrice}, + compulsory_insurance = #{compulsoryInsurance}, + insurance_duration = #{insuranceDuration}, + change_num = #{changeNum}, + change_type = #{changeType}, + is_delete = #{isDelete}, + city_id = #{cityId}, + operator_id = #{operatorId}, + province_id = #{provinceId}, + category_id = #{categoryId}, + meal_type = #{mealType}, + meal_sort = #{mealSort}, + is_join_invite = #{isJoinInvite}, + meal_channel = #{mealChannel}, + buy_limit_type = #{buyLimitType}, + + where id = #{id} + + + + delete from zc_rent_battey_rule where id = #{id} + + + + delete from zc_rent_battey_rule where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleBatteryMapper.xml b/ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleBatteryMapper.xml new file mode 100644 index 0000000..1e77ddf --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleBatteryMapper.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + select id, car_rule_id, battery_rule_id, sort_order, del_flag, create_by, create_time, update_by, update_time, remark from zc_rent_car_rule_battery + + + + + + + + insert into zc_rent_car_rule_battery + + car_rule_id, + battery_rule_id, + sort_order, + del_flag, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{carRuleId}, + #{batteryRuleId}, + #{sortOrder}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update zc_rent_car_rule_battery + + car_rule_id = #{carRuleId}, + battery_rule_id = #{batteryRuleId}, + sort_order = #{sortOrder}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from zc_rent_car_rule_battery where id = #{id} + + + + delete from zc_rent_car_rule_battery where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleMapper.xml b/ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleMapper.xml new file mode 100644 index 0000000..2b3f525 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/operation/ZcRentCarRuleMapper.xml @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, rule_name, rule_code, rental_type, rental_days, rental_price, deposit_price, overdue_fee, overdue_type, deposit_free, auto_deduct, operating_company_id, status, is_default, del_flag, create_by, create_time, update_by, update_time, remark, extend1, extend2, extend3, extend4, extend5 from zc_rent_car_rule + + + + + + + + insert into zc_rent_car_rule + + rule_name, + rule_code, + rental_type, + rental_days, + rental_price, + deposit_price, + overdue_fee, + overdue_type, + deposit_free, + auto_deduct, + operating_company_id, + status, + is_default, + del_flag, + create_by, + create_time, + update_by, + update_time, + remark, + extend1, + extend2, + extend3, + extend4, + extend5, + + + #{ruleName}, + #{ruleCode}, + #{rentalType}, + #{rentalDays}, + #{rentalPrice}, + #{depositPrice}, + #{overdueFee}, + #{overdueType}, + #{depositFree}, + #{autoDeduct}, + #{operatingCompanyId}, + #{status}, + #{isDefault}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{extend1}, + #{extend2}, + #{extend3}, + #{extend4}, + #{extend5}, + + + + + update zc_rent_car_rule + + rule_name = #{ruleName}, + rule_code = #{ruleCode}, + rental_type = #{rentalType}, + rental_days = #{rentalDays}, + rental_price = #{rentalPrice}, + deposit_price = #{depositPrice}, + overdue_fee = #{overdueFee}, + overdue_type = #{overdueType}, + deposit_free = #{depositFree}, + auto_deduct = #{autoDeduct}, + operating_company_id = #{operatingCompanyId}, + status = #{status}, + is_default = #{isDefault}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + extend1 = #{extend1}, + extend2 = #{extend2}, + extend3 = #{extend3}, + extend4 = #{extend4}, + extend5 = #{extend5}, + + where id = #{id} + + + + delete from zc_rent_car_rule where id = #{id} + + + + delete from zc_rent_car_rule where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css index 7c6a48d..8bc2939 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css +++ b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css @@ -658,7 +658,7 @@ label { .select-list li p, .select-list li label:not(.radio-box){ float: left; - width: 100px; + width: 120px; margin: 10px 0px 0px 0px; text-align:right; } diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/add.html b/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/add.html new file mode 100644 index 0000000..846fdad --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/add.html @@ -0,0 +1,189 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/edit.html b/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/edit.html new file mode 100644 index 0000000..8aa2111 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/edit.html @@ -0,0 +1,190 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/rentBatteyRule.html b/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/rentBatteyRule.html new file mode 100644 index 0000000..dbe280a --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentBatteyRule/rentBatteyRule.html @@ -0,0 +1,314 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/add.html b/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/add.html new file mode 100644 index 0000000..d452e22 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/add.html @@ -0,0 +1,55 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/edit.html b/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/edit.html new file mode 100644 index 0000000..af3bc1d --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/edit.html @@ -0,0 +1,50 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/rentCarBattey.html b/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/rentCarBattey.html new file mode 100644 index 0000000..72c5642 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentCarBattey/rentCarBattey.html @@ -0,0 +1,106 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/add.html b/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/add.html new file mode 100644 index 0000000..e1b45ae --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/add.html @@ -0,0 +1,120 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+ + +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+ +
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/edit.html b/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/edit.html new file mode 100644 index 0000000..1a6c5de --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/edit.html @@ -0,0 +1,122 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ +
+
+
+ +
+
+ + +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+ + +
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/rentCarRule.html b/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/rentCarRule.html new file mode 100644 index 0000000..b2444aa --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/operation/rentCarRule/rentCarRule.html @@ -0,0 +1,192 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • + + +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/operation/store/add.html b/ruoyi-admin/src/main/resources/templates/operation/store/add.html index 639b094..f823ba9 100644 --- a/ruoyi-admin/src/main/resources/templates/operation/store/add.html +++ b/ruoyi-admin/src/main/resources/templates/operation/store/add.html @@ -45,7 +45,7 @@
- +