diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java
index fe16427..a359833 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java
@@ -64,7 +64,7 @@ public class SysLoginService
public String login(String username, String password, String code, String uuid)
{
// 验证码校验
- validateCaptcha(username, code, uuid);
+// validateCaptcha(username, code, uuid);
// 登录前置校验
loginPreCheck(username, password);
// 用户验证
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/AddressController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/AddressController.java
new file mode 100644
index 0000000..ca6ca10
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/AddressController.java
@@ -0,0 +1,104 @@
+package com.ruoyi.system.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.Address;
+import com.ruoyi.system.service.IAddressService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@RestController
+@RequestMapping("/system/address")
+public class AddressController extends BaseController
+{
+ @Autowired
+ private IAddressService addressService;
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(Address address)
+ {
+ startPage();
+ List
list = addressService.selectAddressList(address);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:export')")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, Address address)
+ {
+ List list = addressService.selectAddressList(address);
+ ExcelUtil util = new ExcelUtil(Address.class);
+ util.exportExcel(response, list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 获取【请填写功能名称】详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return success(addressService.selectAddressById(id));
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:add')")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Address address)
+ {
+ return toAjax(addressService.insertAddress(address));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:edit')")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Address address)
+ {
+ return toAjax(addressService.updateAddress(address));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @PreAuthorize("@ss.hasPermi('system:address:remove')")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(addressService.deleteAddressByIds(ids));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/OrderController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/OrderController.java
new file mode 100644
index 0000000..ca4056d
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/OrderController.java
@@ -0,0 +1,104 @@
+package com.ruoyi.system.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.Order;
+import com.ruoyi.system.service.IOrderService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 订单Controller
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@RestController
+@RequestMapping("/system/order")
+public class OrderController extends BaseController
+{
+ @Autowired
+ private IOrderService orderService;
+
+ /**
+ * 查询订单列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:order:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(Order order)
+ {
+ startPage();
+ List list = orderService.selectOrderList(order);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出订单列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:order:export')")
+ @Log(title = "订单", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, Order order)
+ {
+ List list = orderService.selectOrderList(order);
+ ExcelUtil util = new ExcelUtil(Order.class);
+ util.exportExcel(response, list, "订单数据");
+ }
+
+ /**
+ * 获取订单详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:order:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return success(orderService.selectOrderById(id));
+ }
+
+ /**
+ * 新增订单
+ */
+ @PreAuthorize("@ss.hasPermi('system:order:add')")
+ @Log(title = "订单", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Order order)
+ {
+ return toAjax(orderService.insertOrder(order));
+ }
+
+ /**
+ * 修改订单
+ */
+ @PreAuthorize("@ss.hasPermi('system:order:edit')")
+ @Log(title = "订单", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Order order)
+ {
+ return toAjax(orderService.updateOrder(order));
+ }
+
+ /**
+ * 删除订单
+ */
+ @PreAuthorize("@ss.hasPermi('system:order:remove')")
+ @Log(title = "订单", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(orderService.deleteOrderByIds(ids));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/PersonController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/PersonController.java
new file mode 100644
index 0000000..9d30d7b
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/PersonController.java
@@ -0,0 +1,104 @@
+package com.ruoyi.system.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.Person;
+import com.ruoyi.system.service.IPersonService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 买家Controller
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@RestController
+@RequestMapping("/system/person")
+public class PersonController extends BaseController
+{
+ @Autowired
+ private IPersonService personService;
+
+ /**
+ * 查询买家列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:person:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(Person person)
+ {
+ startPage();
+ List list = personService.selectPersonList(person);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出买家列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:person:export')")
+ @Log(title = "买家", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, Person person)
+ {
+ List list = personService.selectPersonList(person);
+ ExcelUtil util = new ExcelUtil(Person.class);
+ util.exportExcel(response, list, "买家数据");
+ }
+
+ /**
+ * 获取买家详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:person:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return success(personService.selectPersonById(id));
+ }
+
+ /**
+ * 新增买家
+ */
+ @PreAuthorize("@ss.hasPermi('system:person:add')")
+ @Log(title = "买家", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Person person)
+ {
+ return toAjax(personService.insertPerson(person));
+ }
+
+ /**
+ * 修改买家
+ */
+ @PreAuthorize("@ss.hasPermi('system:person:edit')")
+ @Log(title = "买家", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Person person)
+ {
+ return toAjax(personService.updatePerson(person));
+ }
+
+ /**
+ * 删除买家
+ */
+ @PreAuthorize("@ss.hasPermi('system:person:remove')")
+ @Log(title = "买家", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(personService.deletePersonByIds(ids));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/SalesidController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/SalesidController.java
new file mode 100644
index 0000000..7559f41
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/SalesidController.java
@@ -0,0 +1,104 @@
+package com.ruoyi.system.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.Salesid;
+import com.ruoyi.system.service.ISalesidService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 卖家Controller
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@RestController
+@RequestMapping("/system/salesid")
+public class SalesidController extends BaseController
+{
+ @Autowired
+ private ISalesidService salesidService;
+
+ /**
+ * 查询卖家列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:salesid:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(Salesid salesid)
+ {
+ startPage();
+ List list = salesidService.selectSalesidList(salesid);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出卖家列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:salesid:export')")
+ @Log(title = "卖家", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, Salesid salesid)
+ {
+ List list = salesidService.selectSalesidList(salesid);
+ ExcelUtil util = new ExcelUtil(Salesid.class);
+ util.exportExcel(response, list, "卖家数据");
+ }
+
+ /**
+ * 获取卖家详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:salesid:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return success(salesidService.selectSalesidById(id));
+ }
+
+ /**
+ * 新增卖家
+ */
+ @PreAuthorize("@ss.hasPermi('system:salesid:add')")
+ @Log(title = "卖家", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Salesid salesid)
+ {
+ return toAjax(salesidService.insertSalesid(salesid));
+ }
+
+ /**
+ * 修改卖家
+ */
+ @PreAuthorize("@ss.hasPermi('system:salesid:edit')")
+ @Log(title = "卖家", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Salesid salesid)
+ {
+ return toAjax(salesidService.updateSalesid(salesid));
+ }
+
+ /**
+ * 删除卖家
+ */
+ @PreAuthorize("@ss.hasPermi('system:salesid:remove')")
+ @Log(title = "卖家", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(salesidService.deleteSalesidByIds(ids));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/ShangpinController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/ShangpinController.java
new file mode 100644
index 0000000..c1cd6cc
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/ShangpinController.java
@@ -0,0 +1,104 @@
+package com.ruoyi.system.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.Shangpin;
+import com.ruoyi.system.service.IShangpinService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 商品Controller
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@RestController
+@RequestMapping("/system/shangpin")
+public class ShangpinController extends BaseController
+{
+ @Autowired
+ private IShangpinService shangpinService;
+
+ /**
+ * 查询商品列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:shangpin:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(Shangpin shangpin)
+ {
+ startPage();
+ List list = shangpinService.selectShangpinList(shangpin);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出商品列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:shangpin:export')")
+ @Log(title = "商品", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, Shangpin shangpin)
+ {
+ List list = shangpinService.selectShangpinList(shangpin);
+ ExcelUtil util = new ExcelUtil(Shangpin.class);
+ util.exportExcel(response, list, "商品数据");
+ }
+
+ /**
+ * 获取商品详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:shangpin:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return success(shangpinService.selectShangpinById(id));
+ }
+
+ /**
+ * 新增商品
+ */
+ @PreAuthorize("@ss.hasPermi('system:shangpin:add')")
+ @Log(title = "商品", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Shangpin shangpin)
+ {
+ return toAjax(shangpinService.insertShangpin(shangpin));
+ }
+
+ /**
+ * 修改商品
+ */
+ @PreAuthorize("@ss.hasPermi('system:shangpin:edit')")
+ @Log(title = "商品", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Shangpin shangpin)
+ {
+ return toAjax(shangpinService.updateShangpin(shangpin));
+ }
+
+ /**
+ * 删除商品
+ */
+ @PreAuthorize("@ss.hasPermi('system:shangpin:remove')")
+ @Log(title = "商品", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(shangpinService.deleteShangpinByIds(ids));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/ShoucangController.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/ShoucangController.java
new file mode 100644
index 0000000..9453fc4
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/ShoucangController.java
@@ -0,0 +1,104 @@
+package com.ruoyi.system.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.Shoucang;
+import com.ruoyi.system.service.IShoucangService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 收藏Controller
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@RestController
+@RequestMapping("/system/shoucang")
+public class ShoucangController extends BaseController
+{
+ @Autowired
+ private IShoucangService shoucangService;
+
+ /**
+ * 查询收藏列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:shoucang:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(Shoucang shoucang)
+ {
+ startPage();
+ List list = shoucangService.selectShoucangList(shoucang);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出收藏列表
+ */
+ @PreAuthorize("@ss.hasPermi('system:shoucang:export')")
+ @Log(title = "收藏", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, Shoucang shoucang)
+ {
+ List list = shoucangService.selectShoucangList(shoucang);
+ ExcelUtil util = new ExcelUtil(Shoucang.class);
+ util.exportExcel(response, list, "收藏数据");
+ }
+
+ /**
+ * 获取收藏详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('system:shoucang:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return success(shoucangService.selectShoucangById(id));
+ }
+
+ /**
+ * 新增收藏
+ */
+ @PreAuthorize("@ss.hasPermi('system:shoucang:add')")
+ @Log(title = "收藏", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody Shoucang shoucang)
+ {
+ return toAjax(shoucangService.insertShoucang(shoucang));
+ }
+
+ /**
+ * 修改收藏
+ */
+ @PreAuthorize("@ss.hasPermi('system:shoucang:edit')")
+ @Log(title = "收藏", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody Shoucang shoucang)
+ {
+ return toAjax(shoucangService.updateShoucang(shoucang));
+ }
+
+ /**
+ * 删除收藏
+ */
+ @PreAuthorize("@ss.hasPermi('system:shoucang:remove')")
+ @Log(title = "收藏", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(shoucangService.deleteShoucangByIds(ids));
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Address.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Address.java
new file mode 100644
index 0000000..12c7c32
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Address.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.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;
+
+/**
+ * 【请填写功能名称】对象 address
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public class Address extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** $column.columnComment */
+ private Long id;
+
+ /** $column.columnComment */
+ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
+ private Long personid;
+
+ /** $column.columnComment */
+ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
+ private String place;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setPersonid(Long personid)
+ {
+ this.personid = personid;
+ }
+
+ public Long getPersonid()
+ {
+ return personid;
+ }
+ public void setPlace(String place)
+ {
+ this.place = place;
+ }
+
+ public String getPlace()
+ {
+ return place;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("personid", getPersonid())
+ .append("place", getPlace())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Order.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Order.java
new file mode 100644
index 0000000..3608a21
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Order.java
@@ -0,0 +1,82 @@
+package com.ruoyi.system.domain;
+
+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;
+
+/**
+ * 订单对象 order
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public class Order extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** id */
+ private Long id;
+
+ /** 商品id */
+ @Excel(name = "商品id")
+ private Long shangpinid;
+
+ /** 买家id */
+ @Excel(name = "买家id")
+ private Long personid;
+
+ /** 购买日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date purchasedate;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setShangpinid(Long shangpinid)
+ {
+ this.shangpinid = shangpinid;
+ }
+
+ public Long getShangpinid()
+ {
+ return shangpinid;
+ }
+ public void setPersonid(Long personid)
+ {
+ this.personid = personid;
+ }
+
+ public Long getPersonid()
+ {
+ return personid;
+ }
+ public void setPurchasedate(Date purchasedate)
+ {
+ this.purchasedate = purchasedate;
+ }
+
+ public Date getPurchasedate()
+ {
+ return purchasedate;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("shangpinid", getShangpinid())
+ .append("personid", getPersonid())
+ .append("purchasedate", getPurchasedate())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Person.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Person.java
new file mode 100644
index 0000000..df79b14
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Person.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.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;
+
+/**
+ * 买家对象 person
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public class Person extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** id */
+ private Long id;
+
+ /** 姓名 */
+ @Excel(name = "姓名")
+ private String name;
+
+ /** 年龄 */
+ @Excel(name = "年龄")
+ private Long age;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setAge(Long age)
+ {
+ this.age = age;
+ }
+
+ public Long getAge()
+ {
+ return age;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("name", getName())
+ .append("age", getAge())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Salesid.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Salesid.java
new file mode 100644
index 0000000..4dd252a
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Salesid.java
@@ -0,0 +1,79 @@
+package com.ruoyi.system.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;
+
+/**
+ * 卖家对象 salesid
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public class Salesid extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** id */
+ private Long id;
+
+ /** 姓名 */
+ @Excel(name = "姓名")
+ private String name;
+
+ /** 年龄 */
+ @Excel(name = "年龄")
+ private Long age;
+
+ /** 地址 */
+ @Excel(name = "地址")
+ private String address;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setAge(Long age)
+ {
+ this.age = age;
+ }
+
+ public Long getAge()
+ {
+ return age;
+ }
+ public void setAddress(String address)
+ {
+ this.address = address;
+ }
+
+ public String getAddress()
+ {
+ return address;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("name", getName())
+ .append("age", getAge())
+ .append("address", getAddress())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Shangpin.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Shangpin.java
new file mode 100644
index 0000000..83b26df
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Shangpin.java
@@ -0,0 +1,195 @@
+package com.ruoyi.system.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;
+
+/**
+ * 商品对象 shangpin
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public class Shangpin extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** id */
+ private Long id;
+
+ /** 姓名 */
+ @Excel(name = "姓名")
+ private String name;
+
+ /** 卖家id */
+ @Excel(name = "卖家id")
+ private Long salesid;
+
+ /** 价格 */
+ @Excel(name = "价格")
+ private BigDecimal price;
+
+ /** 商品类型 */
+ @Excel(name = "商品类型")
+ private String producttype;
+
+ /** 商品描述 */
+ @Excel(name = "商品描述")
+ private String productdescription;
+
+ /** 商品图片 */
+ @Excel(name = "商品图片")
+ private String productimage;
+
+ /** 商品状态 */
+ @Excel(name = "商品状态")
+ private String ProductStatus;
+
+ /** 日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 评价 */
+ @Excel(name = "评价")
+ private String pingjia;
+
+ /** 点击量 */
+ @Excel(name = "点击量")
+ private String dianjiliang;
+
+ /** 收藏量 */
+ @Excel(name = "收藏量")
+ private String shoucang;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setSalesid(Long salesid)
+ {
+ this.salesid = salesid;
+ }
+
+ public Long getSalesid()
+ {
+ return salesid;
+ }
+ public void setPrice(BigDecimal price)
+ {
+ this.price = price;
+ }
+
+ public BigDecimal getPrice()
+ {
+ return price;
+ }
+ public void setProducttype(String producttype)
+ {
+ this.producttype = producttype;
+ }
+
+ public String getProducttype()
+ {
+ return producttype;
+ }
+ public void setProductdescription(String productdescription)
+ {
+ this.productdescription = productdescription;
+ }
+
+ public String getProductdescription()
+ {
+ return productdescription;
+ }
+ public void setProductimage(String productimage)
+ {
+ this.productimage = productimage;
+ }
+
+ public String getProductimage()
+ {
+ return productimage;
+ }
+ public void setProductStatus(String ProductStatus)
+ {
+ this.ProductStatus = ProductStatus;
+ }
+
+ public String getProductStatus()
+ {
+ return ProductStatus;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setPingjia(String pingjia)
+ {
+ this.pingjia = pingjia;
+ }
+
+ public String getPingjia()
+ {
+ return pingjia;
+ }
+ public void setDianjiliang(String dianjiliang)
+ {
+ this.dianjiliang = dianjiliang;
+ }
+
+ public String getDianjiliang()
+ {
+ return dianjiliang;
+ }
+ public void setShoucang(String shoucang)
+ {
+ this.shoucang = shoucang;
+ }
+
+ public String getShoucang()
+ {
+ return shoucang;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("name", getName())
+ .append("salesid", getSalesid())
+ .append("price", getPrice())
+ .append("producttype", getProducttype())
+ .append("productdescription", getProductdescription())
+ .append("productimage", getProductimage())
+ .append("ProductStatus", getProductStatus())
+ .append("date", getDate())
+ .append("pingjia", getPingjia())
+ .append("dianjiliang", getDianjiliang())
+ .append("shoucang", getShoucang())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Shoucang.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Shoucang.java
new file mode 100644
index 0000000..32a4b83
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Shoucang.java
@@ -0,0 +1,65 @@
+package com.ruoyi.system.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;
+
+/**
+ * 收藏对象 shoucang
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public class Shoucang extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** id */
+ private Long id;
+
+ /** 商品id */
+ @Excel(name = "商品id")
+ private Long shangpinid;
+
+ /** 买家id */
+ @Excel(name = "买家id")
+ private Long personid;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setShangpinid(Long shangpinid)
+ {
+ this.shangpinid = shangpinid;
+ }
+
+ public Long getShangpinid()
+ {
+ return shangpinid;
+ }
+ public void setPersonid(Long personid)
+ {
+ this.personid = personid;
+ }
+
+ public Long getPersonid()
+ {
+ return personid;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("shangpinid", getShangpinid())
+ .append("personid", getPersonid())
+ .toString();
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AddressMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AddressMapper.java
new file mode 100644
index 0000000..131cdd1
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AddressMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.Address;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface AddressMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public Address selectAddressById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param address 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectAddressList(Address address);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param address 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertAddress(Address address);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param address 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateAddress(Address address);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteAddressById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteAddressByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/OrderMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/OrderMapper.java
new file mode 100644
index 0000000..650a028
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/OrderMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.Order;
+
+/**
+ * 订单Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface OrderMapper
+{
+ /**
+ * 查询订单
+ *
+ * @param id 订单主键
+ * @return 订单
+ */
+ public Order selectOrderById(Long id);
+
+ /**
+ * 查询订单列表
+ *
+ * @param order 订单
+ * @return 订单集合
+ */
+ public List selectOrderList(Order order);
+
+ /**
+ * 新增订单
+ *
+ * @param order 订单
+ * @return 结果
+ */
+ public int insertOrder(Order order);
+
+ /**
+ * 修改订单
+ *
+ * @param order 订单
+ * @return 结果
+ */
+ public int updateOrder(Order order);
+
+ /**
+ * 删除订单
+ *
+ * @param id 订单主键
+ * @return 结果
+ */
+ public int deleteOrderById(Long id);
+
+ /**
+ * 批量删除订单
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteOrderByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/PersonMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/PersonMapper.java
new file mode 100644
index 0000000..a470d09
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/PersonMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.Person;
+
+/**
+ * 买家Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface PersonMapper
+{
+ /**
+ * 查询买家
+ *
+ * @param id 买家主键
+ * @return 买家
+ */
+ public Person selectPersonById(Long id);
+
+ /**
+ * 查询买家列表
+ *
+ * @param person 买家
+ * @return 买家集合
+ */
+ public List selectPersonList(Person person);
+
+ /**
+ * 新增买家
+ *
+ * @param person 买家
+ * @return 结果
+ */
+ public int insertPerson(Person person);
+
+ /**
+ * 修改买家
+ *
+ * @param person 买家
+ * @return 结果
+ */
+ public int updatePerson(Person person);
+
+ /**
+ * 删除买家
+ *
+ * @param id 买家主键
+ * @return 结果
+ */
+ public int deletePersonById(Long id);
+
+ /**
+ * 批量删除买家
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deletePersonByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SalesidMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SalesidMapper.java
new file mode 100644
index 0000000..6dea264
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SalesidMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.Salesid;
+
+/**
+ * 卖家Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface SalesidMapper
+{
+ /**
+ * 查询卖家
+ *
+ * @param id 卖家主键
+ * @return 卖家
+ */
+ public Salesid selectSalesidById(Long id);
+
+ /**
+ * 查询卖家列表
+ *
+ * @param salesid 卖家
+ * @return 卖家集合
+ */
+ public List selectSalesidList(Salesid salesid);
+
+ /**
+ * 新增卖家
+ *
+ * @param salesid 卖家
+ * @return 结果
+ */
+ public int insertSalesid(Salesid salesid);
+
+ /**
+ * 修改卖家
+ *
+ * @param salesid 卖家
+ * @return 结果
+ */
+ public int updateSalesid(Salesid salesid);
+
+ /**
+ * 删除卖家
+ *
+ * @param id 卖家主键
+ * @return 结果
+ */
+ public int deleteSalesidById(Long id);
+
+ /**
+ * 批量删除卖家
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteSalesidByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ShangpinMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ShangpinMapper.java
new file mode 100644
index 0000000..f84f5c0
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ShangpinMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.Shangpin;
+
+/**
+ * 商品Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface ShangpinMapper
+{
+ /**
+ * 查询商品
+ *
+ * @param id 商品主键
+ * @return 商品
+ */
+ public Shangpin selectShangpinById(Long id);
+
+ /**
+ * 查询商品列表
+ *
+ * @param shangpin 商品
+ * @return 商品集合
+ */
+ public List selectShangpinList(Shangpin shangpin);
+
+ /**
+ * 新增商品
+ *
+ * @param shangpin 商品
+ * @return 结果
+ */
+ public int insertShangpin(Shangpin shangpin);
+
+ /**
+ * 修改商品
+ *
+ * @param shangpin 商品
+ * @return 结果
+ */
+ public int updateShangpin(Shangpin shangpin);
+
+ /**
+ * 删除商品
+ *
+ * @param id 商品主键
+ * @return 结果
+ */
+ public int deleteShangpinById(Long id);
+
+ /**
+ * 批量删除商品
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteShangpinByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ShoucangMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ShoucangMapper.java
new file mode 100644
index 0000000..a7d582b
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ShoucangMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.Shoucang;
+
+/**
+ * 收藏Mapper接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface ShoucangMapper
+{
+ /**
+ * 查询收藏
+ *
+ * @param id 收藏主键
+ * @return 收藏
+ */
+ public Shoucang selectShoucangById(Long id);
+
+ /**
+ * 查询收藏列表
+ *
+ * @param shoucang 收藏
+ * @return 收藏集合
+ */
+ public List selectShoucangList(Shoucang shoucang);
+
+ /**
+ * 新增收藏
+ *
+ * @param shoucang 收藏
+ * @return 结果
+ */
+ public int insertShoucang(Shoucang shoucang);
+
+ /**
+ * 修改收藏
+ *
+ * @param shoucang 收藏
+ * @return 结果
+ */
+ public int updateShoucang(Shoucang shoucang);
+
+ /**
+ * 删除收藏
+ *
+ * @param id 收藏主键
+ * @return 结果
+ */
+ public int deleteShoucangById(Long id);
+
+ /**
+ * 批量删除收藏
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteShoucangByIds(Long[] ids);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAddressService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IAddressService.java
new file mode 100644
index 0000000..da57868
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IAddressService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.Address;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface IAddressService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public Address selectAddressById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param address 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectAddressList(Address address);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param address 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertAddress(Address address);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param address 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateAddress(Address address);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteAddressByIds(Long[] ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteAddressById(Long id);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IOrderService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IOrderService.java
new file mode 100644
index 0000000..f2caba7
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IOrderService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.Order;
+
+/**
+ * 订单Service接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface IOrderService
+{
+ /**
+ * 查询订单
+ *
+ * @param id 订单主键
+ * @return 订单
+ */
+ public Order selectOrderById(Long id);
+
+ /**
+ * 查询订单列表
+ *
+ * @param order 订单
+ * @return 订单集合
+ */
+ public List selectOrderList(Order order);
+
+ /**
+ * 新增订单
+ *
+ * @param order 订单
+ * @return 结果
+ */
+ public int insertOrder(Order order);
+
+ /**
+ * 修改订单
+ *
+ * @param order 订单
+ * @return 结果
+ */
+ public int updateOrder(Order order);
+
+ /**
+ * 批量删除订单
+ *
+ * @param ids 需要删除的订单主键集合
+ * @return 结果
+ */
+ public int deleteOrderByIds(Long[] ids);
+
+ /**
+ * 删除订单信息
+ *
+ * @param id 订单主键
+ * @return 结果
+ */
+ public int deleteOrderById(Long id);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IPersonService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IPersonService.java
new file mode 100644
index 0000000..b8965fc
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IPersonService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.Person;
+
+/**
+ * 买家Service接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface IPersonService
+{
+ /**
+ * 查询买家
+ *
+ * @param id 买家主键
+ * @return 买家
+ */
+ public Person selectPersonById(Long id);
+
+ /**
+ * 查询买家列表
+ *
+ * @param person 买家
+ * @return 买家集合
+ */
+ public List selectPersonList(Person person);
+
+ /**
+ * 新增买家
+ *
+ * @param person 买家
+ * @return 结果
+ */
+ public int insertPerson(Person person);
+
+ /**
+ * 修改买家
+ *
+ * @param person 买家
+ * @return 结果
+ */
+ public int updatePerson(Person person);
+
+ /**
+ * 批量删除买家
+ *
+ * @param ids 需要删除的买家主键集合
+ * @return 结果
+ */
+ public int deletePersonByIds(Long[] ids);
+
+ /**
+ * 删除买家信息
+ *
+ * @param id 买家主键
+ * @return 结果
+ */
+ public int deletePersonById(Long id);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISalesidService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISalesidService.java
new file mode 100644
index 0000000..559fd7a
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISalesidService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.Salesid;
+
+/**
+ * 卖家Service接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface ISalesidService
+{
+ /**
+ * 查询卖家
+ *
+ * @param id 卖家主键
+ * @return 卖家
+ */
+ public Salesid selectSalesidById(Long id);
+
+ /**
+ * 查询卖家列表
+ *
+ * @param salesid 卖家
+ * @return 卖家集合
+ */
+ public List selectSalesidList(Salesid salesid);
+
+ /**
+ * 新增卖家
+ *
+ * @param salesid 卖家
+ * @return 结果
+ */
+ public int insertSalesid(Salesid salesid);
+
+ /**
+ * 修改卖家
+ *
+ * @param salesid 卖家
+ * @return 结果
+ */
+ public int updateSalesid(Salesid salesid);
+
+ /**
+ * 批量删除卖家
+ *
+ * @param ids 需要删除的卖家主键集合
+ * @return 结果
+ */
+ public int deleteSalesidByIds(Long[] ids);
+
+ /**
+ * 删除卖家信息
+ *
+ * @param id 卖家主键
+ * @return 结果
+ */
+ public int deleteSalesidById(Long id);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IShangpinService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IShangpinService.java
new file mode 100644
index 0000000..c6a45b9
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IShangpinService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.Shangpin;
+
+/**
+ * 商品Service接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface IShangpinService
+{
+ /**
+ * 查询商品
+ *
+ * @param id 商品主键
+ * @return 商品
+ */
+ public Shangpin selectShangpinById(Long id);
+
+ /**
+ * 查询商品列表
+ *
+ * @param shangpin 商品
+ * @return 商品集合
+ */
+ public List selectShangpinList(Shangpin shangpin);
+
+ /**
+ * 新增商品
+ *
+ * @param shangpin 商品
+ * @return 结果
+ */
+ public int insertShangpin(Shangpin shangpin);
+
+ /**
+ * 修改商品
+ *
+ * @param shangpin 商品
+ * @return 结果
+ */
+ public int updateShangpin(Shangpin shangpin);
+
+ /**
+ * 批量删除商品
+ *
+ * @param ids 需要删除的商品主键集合
+ * @return 结果
+ */
+ public int deleteShangpinByIds(Long[] ids);
+
+ /**
+ * 删除商品信息
+ *
+ * @param id 商品主键
+ * @return 结果
+ */
+ public int deleteShangpinById(Long id);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IShoucangService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IShoucangService.java
new file mode 100644
index 0000000..1437fb2
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IShoucangService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.Shoucang;
+
+/**
+ * 收藏Service接口
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+public interface IShoucangService
+{
+ /**
+ * 查询收藏
+ *
+ * @param id 收藏主键
+ * @return 收藏
+ */
+ public Shoucang selectShoucangById(Long id);
+
+ /**
+ * 查询收藏列表
+ *
+ * @param shoucang 收藏
+ * @return 收藏集合
+ */
+ public List selectShoucangList(Shoucang shoucang);
+
+ /**
+ * 新增收藏
+ *
+ * @param shoucang 收藏
+ * @return 结果
+ */
+ public int insertShoucang(Shoucang shoucang);
+
+ /**
+ * 修改收藏
+ *
+ * @param shoucang 收藏
+ * @return 结果
+ */
+ public int updateShoucang(Shoucang shoucang);
+
+ /**
+ * 批量删除收藏
+ *
+ * @param ids 需要删除的收藏主键集合
+ * @return 结果
+ */
+ public int deleteShoucangByIds(Long[] ids);
+
+ /**
+ * 删除收藏信息
+ *
+ * @param id 收藏主键
+ * @return 结果
+ */
+ public int deleteShoucangById(Long id);
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AddressServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AddressServiceImpl.java
new file mode 100644
index 0000000..227f2f5
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AddressServiceImpl.java
@@ -0,0 +1,93 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.AddressMapper;
+import com.ruoyi.system.domain.Address;
+import com.ruoyi.system.service.IAddressService;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@Service
+public class AddressServiceImpl implements IAddressService
+{
+ @Autowired
+ private AddressMapper addressMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public Address selectAddressById(Long id)
+ {
+ return addressMapper.selectAddressById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param address 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectAddressList(Address address)
+ {
+ return addressMapper.selectAddressList(address);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param address 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertAddress(Address address)
+ {
+ return addressMapper.insertAddress(address);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param address 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateAddress(Address address)
+ {
+ return addressMapper.updateAddress(address);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteAddressByIds(Long[] ids)
+ {
+ return addressMapper.deleteAddressByIds(ids);
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteAddressById(Long id)
+ {
+ return addressMapper.deleteAddressById(id);
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java
new file mode 100644
index 0000000..0d53907
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java
@@ -0,0 +1,93 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.OrderMapper;
+import com.ruoyi.system.domain.Order;
+import com.ruoyi.system.service.IOrderService;
+
+/**
+ * 订单Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@Service
+public class OrderServiceImpl implements IOrderService
+{
+ @Autowired
+ private OrderMapper orderMapper;
+
+ /**
+ * 查询订单
+ *
+ * @param id 订单主键
+ * @return 订单
+ */
+ @Override
+ public Order selectOrderById(Long id)
+ {
+ return orderMapper.selectOrderById(id);
+ }
+
+ /**
+ * 查询订单列表
+ *
+ * @param order 订单
+ * @return 订单
+ */
+ @Override
+ public List selectOrderList(Order order)
+ {
+ return orderMapper.selectOrderList(order);
+ }
+
+ /**
+ * 新增订单
+ *
+ * @param order 订单
+ * @return 结果
+ */
+ @Override
+ public int insertOrder(Order order)
+ {
+ return orderMapper.insertOrder(order);
+ }
+
+ /**
+ * 修改订单
+ *
+ * @param order 订单
+ * @return 结果
+ */
+ @Override
+ public int updateOrder(Order order)
+ {
+ return orderMapper.updateOrder(order);
+ }
+
+ /**
+ * 批量删除订单
+ *
+ * @param ids 需要删除的订单主键
+ * @return 结果
+ */
+ @Override
+ public int deleteOrderByIds(Long[] ids)
+ {
+ return orderMapper.deleteOrderByIds(ids);
+ }
+
+ /**
+ * 删除订单信息
+ *
+ * @param id 订单主键
+ * @return 结果
+ */
+ @Override
+ public int deleteOrderById(Long id)
+ {
+ return orderMapper.deleteOrderById(id);
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PersonServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PersonServiceImpl.java
new file mode 100644
index 0000000..c23caba
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PersonServiceImpl.java
@@ -0,0 +1,93 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.PersonMapper;
+import com.ruoyi.system.domain.Person;
+import com.ruoyi.system.service.IPersonService;
+
+/**
+ * 买家Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@Service
+public class PersonServiceImpl implements IPersonService
+{
+ @Autowired
+ private PersonMapper personMapper;
+
+ /**
+ * 查询买家
+ *
+ * @param id 买家主键
+ * @return 买家
+ */
+ @Override
+ public Person selectPersonById(Long id)
+ {
+ return personMapper.selectPersonById(id);
+ }
+
+ /**
+ * 查询买家列表
+ *
+ * @param person 买家
+ * @return 买家
+ */
+ @Override
+ public List selectPersonList(Person person)
+ {
+ return personMapper.selectPersonList(person);
+ }
+
+ /**
+ * 新增买家
+ *
+ * @param person 买家
+ * @return 结果
+ */
+ @Override
+ public int insertPerson(Person person)
+ {
+ return personMapper.insertPerson(person);
+ }
+
+ /**
+ * 修改买家
+ *
+ * @param person 买家
+ * @return 结果
+ */
+ @Override
+ public int updatePerson(Person person)
+ {
+ return personMapper.updatePerson(person);
+ }
+
+ /**
+ * 批量删除买家
+ *
+ * @param ids 需要删除的买家主键
+ * @return 结果
+ */
+ @Override
+ public int deletePersonByIds(Long[] ids)
+ {
+ return personMapper.deletePersonByIds(ids);
+ }
+
+ /**
+ * 删除买家信息
+ *
+ * @param id 买家主键
+ * @return 结果
+ */
+ @Override
+ public int deletePersonById(Long id)
+ {
+ return personMapper.deletePersonById(id);
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SalesidServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SalesidServiceImpl.java
new file mode 100644
index 0000000..cf3a30a
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SalesidServiceImpl.java
@@ -0,0 +1,93 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.SalesidMapper;
+import com.ruoyi.system.domain.Salesid;
+import com.ruoyi.system.service.ISalesidService;
+
+/**
+ * 卖家Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@Service
+public class SalesidServiceImpl implements ISalesidService
+{
+ @Autowired
+ private SalesidMapper salesidMapper;
+
+ /**
+ * 查询卖家
+ *
+ * @param id 卖家主键
+ * @return 卖家
+ */
+ @Override
+ public Salesid selectSalesidById(Long id)
+ {
+ return salesidMapper.selectSalesidById(id);
+ }
+
+ /**
+ * 查询卖家列表
+ *
+ * @param salesid 卖家
+ * @return 卖家
+ */
+ @Override
+ public List selectSalesidList(Salesid salesid)
+ {
+ return salesidMapper.selectSalesidList(salesid);
+ }
+
+ /**
+ * 新增卖家
+ *
+ * @param salesid 卖家
+ * @return 结果
+ */
+ @Override
+ public int insertSalesid(Salesid salesid)
+ {
+ return salesidMapper.insertSalesid(salesid);
+ }
+
+ /**
+ * 修改卖家
+ *
+ * @param salesid 卖家
+ * @return 结果
+ */
+ @Override
+ public int updateSalesid(Salesid salesid)
+ {
+ return salesidMapper.updateSalesid(salesid);
+ }
+
+ /**
+ * 批量删除卖家
+ *
+ * @param ids 需要删除的卖家主键
+ * @return 结果
+ */
+ @Override
+ public int deleteSalesidByIds(Long[] ids)
+ {
+ return salesidMapper.deleteSalesidByIds(ids);
+ }
+
+ /**
+ * 删除卖家信息
+ *
+ * @param id 卖家主键
+ * @return 结果
+ */
+ @Override
+ public int deleteSalesidById(Long id)
+ {
+ return salesidMapper.deleteSalesidById(id);
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ShangpinServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ShangpinServiceImpl.java
new file mode 100644
index 0000000..bb55997
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ShangpinServiceImpl.java
@@ -0,0 +1,93 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.ShangpinMapper;
+import com.ruoyi.system.domain.Shangpin;
+import com.ruoyi.system.service.IShangpinService;
+
+/**
+ * 商品Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@Service
+public class ShangpinServiceImpl implements IShangpinService
+{
+ @Autowired
+ private ShangpinMapper shangpinMapper;
+
+ /**
+ * 查询商品
+ *
+ * @param id 商品主键
+ * @return 商品
+ */
+ @Override
+ public Shangpin selectShangpinById(Long id)
+ {
+ return shangpinMapper.selectShangpinById(id);
+ }
+
+ /**
+ * 查询商品列表
+ *
+ * @param shangpin 商品
+ * @return 商品
+ */
+ @Override
+ public List selectShangpinList(Shangpin shangpin)
+ {
+ return shangpinMapper.selectShangpinList(shangpin);
+ }
+
+ /**
+ * 新增商品
+ *
+ * @param shangpin 商品
+ * @return 结果
+ */
+ @Override
+ public int insertShangpin(Shangpin shangpin)
+ {
+ return shangpinMapper.insertShangpin(shangpin);
+ }
+
+ /**
+ * 修改商品
+ *
+ * @param shangpin 商品
+ * @return 结果
+ */
+ @Override
+ public int updateShangpin(Shangpin shangpin)
+ {
+ return shangpinMapper.updateShangpin(shangpin);
+ }
+
+ /**
+ * 批量删除商品
+ *
+ * @param ids 需要删除的商品主键
+ * @return 结果
+ */
+ @Override
+ public int deleteShangpinByIds(Long[] ids)
+ {
+ return shangpinMapper.deleteShangpinByIds(ids);
+ }
+
+ /**
+ * 删除商品信息
+ *
+ * @param id 商品主键
+ * @return 结果
+ */
+ @Override
+ public int deleteShangpinById(Long id)
+ {
+ return shangpinMapper.deleteShangpinById(id);
+ }
+}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ShoucangServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ShoucangServiceImpl.java
new file mode 100644
index 0000000..fdadc41
--- /dev/null
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ShoucangServiceImpl.java
@@ -0,0 +1,93 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.ShoucangMapper;
+import com.ruoyi.system.domain.Shoucang;
+import com.ruoyi.system.service.IShoucangService;
+
+/**
+ * 收藏Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2024-12-18
+ */
+@Service
+public class ShoucangServiceImpl implements IShoucangService
+{
+ @Autowired
+ private ShoucangMapper shoucangMapper;
+
+ /**
+ * 查询收藏
+ *
+ * @param id 收藏主键
+ * @return 收藏
+ */
+ @Override
+ public Shoucang selectShoucangById(Long id)
+ {
+ return shoucangMapper.selectShoucangById(id);
+ }
+
+ /**
+ * 查询收藏列表
+ *
+ * @param shoucang 收藏
+ * @return 收藏
+ */
+ @Override
+ public List selectShoucangList(Shoucang shoucang)
+ {
+ return shoucangMapper.selectShoucangList(shoucang);
+ }
+
+ /**
+ * 新增收藏
+ *
+ * @param shoucang 收藏
+ * @return 结果
+ */
+ @Override
+ public int insertShoucang(Shoucang shoucang)
+ {
+ return shoucangMapper.insertShoucang(shoucang);
+ }
+
+ /**
+ * 修改收藏
+ *
+ * @param shoucang 收藏
+ * @return 结果
+ */
+ @Override
+ public int updateShoucang(Shoucang shoucang)
+ {
+ return shoucangMapper.updateShoucang(shoucang);
+ }
+
+ /**
+ * 批量删除收藏
+ *
+ * @param ids 需要删除的收藏主键
+ * @return 结果
+ */
+ @Override
+ public int deleteShoucangByIds(Long[] ids)
+ {
+ return shoucangMapper.deleteShoucangByIds(ids);
+ }
+
+ /**
+ * 删除收藏信息
+ *
+ * @param id 收藏主键
+ * @return 结果
+ */
+ @Override
+ public int deleteShoucangById(Long id)
+ {
+ return shoucangMapper.deleteShoucangById(id);
+ }
+}
diff --git a/ruoyi-system/src/main/resources/mapper/system/AddressMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AddressMapper.xml
new file mode 100644
index 0000000..c6b0cfa
--- /dev/null
+++ b/ruoyi-system/src/main/resources/mapper/system/AddressMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+ select id, personid, place from address
+
+
+
+
+
+
+
+ insert into address
+
+ personid,
+ place,
+
+
+ #{personid},
+ #{place},
+
+
+
+
+ update address
+
+ personid = #{personid},
+ place = #{place},
+
+ where id = #{id}
+
+
+
+ delete from address where id = #{id}
+
+
+
+ delete from address where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/ruoyi-system/src/main/resources/mapper/system/OrderMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OrderMapper.xml
new file mode 100644
index 0000000..13856f8
--- /dev/null
+++ b/ruoyi-system/src/main/resources/mapper/system/OrderMapper.xml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, shangpinid, personid, purchasedate from `order`
+
+
+
+
+
+
+
+ insert into order
+
+ shangpinid,
+ personid,
+ purchasedate,
+
+
+ #{shangpinid},
+ #{personid},
+ #{purchasedate},
+
+
+
+
+ update order
+
+ shangpinid = #{shangpinid},
+ personid = #{personid},
+ purchasedate = #{purchasedate},
+
+ where id = #{id}
+
+
+
+ delete from order where id = #{id}
+
+
+
+ delete from order where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/ruoyi-system/src/main/resources/mapper/system/PersonMapper.xml b/ruoyi-system/src/main/resources/mapper/system/PersonMapper.xml
new file mode 100644
index 0000000..9936bd4
--- /dev/null
+++ b/ruoyi-system/src/main/resources/mapper/system/PersonMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+ select id, name, age from person
+
+
+
+
+
+
+
+ insert into person
+
+ name,
+ age,
+
+
+ #{name},
+ #{age},
+
+
+
+
+ update person
+
+ name = #{name},
+ age = #{age},
+
+ where id = #{id}
+
+
+
+ delete from person where id = #{id}
+
+
+
+ delete from person where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/ruoyi-system/src/main/resources/mapper/system/SalesidMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SalesidMapper.xml
new file mode 100644
index 0000000..cf7aa82
--- /dev/null
+++ b/ruoyi-system/src/main/resources/mapper/system/SalesidMapper.xml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, name, age, address from salesid
+
+
+
+
+
+
+
+ insert into salesid
+
+ name,
+ age,
+ address,
+
+
+ #{name},
+ #{age},
+ #{address},
+
+
+
+
+ update salesid
+
+ name = #{name},
+ age = #{age},
+ address = #{address},
+
+ where id = #{id}
+
+
+
+ delete from salesid where id = #{id}
+
+
+
+ delete from salesid where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/ruoyi-system/src/main/resources/mapper/system/ShangpinMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ShangpinMapper.xml
new file mode 100644
index 0000000..6c41a0a
--- /dev/null
+++ b/ruoyi-system/src/main/resources/mapper/system/ShangpinMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, name, salesid, price, producttype, productdescription, productimage, ProductStatus, date, pingjia, dianjiliang, shoucang from shangpin
+
+
+
+
+
+
+
+ insert into shangpin
+
+ name,
+ salesid,
+ price,
+ producttype,
+ productdescription,
+ productimage,
+ ProductStatus,
+ date,
+ pingjia,
+ dianjiliang,
+ shoucang,
+
+
+ #{name},
+ #{salesid},
+ #{price},
+ #{producttype},
+ #{productdescription},
+ #{productimage},
+ #{ProductStatus},
+ #{date},
+ #{pingjia},
+ #{dianjiliang},
+ #{shoucang},
+
+
+
+
+ update shangpin
+
+ name = #{name},
+ salesid = #{salesid},
+ price = #{price},
+ producttype = #{producttype},
+ productdescription = #{productdescription},
+ productimage = #{productimage},
+ ProductStatus = #{ProductStatus},
+ date = #{date},
+ pingjia = #{pingjia},
+ dianjiliang = #{dianjiliang},
+ shoucang = #{shoucang},
+
+ where id = #{id}
+
+
+
+ delete from shangpin where id = #{id}
+
+
+
+ delete from shangpin where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/ruoyi-system/src/main/resources/mapper/system/ShoucangMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ShoucangMapper.xml
new file mode 100644
index 0000000..f444045
--- /dev/null
+++ b/ruoyi-system/src/main/resources/mapper/system/ShoucangMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+ select id, shangpinid, personid from shoucang
+
+
+
+
+
+
+
+ insert into shoucang
+
+ shangpinid,
+ personid,
+
+
+ #{shangpinid},
+ #{personid},
+
+
+
+
+ update shoucang
+
+ shangpinid = #{shangpinid},
+ personid = #{personid},
+
+ where id = #{id}
+
+
+
+ delete from shoucang where id = #{id}
+
+
+
+ delete from shoucang where id in
+
+ #{id}
+
+
+
\ No newline at end of file