From 89d7a3a45da4fa22b744c1ad607e7c76ee090faf Mon Sep 17 00:00:00 2001 From: lzx_mac <2602107437@qq.com> Date: Thu, 29 Aug 2024 23:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E9=A1=B9=E7=9B=AE=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/jeecg/config/shiro/ShiroConfig.java | 11 + .../payOrder/controller/PayOrderController.java | 171 ++++++++++++++ .../jeecg/modules/payOrder/entity/PayOrder.java | 70 ++++++ .../modules/payOrder/mapper/PayOrderMapper.java | 17 ++ .../modules/payOrder/mapper/xml/PayOrderMapper.xml | 5 + .../modules/payOrder/service/IPayOrderService.java | 14 ++ .../payOrder/service/impl/PayOrderServiceImpl.java | 19 ++ .../jeecg/modules/payOrder/vue/PayOrderList.vue | 195 ++++++++++++++++ .../modules/payOrder/vue/modules/PayOrderForm.vue | 124 ++++++++++ .../vue/modules/PayOrderModal.Style#Drawer.vue | 84 +++++++ .../modules/payOrder/vue/modules/PayOrderModal.vue | 60 +++++ .../jeecg/modules/payOrder/vue3/PayOrder.api.ts | 61 +++++ .../jeecg/modules/payOrder/vue3/PayOrder.data.ts | 63 +++++ .../jeecg/modules/payOrder/vue3/PayOrderList.vue | 162 +++++++++++++ .../payOrder/vue3/components/PayOrderModal.vue | 58 +++++ .../payShop/controller/PayShopController.java | 171 ++++++++++++++ .../org/jeecg/modules/payShop/entity/PayShop.java | 82 +++++++ .../modules/payShop/mapper/PayShopMapper.java | 17 ++ .../modules/payShop/mapper/xml/PayShopMapper.xml | 5 + .../modules/payShop/service/IPayShopService.java | 14 ++ .../payShop/service/impl/PayShopServiceImpl.java | 19 ++ .../org/jeecg/modules/payShop/vue/PayShopList.vue | 209 +++++++++++++++++ .../modules/payShop/vue/modules/PayShopForm.vue | 139 +++++++++++ .../vue/modules/PayShopModal.Style#Drawer.vue | 84 +++++++ .../modules/payShop/vue/modules/PayShopModal.vue | 60 +++++ .../org/jeecg/modules/payShop/vue3/PayShop.api.ts | 61 +++++ .../org/jeecg/modules/payShop/vue3/PayShop.data.ts | 91 ++++++++ .../org/jeecg/modules/payShop/vue3/PayShopList.vue | 162 +++++++++++++ .../payShop/vue3/components/PayShopModal.vue | 58 +++++ .../shcoolSub/controller/ShcoolSubController.java | 171 ++++++++++++++ .../jeecg/modules/shcoolSub/entity/ShcoolSub.java | 110 +++++++++ .../modules/shcoolSub/mapper/ShcoolSubMapper.java | 17 ++ .../shcoolSub/mapper/xml/ShcoolSubMapper.xml | 5 + .../shcoolSub/service/IShcoolSubService.java | 14 ++ .../service/impl/ShcoolSubServiceImpl.java | 19 ++ .../jeecg/modules/shcoolSub/vue/ShcoolSubList.vue | 256 +++++++++++++++++++++ .../shcoolSub/vue/modules/ShcoolSubForm.vue | 174 ++++++++++++++ .../vue/modules/ShcoolSubModal.Style#Drawer.vue | 84 +++++++ .../shcoolSub/vue/modules/ShcoolSubModal.vue | 60 +++++ .../jeecg/modules/shcoolSub/vue3/ShcoolSub.api.ts | 61 +++++ .../jeecg/modules/shcoolSub/vue3/ShcoolSub.data.ts | 166 +++++++++++++ .../jeecg/modules/shcoolSub/vue3/ShcoolSubList.vue | 162 +++++++++++++ .../shcoolSub/vue3/components/ShcoolSubModal.vue | 58 +++++ .../org/jeecg/config/shiro/ShiroConfig.class | Bin 11355 -> 11438 bytes .../payOrder/controller/PayOrderController.class | Bin 0 -> 7269 bytes .../jeecg/modules/payOrder/entity/PayOrder.class | Bin 0 -> 6832 bytes .../modules/payOrder/mapper/PayOrderMapper.class | Bin 0 -> 334 bytes .../modules/payOrder/mapper/xml/PayOrderMapper.xml | 5 + .../payOrder/service/IPayOrderService.class | Bin 0 -> 347 bytes .../service/impl/PayOrderServiceImpl.class | Bin 0 -> 780 bytes .../payShop/controller/PayShopController.class | Bin 0 -> 7228 bytes .../org/jeecg/modules/payShop/entity/PayShop.class | Bin 0 -> 8315 bytes .../modules/payShop/mapper/PayShopMapper.class | Bin 0 -> 329 bytes .../modules/payShop/mapper/xml/PayShopMapper.xml | 5 + .../modules/payShop/service/IPayShopService.class | Bin 0 -> 342 bytes .../payShop/service/impl/PayShopServiceImpl.class | Bin 0 -> 767 bytes .../shcoolSub/controller/ShcoolSubController.class | Bin 0 -> 7226 bytes .../jeecg/modules/shcoolSub/entity/ShcoolSub.class | Bin 0 -> 12330 bytes .../modules/shcoolSub/mapper/ShcoolSubMapper.class | Bin 0 -> 339 bytes .../shcoolSub/mapper/xml/ShcoolSubMapper.xml | 5 + .../shcoolSub/service/IShcoolSubService.class | Bin 0 -> 352 bytes .../service/impl/ShcoolSubServiceImpl.class | Bin 0 -> 793 bytes .../api/payController/PayApiIndexController.java | 76 ++++++ .../api/payController/PayLoginController.java | 51 ++++ .../api/schoolcontroller/SchoolApiController.java | 66 ++++++ .../jeecg/modules/apiservice/IndexApiService.java | 33 +++ .../apiservice/impl/IndexApiServiceImpl.java | 125 ++++++++++ 67 files changed, 4009 insertions(+) create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/controller/PayOrderController.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/entity/PayOrder.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/PayOrderMapper.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/xml/PayOrderMapper.xml create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/IPayOrderService.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/impl/PayOrderServiceImpl.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/PayOrderList.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderForm.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.Style#Drawer.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.api.ts create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.data.ts create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrderList.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/components/PayOrderModal.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/controller/PayShopController.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/entity/PayShop.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/PayShopMapper.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/IPayShopService.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/impl/PayShopServiceImpl.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/PayShopList.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopForm.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.Style#Drawer.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.api.ts create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.data.ts create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShopList.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/components/PayShopModal.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/controller/ShcoolSubController.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/entity/ShcoolSub.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/ShcoolSubMapper.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/IShcoolSubService.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/impl/ShcoolSubServiceImpl.java create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/ShcoolSubList.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubForm.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.Style#Drawer.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.api.ts create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.data.ts create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSubList.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/components/ShcoolSubModal.vue create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/controller/PayOrderController.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/entity/PayOrder.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/mapper/PayOrderMapper.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/mapper/xml/PayOrderMapper.xml create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/service/IPayOrderService.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/service/impl/PayOrderServiceImpl.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/controller/PayShopController.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/entity/PayShop.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/mapper/PayShopMapper.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/service/IPayShopService.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/service/impl/PayShopServiceImpl.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/controller/ShcoolSubController.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/entity/ShcoolSub.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/mapper/ShcoolSubMapper.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/service/IShcoolSubService.class create mode 100644 jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/service/impl/ShcoolSubServiceImpl.class create mode 100644 jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayApiIndexController.java create mode 100644 jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayLoginController.java create mode 100644 jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/schoolcontroller/SchoolApiController.java diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java index d565286..537c88e 100644 --- a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java @@ -80,6 +80,17 @@ public class ShiroConfig { + + + filterChainDefinitionMap.put("/pay-api/info/getPayShopOne", "anon"); + + filterChainDefinitionMap.put("/school-api/**", "anon"); + + + + + + filterChainDefinitionMap.put("/sys/oss/file/upload", "anon"); //图片上传验证放开 filterChainDefinitionMap.put("/sys/common/upload", "anon"); //图片上传验证放开 filterChainDefinitionMap.put("/sys/cas/client/validateLogin", "anon"); //cas验证登录 diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/controller/PayOrderController.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/controller/PayOrderController.java new file mode 100644 index 0000000..c331861 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/controller/PayOrderController.java @@ -0,0 +1,171 @@ +package org.jeecg.modules.payOrder.controller; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLDecoder; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import org.jeecg.common.api.vo.Result; +import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.util.oConvertUtils; +import org.jeecg.modules.payOrder.entity.PayOrder; +import org.jeecg.modules.payOrder.service.IPayOrderService; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import lombok.extern.slf4j.Slf4j; + +import org.jeecgframework.poi.excel.ExcelImportUtil; +import org.jeecgframework.poi.excel.def.NormalExcelConstants; +import org.jeecgframework.poi.excel.entity.ExportParams; +import org.jeecgframework.poi.excel.entity.ImportParams; +import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; +import org.jeecg.common.system.base.controller.JeecgController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; +import org.springframework.web.multipart.MultipartHttpServletRequest; +import org.springframework.web.servlet.ModelAndView; +import com.alibaba.fastjson.JSON; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.jeecg.common.aspect.annotation.AutoLog; + + /** + * @Description: 知识付费订单表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Api(tags="知识付费订单表") +@RestController +@RequestMapping("/payOrder/payOrder") +@Slf4j +public class PayOrderController extends JeecgController { + @Autowired + private IPayOrderService payOrderService; + + /** + * 分页列表查询 + * + * @param payOrder + * @param pageNo + * @param pageSize + * @param req + * @return + */ + //@AutoLog(value = "知识付费订单表-分页列表查询") + @ApiOperation(value="知识付费订单表-分页列表查询", notes="知识付费订单表-分页列表查询") + @GetMapping(value = "/list") + public Result> queryPageList(PayOrder payOrder, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(payOrder, req.getParameterMap()); + Page page = new Page(pageNo, pageSize); + IPage pageList = payOrderService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param payOrder + * @return + */ + @AutoLog(value = "知识付费订单表-添加") + @ApiOperation(value="知识付费订单表-添加", notes="知识付费订单表-添加") + @PostMapping(value = "/add") + public Result add(@RequestBody PayOrder payOrder) { + payOrderService.save(payOrder); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param payOrder + * @return + */ + @AutoLog(value = "知识付费订单表-编辑") + @ApiOperation(value="知识付费订单表-编辑", notes="知识付费订单表-编辑") + @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST}) + public Result edit(@RequestBody PayOrder payOrder) { + payOrderService.updateById(payOrder); + return Result.OK("编辑成功!"); + } + + /** + * 通过id删除 + * + * @param id + * @return + */ + @AutoLog(value = "知识付费订单表-通过id删除") + @ApiOperation(value="知识付费订单表-通过id删除", notes="知识付费订单表-通过id删除") + @DeleteMapping(value = "/delete") + public Result delete(@RequestParam(name="id",required=true) String id) { + payOrderService.removeById(id); + return Result.OK("删除成功!"); + } + + /** + * 批量删除 + * + * @param ids + * @return + */ + @AutoLog(value = "知识付费订单表-批量删除") + @ApiOperation(value="知识付费订单表-批量删除", notes="知识付费订单表-批量删除") + @DeleteMapping(value = "/deleteBatch") + public Result deleteBatch(@RequestParam(name="ids",required=true) String ids) { + this.payOrderService.removeByIds(Arrays.asList(ids.split(","))); + return Result.OK("批量删除成功!"); + } + + /** + * 通过id查询 + * + * @param id + * @return + */ + //@AutoLog(value = "知识付费订单表-通过id查询") + @ApiOperation(value="知识付费订单表-通过id查询", notes="知识付费订单表-通过id查询") + @GetMapping(value = "/queryById") + public Result queryById(@RequestParam(name="id",required=true) String id) { + PayOrder payOrder = payOrderService.getById(id); + if(payOrder==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(payOrder); + } + + /** + * 导出excel + * + * @param request + * @param payOrder + */ + @RequestMapping(value = "/exportXls") + public ModelAndView exportXls(HttpServletRequest request, PayOrder payOrder) { + return super.exportXls(request, payOrder, PayOrder.class, "知识付费订单表"); + } + + /** + * 通过excel导入数据 + * + * @param request + * @param response + * @return + */ + @RequestMapping(value = "/importExcel", method = RequestMethod.POST) + public Result importExcel(HttpServletRequest request, HttpServletResponse response) { + return super.importExcel(request, response, PayOrder.class); + } + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/entity/PayOrder.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/entity/PayOrder.java new file mode 100644 index 0000000..eaf311b --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/entity/PayOrder.java @@ -0,0 +1,70 @@ +package org.jeecg.modules.payOrder.entity; + +import java.io.Serializable; +import java.io.UnsupportedEncodingException; +import java.util.Date; +import java.math.BigDecimal; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.springframework.format.annotation.DateTimeFormat; +import org.jeecgframework.poi.excel.annotation.Excel; +import org.jeecg.common.aspect.annotation.Dict; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * @Description: 知识付费订单表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Data +@TableName("pay_order") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="pay_order对象", description="知识付费订单表") +public class PayOrder implements Serializable { + private static final long serialVersionUID = 1L; + + /**主键*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "主键") + private java.lang.String id; + /**创建人*/ + @ApiModelProperty(value = "创建人") + private java.lang.String createBy; + /**创建日期*/ + @ApiModelProperty(value = "创建日期") + private java.util.Date createTime; + /**更新人*/ + @ApiModelProperty(value = "更新人") + private java.lang.String updateBy; + /**更新日期*/ + @ApiModelProperty(value = "更新日期") + private java.util.Date updateTime; + /**商品标识*/ + @Excel(name = "商品标识", width = 15) + @ApiModelProperty(value = "商品标识") + private java.lang.String shopId; + /**订单名称*/ + @Excel(name = "订单名称", width = 15) + @ApiModelProperty(value = "订单名称") + private java.lang.String title; + /**价格*/ + @Excel(name = "价格", width = 15) + @ApiModelProperty(value = "价格") + private java.math.BigDecimal price; + /**数量*/ + @Excel(name = "数量", width = 15) + @ApiModelProperty(value = "数量") + private java.lang.Integer num; + /**用户*/ + @Excel(name = "用户", width = 15) + @ApiModelProperty(value = "用户") + private java.lang.String userId; +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/PayOrderMapper.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/PayOrderMapper.java new file mode 100644 index 0000000..b501ff4 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/PayOrderMapper.java @@ -0,0 +1,17 @@ +package org.jeecg.modules.payOrder.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import org.jeecg.modules.payOrder.entity.PayOrder; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 知识付费订单表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +public interface PayOrderMapper extends BaseMapper { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/xml/PayOrderMapper.xml b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/xml/PayOrderMapper.xml new file mode 100644 index 0000000..7b0a219 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/mapper/xml/PayOrderMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/IPayOrderService.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/IPayOrderService.java new file mode 100644 index 0000000..09707be --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/IPayOrderService.java @@ -0,0 +1,14 @@ +package org.jeecg.modules.payOrder.service; + +import org.jeecg.modules.payOrder.entity.PayOrder; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @Description: 知识付费订单表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +public interface IPayOrderService extends IService { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/impl/PayOrderServiceImpl.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/impl/PayOrderServiceImpl.java new file mode 100644 index 0000000..9887f8f --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/service/impl/PayOrderServiceImpl.java @@ -0,0 +1,19 @@ +package org.jeecg.modules.payOrder.service.impl; + +import org.jeecg.modules.payOrder.entity.PayOrder; +import org.jeecg.modules.payOrder.mapper.PayOrderMapper; +import org.jeecg.modules.payOrder.service.IPayOrderService; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +/** + * @Description: 知识付费订单表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Service +public class PayOrderServiceImpl extends ServiceImpl implements IPayOrderService { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/PayOrderList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/PayOrderList.vue new file mode 100644 index 0000000..790e535 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/PayOrderList.vue @@ -0,0 +1,195 @@ + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderForm.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderForm.vue new file mode 100644 index 0000000..73521de --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderForm.vue @@ -0,0 +1,124 @@ + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.Style#Drawer.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.Style#Drawer.vue new file mode 100644 index 0000000..d5d01b2 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.vue new file mode 100644 index 0000000..26cb93e --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue/modules/PayOrderModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.api.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.api.ts new file mode 100644 index 0000000..5050c78 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.api.ts @@ -0,0 +1,61 @@ +import {defHttp} from '/@/utils/http/axios'; +import {Modal} from 'ant-design-vue'; + +enum Api { + list = '/payOrder/payOrder/list', + save='/payOrder/payOrder/add', + edit='/payOrder/payOrder/edit', + deleteOne = '/payOrder/payOrder/delete', + deleteBatch = '/payOrder/payOrder/deleteBatch', + importExcel = '/payOrder/payOrder/importExcel', + exportXls = '/payOrder/payOrder/exportXls', +} +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; +/** + * 列表接口 + * @param params + */ +export const list = (params) => + defHttp.get({url: Api.list, params}); + +/** + * 删除单个 + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} +/** + * 批量删除 + * @param params + */ +export const batchDelete = (params, handleSuccess) => { + Modal.confirm({ + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} +/** + * 保存或者更新 + * @param params + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({url: url, params}); +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.data.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.data.ts new file mode 100644 index 0000000..80a49c0 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrder.data.ts @@ -0,0 +1,63 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '商品标识', + align:"center", + dataIndex: 'shopId' + }, + { + title: '订单名称', + align:"center", + dataIndex: 'title' + }, + { + title: '价格', + align:"center", + dataIndex: 'price' + }, + { + title: '数量', + align:"center", + dataIndex: 'num' + }, + { + title: '用户', + align:"center", + dataIndex: 'userId' + }, +]; +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '商品标识', + field: 'shopId', + component: 'Input', + }, + { + label: '订单名称', + field: 'title', + component: 'Input', + }, + { + label: '价格', + field: 'price', + component: 'InputNumber', + }, + { + label: '数量', + field: 'num', + component: 'InputNumber', + }, + { + label: '用户', + field: 'userId', + component: 'Input', + }, +]; diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrderList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrderList.vue new file mode 100644 index 0000000..1935da9 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/PayOrderList.vue @@ -0,0 +1,162 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/components/PayOrderModal.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/components/PayOrderModal.vue new file mode 100644 index 0000000..262e465 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payOrder/vue3/components/PayOrderModal.vue @@ -0,0 +1,58 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/controller/PayShopController.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/controller/PayShopController.java new file mode 100644 index 0000000..0224885 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/controller/PayShopController.java @@ -0,0 +1,171 @@ +package org.jeecg.modules.payShop.controller; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLDecoder; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import org.jeecg.common.api.vo.Result; +import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.util.oConvertUtils; +import org.jeecg.modules.payShop.entity.PayShop; +import org.jeecg.modules.payShop.service.IPayShopService; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import lombok.extern.slf4j.Slf4j; + +import org.jeecgframework.poi.excel.ExcelImportUtil; +import org.jeecgframework.poi.excel.def.NormalExcelConstants; +import org.jeecgframework.poi.excel.entity.ExportParams; +import org.jeecgframework.poi.excel.entity.ImportParams; +import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; +import org.jeecg.common.system.base.controller.JeecgController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; +import org.springframework.web.multipart.MultipartHttpServletRequest; +import org.springframework.web.servlet.ModelAndView; +import com.alibaba.fastjson.JSON; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.jeecg.common.aspect.annotation.AutoLog; + + /** + * @Description: 付费商品修改表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Api(tags="付费商品修改表") +@RestController +@RequestMapping("/payShop/payShop") +@Slf4j +public class PayShopController extends JeecgController { + @Autowired + private IPayShopService payShopService; + + /** + * 分页列表查询 + * + * @param payShop + * @param pageNo + * @param pageSize + * @param req + * @return + */ + //@AutoLog(value = "付费商品修改表-分页列表查询") + @ApiOperation(value="付费商品修改表-分页列表查询", notes="付费商品修改表-分页列表查询") + @GetMapping(value = "/list") + public Result> queryPageList(PayShop payShop, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(payShop, req.getParameterMap()); + Page page = new Page(pageNo, pageSize); + IPage pageList = payShopService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param payShop + * @return + */ + @AutoLog(value = "付费商品修改表-添加") + @ApiOperation(value="付费商品修改表-添加", notes="付费商品修改表-添加") + @PostMapping(value = "/add") + public Result add(@RequestBody PayShop payShop) { + payShopService.save(payShop); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param payShop + * @return + */ + @AutoLog(value = "付费商品修改表-编辑") + @ApiOperation(value="付费商品修改表-编辑", notes="付费商品修改表-编辑") + @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST}) + public Result edit(@RequestBody PayShop payShop) { + payShopService.updateById(payShop); + return Result.OK("编辑成功!"); + } + + /** + * 通过id删除 + * + * @param id + * @return + */ + @AutoLog(value = "付费商品修改表-通过id删除") + @ApiOperation(value="付费商品修改表-通过id删除", notes="付费商品修改表-通过id删除") + @DeleteMapping(value = "/delete") + public Result delete(@RequestParam(name="id",required=true) String id) { + payShopService.removeById(id); + return Result.OK("删除成功!"); + } + + /** + * 批量删除 + * + * @param ids + * @return + */ + @AutoLog(value = "付费商品修改表-批量删除") + @ApiOperation(value="付费商品修改表-批量删除", notes="付费商品修改表-批量删除") + @DeleteMapping(value = "/deleteBatch") + public Result deleteBatch(@RequestParam(name="ids",required=true) String ids) { + this.payShopService.removeByIds(Arrays.asList(ids.split(","))); + return Result.OK("批量删除成功!"); + } + + /** + * 通过id查询 + * + * @param id + * @return + */ + //@AutoLog(value = "付费商品修改表-通过id查询") + @ApiOperation(value="付费商品修改表-通过id查询", notes="付费商品修改表-通过id查询") + @GetMapping(value = "/queryById") + public Result queryById(@RequestParam(name="id",required=true) String id) { + PayShop payShop = payShopService.getById(id); + if(payShop==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(payShop); + } + + /** + * 导出excel + * + * @param request + * @param payShop + */ + @RequestMapping(value = "/exportXls") + public ModelAndView exportXls(HttpServletRequest request, PayShop payShop) { + return super.exportXls(request, payShop, PayShop.class, "付费商品修改表"); + } + + /** + * 通过excel导入数据 + * + * @param request + * @param response + * @return + */ + @RequestMapping(value = "/importExcel", method = RequestMethod.POST) + public Result importExcel(HttpServletRequest request, HttpServletResponse response) { + return super.importExcel(request, response, PayShop.class); + } + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/entity/PayShop.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/entity/PayShop.java new file mode 100644 index 0000000..7ff3158 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/entity/PayShop.java @@ -0,0 +1,82 @@ +package org.jeecg.modules.payShop.entity; + +import java.io.Serializable; +import java.io.UnsupportedEncodingException; +import java.util.Date; +import java.math.BigDecimal; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.springframework.format.annotation.DateTimeFormat; +import org.jeecgframework.poi.excel.annotation.Excel; +import org.jeecg.common.aspect.annotation.Dict; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * @Description: 付费商品修改表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Data +@TableName("pay_shop") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="pay_shop对象", description="付费商品修改表") +public class PayShop implements Serializable { + private static final long serialVersionUID = 1L; + + /**主键*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "主键") + private java.lang.String id; + /**创建人*/ + @ApiModelProperty(value = "创建人") + private java.lang.String createBy; + /**创建日期*/ + @ApiModelProperty(value = "创建日期") + private java.util.Date createTime; + /**更新人*/ + @ApiModelProperty(value = "更新人") + private java.lang.String updateBy; + /**更新日期*/ + @ApiModelProperty(value = "更新日期") + private java.util.Date updateTime; + /**图片*/ + @Excel(name = "图片", width = 15) + @ApiModelProperty(value = "图片") + private java.lang.String image; + /**标题*/ + @Excel(name = "标题", width = 15) + @ApiModelProperty(value = "标题") + private java.lang.String title; + /**内容*/ + @Excel(name = "内容", width = 15) + @ApiModelProperty(value = "内容") + private java.lang.String titleText; + /**级别*/ + @Excel(name = "级别", width = 15) + @ApiModelProperty(value = "级别") + private java.lang.String classValue; + /**购买人数*/ + @Excel(name = "购买人数", width = 15) + @ApiModelProperty(value = "购买人数") + private java.lang.String num; + /**价格*/ + @Excel(name = "价格", width = 15) + @ApiModelProperty(value = "价格") + private java.math.BigDecimal price; + /**原价*/ + @Excel(name = "原价", width = 15) + @ApiModelProperty(value = "原价") + private java.math.BigDecimal oldPrice; + /**资源介绍*/ + @Excel(name = "资源介绍", width = 15) + @ApiModelProperty(value = "资源介绍") + private java.lang.String content; +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/PayShopMapper.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/PayShopMapper.java new file mode 100644 index 0000000..d6dae60 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/PayShopMapper.java @@ -0,0 +1,17 @@ +package org.jeecg.modules.payShop.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import org.jeecg.modules.payShop.entity.PayShop; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 付费商品修改表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +public interface PayShopMapper extends BaseMapper { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml new file mode 100644 index 0000000..c122179 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/IPayShopService.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/IPayShopService.java new file mode 100644 index 0000000..b9edab2 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/IPayShopService.java @@ -0,0 +1,14 @@ +package org.jeecg.modules.payShop.service; + +import org.jeecg.modules.payShop.entity.PayShop; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @Description: 付费商品修改表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +public interface IPayShopService extends IService { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/impl/PayShopServiceImpl.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/impl/PayShopServiceImpl.java new file mode 100644 index 0000000..fdcd7b1 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/service/impl/PayShopServiceImpl.java @@ -0,0 +1,19 @@ +package org.jeecg.modules.payShop.service.impl; + +import org.jeecg.modules.payShop.entity.PayShop; +import org.jeecg.modules.payShop.mapper.PayShopMapper; +import org.jeecg.modules.payShop.service.IPayShopService; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +/** + * @Description: 付费商品修改表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Service +public class PayShopServiceImpl extends ServiceImpl implements IPayShopService { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/PayShopList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/PayShopList.vue new file mode 100644 index 0000000..7ea84f4 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/PayShopList.vue @@ -0,0 +1,209 @@ + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopForm.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopForm.vue new file mode 100644 index 0000000..e828b4a --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopForm.vue @@ -0,0 +1,139 @@ + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.Style#Drawer.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.Style#Drawer.vue new file mode 100644 index 0000000..56195c9 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.vue new file mode 100644 index 0000000..8be2583 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue/modules/PayShopModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.api.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.api.ts new file mode 100644 index 0000000..fdb5102 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.api.ts @@ -0,0 +1,61 @@ +import {defHttp} from '/@/utils/http/axios'; +import {Modal} from 'ant-design-vue'; + +enum Api { + list = '/payShop/payShop/list', + save='/payShop/payShop/add', + edit='/payShop/payShop/edit', + deleteOne = '/payShop/payShop/delete', + deleteBatch = '/payShop/payShop/deleteBatch', + importExcel = '/payShop/payShop/importExcel', + exportXls = '/payShop/payShop/exportXls', +} +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; +/** + * 列表接口 + * @param params + */ +export const list = (params) => + defHttp.get({url: Api.list, params}); + +/** + * 删除单个 + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} +/** + * 批量删除 + * @param params + */ +export const batchDelete = (params, handleSuccess) => { + Modal.confirm({ + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} +/** + * 保存或者更新 + * @param params + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({url: url, params}); +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.data.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.data.ts new file mode 100644 index 0000000..0d591b2 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShop.data.ts @@ -0,0 +1,91 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '图片', + align:"center", + dataIndex: 'image', + customRender:render.renderAvatar, + }, + { + title: '标题', + align:"center", + dataIndex: 'title' + }, + { + title: '内容', + align:"center", + dataIndex: 'titleText' + }, + { + title: '级别', + align:"center", + dataIndex: 'classValue' + }, + { + title: '购买人数', + align:"center", + dataIndex: 'num' + }, + { + title: '价格', + align:"center", + dataIndex: 'price' + }, + { + title: '原价', + align:"center", + dataIndex: 'oldPrice' + }, +]; +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '图片', + field: 'image', + component: 'JImageUpload', + componentProps:{ + }, + }, + { + label: '标题', + field: 'title', + component: 'Input', + }, + { + label: '内容', + field: 'titleText', + component: 'Input', + }, + { + label: '级别', + field: 'classValue', + component: 'Input', + }, + { + label: '购买人数', + field: 'num', + component: 'Input', + }, + { + label: '价格', + field: 'price', + component: 'InputNumber', + }, + { + label: '原价', + field: 'oldPrice', + component: 'InputNumber', + }, + { + label: '资源介绍', + field: 'content', + component: 'JCodeEditor', //TODO String后缀暂未添加 + }, +]; diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShopList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShopList.vue new file mode 100644 index 0000000..8447ee0 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/PayShopList.vue @@ -0,0 +1,162 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/components/PayShopModal.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/components/PayShopModal.vue new file mode 100644 index 0000000..f557b7c --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/payShop/vue3/components/PayShopModal.vue @@ -0,0 +1,58 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/controller/ShcoolSubController.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/controller/ShcoolSubController.java new file mode 100644 index 0000000..9c880f4 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/controller/ShcoolSubController.java @@ -0,0 +1,171 @@ +package org.jeecg.modules.shcoolSub.controller; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLDecoder; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import org.jeecg.common.api.vo.Result; +import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.util.oConvertUtils; +import org.jeecg.modules.shcoolSub.entity.ShcoolSub; +import org.jeecg.modules.shcoolSub.service.IShcoolSubService; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import lombok.extern.slf4j.Slf4j; + +import org.jeecgframework.poi.excel.ExcelImportUtil; +import org.jeecgframework.poi.excel.def.NormalExcelConstants; +import org.jeecgframework.poi.excel.entity.ExportParams; +import org.jeecgframework.poi.excel.entity.ImportParams; +import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; +import org.jeecg.common.system.base.controller.JeecgController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; +import org.springframework.web.multipart.MultipartHttpServletRequest; +import org.springframework.web.servlet.ModelAndView; +import com.alibaba.fastjson.JSON; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.jeecg.common.aspect.annotation.AutoLog; + + /** + * @Description: 报修表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Api(tags="报修表") +@RestController +@RequestMapping("/shcoolSub/shcoolSub") +@Slf4j +public class ShcoolSubController extends JeecgController { + @Autowired + private IShcoolSubService shcoolSubService; + + /** + * 分页列表查询 + * + * @param shcoolSub + * @param pageNo + * @param pageSize + * @param req + * @return + */ + //@AutoLog(value = "报修表-分页列表查询") + @ApiOperation(value="报修表-分页列表查询", notes="报修表-分页列表查询") + @GetMapping(value = "/list") + public Result> queryPageList(ShcoolSub shcoolSub, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(shcoolSub, req.getParameterMap()); + Page page = new Page(pageNo, pageSize); + IPage pageList = shcoolSubService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param shcoolSub + * @return + */ + @AutoLog(value = "报修表-添加") + @ApiOperation(value="报修表-添加", notes="报修表-添加") + @PostMapping(value = "/add") + public Result add(@RequestBody ShcoolSub shcoolSub) { + shcoolSubService.save(shcoolSub); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param shcoolSub + * @return + */ + @AutoLog(value = "报修表-编辑") + @ApiOperation(value="报修表-编辑", notes="报修表-编辑") + @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST}) + public Result edit(@RequestBody ShcoolSub shcoolSub) { + shcoolSubService.updateById(shcoolSub); + return Result.OK("编辑成功!"); + } + + /** + * 通过id删除 + * + * @param id + * @return + */ + @AutoLog(value = "报修表-通过id删除") + @ApiOperation(value="报修表-通过id删除", notes="报修表-通过id删除") + @DeleteMapping(value = "/delete") + public Result delete(@RequestParam(name="id",required=true) String id) { + shcoolSubService.removeById(id); + return Result.OK("删除成功!"); + } + + /** + * 批量删除 + * + * @param ids + * @return + */ + @AutoLog(value = "报修表-批量删除") + @ApiOperation(value="报修表-批量删除", notes="报修表-批量删除") + @DeleteMapping(value = "/deleteBatch") + public Result deleteBatch(@RequestParam(name="ids",required=true) String ids) { + this.shcoolSubService.removeByIds(Arrays.asList(ids.split(","))); + return Result.OK("批量删除成功!"); + } + + /** + * 通过id查询 + * + * @param id + * @return + */ + //@AutoLog(value = "报修表-通过id查询") + @ApiOperation(value="报修表-通过id查询", notes="报修表-通过id查询") + @GetMapping(value = "/queryById") + public Result queryById(@RequestParam(name="id",required=true) String id) { + ShcoolSub shcoolSub = shcoolSubService.getById(id); + if(shcoolSub==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(shcoolSub); + } + + /** + * 导出excel + * + * @param request + * @param shcoolSub + */ + @RequestMapping(value = "/exportXls") + public ModelAndView exportXls(HttpServletRequest request, ShcoolSub shcoolSub) { + return super.exportXls(request, shcoolSub, ShcoolSub.class, "报修表"); + } + + /** + * 通过excel导入数据 + * + * @param request + * @param response + * @return + */ + @RequestMapping(value = "/importExcel", method = RequestMethod.POST) + public Result importExcel(HttpServletRequest request, HttpServletResponse response) { + return super.importExcel(request, response, ShcoolSub.class); + } + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/entity/ShcoolSub.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/entity/ShcoolSub.java new file mode 100644 index 0000000..a7ab016 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/entity/ShcoolSub.java @@ -0,0 +1,110 @@ +package org.jeecg.modules.shcoolSub.entity; + +import java.io.Serializable; +import java.io.UnsupportedEncodingException; +import java.util.Date; +import java.math.BigDecimal; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.springframework.format.annotation.DateTimeFormat; +import org.jeecgframework.poi.excel.annotation.Excel; +import org.jeecg.common.aspect.annotation.Dict; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * @Description: 报修表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Data +@TableName("shcool_sub") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="shcool_sub对象", description="报修表") +public class ShcoolSub implements Serializable { + private static final long serialVersionUID = 1L; + + /**主键*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "主键") + private java.lang.String id; + /**创建人*/ + @ApiModelProperty(value = "创建人") + private java.lang.String createBy; + /**创建日期*/ + @ApiModelProperty(value = "创建日期") + private java.util.Date createTime; + /**更新人*/ + @ApiModelProperty(value = "更新人") + private java.lang.String updateBy; + /**更新日期*/ + @ApiModelProperty(value = "更新日期") + private java.util.Date updateTime; + /**楼栋*/ + @Excel(name = "楼栋", width = 15) + @ApiModelProperty(value = "楼栋") + private java.lang.String building; + /**室号*/ + @Excel(name = "室号", width = 15) + @ApiModelProperty(value = "室号") + private java.lang.String room; + /**项目*/ + @Excel(name = "项目", width = 15) + @ApiModelProperty(value = "项目") + private java.lang.String project; + /**姓名*/ + @Excel(name = "姓名", width = 15) + @ApiModelProperty(value = "姓名") + private java.lang.String name; + /**简介*/ + @Excel(name = "简介", width = 15) + @ApiModelProperty(value = "简介") + private java.lang.String context; + /**电话*/ + @Excel(name = "电话", width = 15) + @ApiModelProperty(value = "电话") + private java.lang.String phone; + /**照片*/ + @Excel(name = "照片", width = 15) + @ApiModelProperty(value = "照片") + private java.lang.String image; + /**用户标识*/ + @Excel(name = "用户标识", width = 15) + @ApiModelProperty(value = "用户标识") + private java.lang.String userId; + /**状态*/ + @Excel(name = "状态", width = 15) + @ApiModelProperty(value = "状态") + private java.lang.String state; + /**结单/驳回*/ + @Excel(name = "结单/驳回", width = 15) + @ApiModelProperty(value = "结单/驳回") + private java.lang.String cleckState; + /**驳回原因*/ + @Excel(name = "驳回原因", width = 15) + @ApiModelProperty(value = "驳回原因") + private java.lang.String returnValue; + /**结单结果*/ + @Excel(name = "结单结果", width = 15) + @ApiModelProperty(value = "结单结果") + private java.lang.String successTitle; + /**结单金额*/ + @Excel(name = "结单金额", width = 15) + @ApiModelProperty(value = "结单金额") + private java.math.BigDecimal successPrice; + /**处理说明*/ + @Excel(name = "处理说明", width = 15) + @ApiModelProperty(value = "处理说明") + private java.lang.String sucessText; + /**照片*/ + @Excel(name = "照片", width = 15) + @ApiModelProperty(value = "照片") + private java.lang.String successImage; +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/ShcoolSubMapper.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/ShcoolSubMapper.java new file mode 100644 index 0000000..c6b0a82 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/ShcoolSubMapper.java @@ -0,0 +1,17 @@ +package org.jeecg.modules.shcoolSub.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import org.jeecg.modules.shcoolSub.entity.ShcoolSub; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 报修表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +public interface ShcoolSubMapper extends BaseMapper { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml new file mode 100644 index 0000000..a05ada2 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/IShcoolSubService.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/IShcoolSubService.java new file mode 100644 index 0000000..6e124e1 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/IShcoolSubService.java @@ -0,0 +1,14 @@ +package org.jeecg.modules.shcoolSub.service; + +import org.jeecg.modules.shcoolSub.entity.ShcoolSub; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @Description: 报修表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +public interface IShcoolSubService extends IService { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/impl/ShcoolSubServiceImpl.java b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/impl/ShcoolSubServiceImpl.java new file mode 100644 index 0000000..ab90074 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/service/impl/ShcoolSubServiceImpl.java @@ -0,0 +1,19 @@ +package org.jeecg.modules.shcoolSub.service.impl; + +import org.jeecg.modules.shcoolSub.entity.ShcoolSub; +import org.jeecg.modules.shcoolSub.mapper.ShcoolSubMapper; +import org.jeecg.modules.shcoolSub.service.IShcoolSubService; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +/** + * @Description: 报修表 + * @Author: jeecg-boot + * @Date: 2024-08-29 + * @Version: V1.0 + */ +@Service +public class ShcoolSubServiceImpl extends ServiceImpl implements IShcoolSubService { + +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/ShcoolSubList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/ShcoolSubList.vue new file mode 100644 index 0000000..4ac20bb --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/ShcoolSubList.vue @@ -0,0 +1,256 @@ + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubForm.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubForm.vue new file mode 100644 index 0000000..5831aaa --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubForm.vue @@ -0,0 +1,174 @@ + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.Style#Drawer.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.Style#Drawer.vue new file mode 100644 index 0000000..5f63f7f --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.vue new file mode 100644 index 0000000..eaf4dab --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue/modules/ShcoolSubModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.api.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.api.ts new file mode 100644 index 0000000..744c4ad --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.api.ts @@ -0,0 +1,61 @@ +import {defHttp} from '/@/utils/http/axios'; +import {Modal} from 'ant-design-vue'; + +enum Api { + list = '/shcoolSub/shcoolSub/list', + save='/shcoolSub/shcoolSub/add', + edit='/shcoolSub/shcoolSub/edit', + deleteOne = '/shcoolSub/shcoolSub/delete', + deleteBatch = '/shcoolSub/shcoolSub/deleteBatch', + importExcel = '/shcoolSub/shcoolSub/importExcel', + exportXls = '/shcoolSub/shcoolSub/exportXls', +} +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; +/** + * 列表接口 + * @param params + */ +export const list = (params) => + defHttp.get({url: Api.list, params}); + +/** + * 删除单个 + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} +/** + * 批量删除 + * @param params + */ +export const batchDelete = (params, handleSuccess) => { + Modal.confirm({ + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} +/** + * 保存或者更新 + * @param params + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({url: url, params}); +} diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.data.ts b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.data.ts new file mode 100644 index 0000000..76c738f --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSub.data.ts @@ -0,0 +1,166 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '楼栋', + align:"center", + dataIndex: 'building' + }, + { + title: '室号', + align:"center", + dataIndex: 'room' + }, + { + title: '项目', + align:"center", + dataIndex: 'project' + }, + { + title: '姓名', + align:"center", + dataIndex: 'name' + }, + { + title: '简介', + align:"center", + dataIndex: 'context' + }, + { + title: '电话', + align:"center", + dataIndex: 'phone' + }, + { + title: '照片', + align:"center", + dataIndex: 'image', + customRender:render.renderAvatar, + }, + { + title: '用户标识', + align:"center", + dataIndex: 'userId' + }, + { + title: '状态', + align:"center", + dataIndex: 'state' + }, + { + title: '结单/驳回', + align:"center", + dataIndex: 'cleckState' + }, + { + title: '驳回原因', + align:"center", + dataIndex: 'returnValue' + }, + { + title: '结单结果', + align:"center", + dataIndex: 'successTitle' + }, + { + title: '结单金额', + align:"center", + dataIndex: 'successPrice' + }, + { + title: '处理说明', + align:"center", + dataIndex: 'sucessText' + }, + { + title: '照片', + align:"center", + dataIndex: 'successImage' + }, +]; +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '楼栋', + field: 'building', + component: 'Input', + }, + { + label: '室号', + field: 'room', + component: 'Input', + }, + { + label: '项目', + field: 'project', + component: 'Input', + }, + { + label: '姓名', + field: 'name', + component: 'Input', + }, + { + label: '简介', + field: 'context', + component: 'InputTextArea',//TODO 注意string转换问题 + }, + { + label: '电话', + field: 'phone', + component: 'Input', + }, + { + label: '照片', + field: 'image', + component: 'JImageUpload', + componentProps:{ + }, + }, + { + label: '用户标识', + field: 'userId', + component: 'Input', + }, + { + label: '状态', + field: 'state', + component: 'Input', + }, + { + label: '结单/驳回', + field: 'cleckState', + component: 'Input', + }, + { + label: '驳回原因', + field: 'returnValue', + component: 'Input', + }, + { + label: '结单结果', + field: 'successTitle', + component: 'Input', + }, + { + label: '结单金额', + field: 'successPrice', + component: 'InputNumber', + }, + { + label: '处理说明', + field: 'sucessText', + component: 'Input', + }, + { + label: '照片', + field: 'successImage', + component: 'Input', + }, +]; diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSubList.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSubList.vue new file mode 100644 index 0000000..a01f737 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/ShcoolSubList.vue @@ -0,0 +1,162 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/components/ShcoolSubModal.vue b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/components/ShcoolSubModal.vue new file mode 100644 index 0000000..be54a26 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/shcoolSub/vue3/components/ShcoolSubModal.vue @@ -0,0 +1,58 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/config/shiro/ShiroConfig.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/config/shiro/ShiroConfig.class index 8f7712f25f48706c43ebca57d0fd5b1d8cf9d533..7e83e9b3f9d25d8c86dbcce465b572a845b56da5 100644 GIT binary patch delta 3394 zcmZ`*33O9c8veeQ<-NYXmJ(>CMN4sj!?Y=N7!L~0D9#{mrA1^bD3C(wVri-cWDx=? zAhP=q1PjP!5tOZ%QX(iQyDW-=3L>DRfVhJQ6*~V-%5pd}Imx~M{rCHCH-~$!%;~u6 z@`g&!Hf#ZF>@Sq8HWc2?jcYU!euM|E~J z(Ovn_o!xYHH<2Tbv4@G?3fY@I1;ZRg?q!OB-U@mwp!0DPxr!r~ebmy|U_Z6{bmp2U zP&)dXC{i3nxTIVgU@$M51DUV0z(lE{l(SGE78!g(?Zpl_V%jTckiilq<2PB#Crv)Z zvS<$G5S>F!j6zL7;hz?e!xS`JK_e72QbEtCWt2LOHW}a;bsVenSrZeLU(cDCgc=XP ziAw2p8^@|;sya^7Io;$8zN8l0=XCc{=Co2r9xN_Y#*mR2xxL)b|A*zu*zk%Pe z0I%6`4gVRn-Qo^KX>K1kn^7F*pr(9<7pprhs&n$i}m**D>I;@~0YWY&d`lu3L zVeu=jx9^Vc+UQsukJoeaL>#}i_zlIGZ~2|l-X}T5-WA_2W;st_% z+~Zr*f64cu3%TV8C9{tYx4ZMx%#}h(4H! zz7no}a#K6Nm?6B*6zg=EfdqU9(YO1g{=+3Ol=ruYtLbxHWl-=Iar`A!6I!HmTDWY zOxubT+CIFc9l=WNJXUF!u*P9vog)@+I~pSBNJLdQS%Jq8g-k@F66*wNjWoG?P|_qx zs!O1Ps<2)XX*e378XF|%@eVgact_IORJ(|cBI^`$nb;&aml(YV?@IjK*esz=xXQl; zjykUQ#li&%Ki1Bf=yU|}czU8Uh(4+c`+8G@=of@9T#b>&3AB)?L!xF# z6k{YN@z^Ri-iBt_j#TWBhTDZZqz+YQ-5#-e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Rf2&8;~Xln zS~^zO_yHlYbxOE2tP!3|fvOR)O!HuCSgytc1%&I`A^wg9fI){)cn=Tn4WXZE@3umI! z5k$9!iOwLpYuNQjO%9@G5WT|iGc^2AUy2SaL%<_7tRgi{kP6n3iq?}_CQB84Qp09~ zLEWsTk*GKOg67zPFLYnovH4* zc!_4}5!oK>lTbPVugJE^^K02hs=FUC0qn;&BG5@Bg^dAE2>m39{yHSX)rt&|ePK76 z)^3OcI2dhAC$V%0FD`^!vCIoMX22cgt{N5}l$^hnoDYR_P13vo;%=2SE?i7qRwZhO z#OGhIaXYlUv?KwYbfKu}GdEa{f!;xt7;H!r^CgLbv=nK3VGu)7yhTA2r+9}3G3<^y z)|PuB@sG>UJ0Zn6DP=n)H8>;KID1Di8$|Q-N^uX%Ad;87ez{3d3C|0HBMr%uI{ff( zco~;Z2QgwJ5~5TPBP(URU={?Uqb0Rx(o-X%XM+KZiPC`}#zx6;L5xoo3{Qw?ODW_oEXHU)U;BJ3SqMNdOkgbDe`0Q}E!9QX^3ydM8A09QsRJe-2~s zWVDUPg&(oiGtvr(lZe_WQQIJ_`{1sB4Xp)(r!T{K9oa&iQ8*iSLsX6M>^moF`bI_Z z7;oxVd;}245IBVIU~&jEvt&NKD&NLni1lBLw`3LGEXP3Y`pz4hB8B-)c!s<y$S(tqgM;HaffN4+IvfoG diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/controller/PayOrderController.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/controller/PayOrderController.class new file mode 100644 index 0000000000000000000000000000000000000000..eef42e5491dab3f2f5d403a58b1533599e5769c8 GIT binary patch literal 7269 zcmd5>>30*?75|Ml$+8UCl*K7fprIIJ7-&qAVu#ca783&og9(tf8A}f_Sk{P{kr%pT z2SY<3ZOBT?(xjzn8%RUI21>f8P4|B3KTtd7Q$P2do}S+OW=0xp$+FUZXgHot_uc!u z%e%|VhyT8Q3qS+@8p3=Wt-t_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WoTWx`R6KvrdHk~_H546G--_LEK{ zTBrf8-MpDkCGN>+H0d3!;8blMjMVS=2hTjzK8?I#IiC^62v9IDqlnj!`VSbW<=*!2 zn10DMf4Qq2a@>D@^CPMAD8$R6~kdp|lSsb_iqsskg=W9PD*3`fbjG7 zuWY1bIhW2+fg;?+iBmpNnE^4N=Q6r~hVCJ{Q*EQ`5_(hVuF$=-?i!SL=%EO8bY)^- zC6>}P>=2+H%jiwPa#~a>7ypgug7j_G(wdSX6e$=)@#@kWDA`kg6{XKEY#{s_iTx%ic!$H>6-;8Vf*>)lRroCK zA*lS+Ku_HGucCkV5~oVi?LOR35a(kCmDkk-Ql-B}G$DWoh;lyBJ5+1ZR1c=9K2KE5 zL{(Kn;y{A!dm7(9=Wox85Su8~L({psn8r#X<`<6Xhb-O2NZK)M^o* zEf%(B-W&LRo1|#NcGsXSM9W%LvB8!OAykCj)fIyXv#}h{ge1W(RG>o|X{NIvZKNvK zNUTDsB2{o;?~t$;k?!pb)WS{=|4zog6T8y*J0$)9N5*c6@R6JdD;eRGEC?fnF#2&2 zHe?X)@euA|gnO`;bagDe50CCck-!)5MZSD#Ea1nW_OCAuFta9Phbk3M>S4jHvJzVPBOeFiAfs&TsStLf~hi~i(t_2K`8&i z>;RJEeQ{{)t~6O4)3+CXw`UV7?7KjkczypirKxm-%VhB;&9Ui8T= zPs=S&%Pq%Ye3`uAlY5x>IidO$X`b0qzPE|K%9}`W_D>LBOV@-2M8*G=SI-^9ym#>_ qt_w6G(ABZP3Igh|eVoFNGt-lj{XF{q6j44cv*0s$mVV2qd*nYCotEJM literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/entity/PayOrder.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/entity/PayOrder.class new file mode 100644 index 0000000000000000000000000000000000000000..7d4706c3d567a509eab8b55568e6e7bee54329dd GIT binary patch literal 6832 zcmcIodw3Mp6+e^g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yrYR)xM^`NI}G(xT_ zR92x9g;k3Yc2y`sX%+TVx}mx%wX8yE3aj}>#8sgxrB%dJEij_4Dq2>dR)y6Hi&|82uZ? z_XLo}$ys+DHNFEu0LiH+NJ#uw`a5`OWnRaECJK54j}w?KlC)42t-`F8N^*EQxx)8R zNE3C2NyW-vCk-Qhh85d)RZH{eyO>uzyca_{iM_j%il4KPq$}+`T~)lDohKc}&*re= mb5>NiMHWBlHkX6$&vO1b{1kE=zs0|c6s=?MeL7U6AN&s=^@k7u literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/mapper/PayOrderMapper.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/mapper/PayOrderMapper.class new file mode 100644 index 0000000000000000000000000000000000000000..c6477c1f464771d98677e33e5d34cb86a553dff1 GIT binary patch literal 334 zcmb7AK~BR!44kE + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/service/IPayOrderService.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/service/IPayOrderService.class new file mode 100644 index 0000000000000000000000000000000000000000..8e4a9061819b7cb9bdcccffd07fcdc941be6adb5 GIT binary patch literal 347 zcmbVIIS#@=4D@n^qoLs&xPUH*5(z01NO{3#V?`S!yU`wqe2sz!@F>J`78Dc|wr6B{ zG~>(lbOwMWOd=RYFp6NzV3f*2apw&&@JY!J94oF0++`&R7bim3m~mapTzjnBj5}$Y z%3GwPBW0ylXvrL;Al#-;uu8Nkup|-%);jkUS!{T_GdUR~<)mwI|KjmFW-v~*H-a{@ w3MOXT_wFS(znfyP_#ygn@O8>y`kg2U{Sj%vfI%lzH#`sm>OFcN29Fut0MO`ex&QzG literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/service/impl/PayOrderServiceImpl.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payOrder/service/impl/PayOrderServiceImpl.class new file mode 100644 index 0000000000000000000000000000000000000000..af3fec9ebd26486ca2ff62482ea90dd2170705cd GIT binary patch literal 780 zcmbtSO-~y!5Pc?uK*~o$0nsD3&;vfuTOd+}R0%1CilE%RyF+SN+bi2ko1ew0QV;zB z9Qi?2XSYdJI7F2qOJl$18PA*XJpTIe6To}ywb8(K3vXK3X<=7jEm1m_#${zrK^AIq=`->& zkiXX{No|T;ex9{sM6W;BdsgWAEW=b77uX)U(x>!MSDoB{abGpz z=vLh;fwxyBr!+LuL35WsSnDE}?<_aDTPqEP*LHm4m7%ZB-^mcklZ%sr`Jtg@}HfezN#uGi-# X+IYpN!MO6;z-GN~;Wh7-e+T#tGb8Y7 literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/controller/PayShopController.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/controller/PayShopController.class new file mode 100644 index 0000000000000000000000000000000000000000..b35e5e617069d826edf729e684d6c5a91066318e GIT binary patch literal 7228 zcmd5>*?SY$75|Ml$+8UCl*K7fprP2tFwhv1Vu#ca783&og9*?jW9cFf$Qm&-@D2y5r1(hv^8Bwk1{`v!IixG(kvq8a>xYpO!X~f%v*{z3!f`=s4 z0U<&WwaW-6qQX*L8r5=$)aKSvlZZ{#jzrAXyF|Ng=^atg6pI}h#bEihqq-r58+OC;8zq^A)cBh^apIM=h5wlGr8WpDMsi6j;ovK!tS7f z9fA;8c0-LvZpi5BGGeM0*VS%A-65<*)F!Mx*GUR$J;Y-@I0htHI8NGaH55$GfKGv* zKey?J$;O4IIHX{)B+HFhK~NfRx2eVB!c_2R3jtRUOrhJDv0^Vk8P0v$GMswuo62b1HF-=oDQvMUTlaB)3Eaagq8s&RmwA zlLXWyY%Q$W8b`aFJF~^`23cP`8EASAP7|uun7_BykOH0AW#!a=lA`uz7nQ+4lVm<^ zi?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Typ{MT=T!Gy{r$LccbEfb28@~XE? zZI0U&%i9XS%2%yeOApdRNRC^aMPG+hLw>QEb|8nfbf`EMTZ6ajG1xdeA-QR_@Y60x z9{e=(20a4Fi_dd3j8?;9AEw=qeDob`xDiNxdW9~cM3In ztpa-|f{S;Qk(e)~a(^CA%85BCoHGy!hq^;Gl*GS3N{=lmqj@Kqv-J gT1Eex*3XFi^WC>lD)8Ikx3Rx#Sa^z_&eC`P2V?Bdh5!Hn literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/mapper/PayShopMapper.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/mapper/PayShopMapper.class new file mode 100644 index 0000000000000000000000000000000000000000..51f11bbb3e0cfcf136390aeedba7a39f5040c176 GIT binary patch literal 329 zcmb7Av2MaZ4D~@Fg)XQcf)}<_3>`Y9qEf!VIjnF|ENT){)PceF zvn)Tq=b!WO1OOX&$>2GIMFvX+i_+8`h3Hv<6b*e7w$#HO<;a$#EkX;HBLpYMA7W=p~9-h+aq^&t~;1qvo9rs-Xf(9@V_Fdu973)(PeGynhq literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml new file mode 100644 index 0000000..c122179 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/mapper/xml/PayShopMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/service/IPayShopService.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/service/IPayShopService.class new file mode 100644 index 0000000000000000000000000000000000000000..37927ef84365fe6fc6540f457e4c72484a63a3e9 GIT binary patch literal 342 zcmbVIO>4qH5PfT{@#E4%e}{wUEv3hT5NIL4V6z$GhGaKncg6fQ5B>muRB5UrD0uNO zGjAB?&3kkF-5&s~FpDsbFo`e~n54Qe(ubA>TvE!dq)M8CzO#~*j}v8U%A~DzZUfa_ zCcSn|6&&%-vvJxQa@=mUVp^wX@R8WIppsb?RNFjM?5L4ly0Hzh@!EIvb8h3$SYVpk z&?^4YRWIRveHmT2=KqQW7LOUP*KZdE-tNr^ET3>Q5)c^l@zVbeJsO_!D@Lap{Q+BJ BY|8)u literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/service/impl/PayShopServiceImpl.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/payShop/service/impl/PayShopServiceImpl.class new file mode 100644 index 0000000000000000000000000000000000000000..c9b8bbd73216d11c6c320de26bd58a086e62bdda GIT binary patch literal 767 zcmbtSO=}x55Pgcj630zy_lq8Tb9;yg^itLsN}v$fmQokrwd<*)bR{j4HjRH)PK6%& z14@5W$m}MDItLe81S7qtK{M}ZeqI0g3E(xJ_R+$qhetg;?%|0*ccQJ1Q-Rj_stNMxw=pS z&p%aM&d^*3&E~$f)NKAl_8QR7gr_8I|GsdI_L_#`RA|T zfBX;g1&;q-`JO{~fgK)4o;sdQ!HX4e>@kuJ20E|4LtHVjgI$jGH88{;$3b)MppSh< TEyi`$0~|E_As+Hx=MRA!-%jge literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/controller/ShcoolSubController.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/controller/ShcoolSubController.class new file mode 100644 index 0000000000000000000000000000000000000000..d238bf8fe22698f35722550ea1f58e57873f381d GIT binary patch literal 7226 zcmd5>`+pQy75`3N`^fT0D3DY@s3HLZ0~*>&C^b+Xp#cJcP(W)ZyO+(t?9MVX8wfu7 zu#|_TQ0>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ttV15!) z@KgYEy&nek*cZgSuQ+BShuL7vMgVha1m=A?%xNEUmJsvuo9Tt@v@&W@pD7<%hEh`Qhsg`eT5g1;;x@CzUtS6IYh<(BDFL7G3z~ioa=%Ts0&L7sLS?A d3O~+FPfPZ*X#5$X{F=;y&*CtB%d7j`{{Y|kYexV8 literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/entity/ShcoolSub.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/entity/ShcoolSub.class new file mode 100644 index 0000000000000000000000000000000000000000..bc4ec24af68321d9f6066b6584443a64356d200d GIT binary patch literal 12330 zcmds7d3;>ebw2lLM)PJgqkZx7Dp@0I_rw_E_zC0PAYvI~*-jjqz(|@%V@nz_ix;w# zB>_Uh792=15J({=scS=mZETY`NgHU>y=j}YX=q3-*>0P3Ujw1vdH2qHvpisI`d9sv z?>qOL@B7|+_nv#tosqux%TwPZqRYhx0(6ZC`DwkV^jqX_Aum9OCdoNc;T#MgFRbnvy4BVD@a z=1z|;dilCo7ZJX`M;A-@dYLYk^7V3EEaU4Hx>(NF_v&H=Urk-~@%2hwtmNxex>&{6 z)w)>2*R{G>$Jh0`*ud9~y11IJ*XW|3uh;70eSF=divfO~%|3A*_qXs+UC+%{pBVIs zZGx&(v1B|tz9W`Q#S@d;`_~H+*9r=)OH8KH(aH3V=y)dP#X$2vAxMjl2&&z*E4n8d z8IMkmMh4T#_~dAxAY*H0G990Y?TDx1L*ubElaq;bG!4;|px#ZxiHXQiG%*n$Nn|1u z`-c!oO^s(#k*JM}Y>R@|KLRaJdjC{RP)|v;{*i4!gXLc{IM{#n<{SAXIyc1=k<{Mk z=x8jNbB|PH%~X6KF%lc!l1xm+lIi{6dH3*33MxPQ;^_+qjtJ6+ld)(zwst=>r|&*E zefredQ>O$4qGIQ{SnTMZ~D$*@g zf-+!JhBEQ-5sasx$fiVcG_ore8y@{gGCC34n@H}COeN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!p-mO%kTD+Na5};*KdfEO@-^zYZMCgzs^}ID4dlzFONe}i#cClIoIj~yGCn7 literal 0 HcmV?d00001 diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml new file mode 100644 index 0000000..a05ada2 --- /dev/null +++ b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/mapper/xml/ShcoolSubMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/service/IShcoolSubService.class b/jeecg-boot-base/jeecg-boot-base-core/target/classes/org/jeecg/modules/shcoolSub/service/IShcoolSubService.class new file mode 100644 index 0000000000000000000000000000000000000000..926503af222c86b045054d0df87c3229a5b2e9f1 GIT binary patch literal 352 zcmbVIyG{c!5FGQ!k))yGGuQ&C4pAaSIw^&}z~`(EpL||)wgdS!ihMvmD#{TOBBh|9 z*xk{rb~Lk_?bjN>Bc=sz3XBU(6vo;$!KB=?!bjDbr6F%ZL-V?2o65>cN41g8EhJO7 zs!ek7-RDUBnK(ozfg<-yXPIXD2Rv8OH`FrQhB{ef&ynJr74bUP#38w~B7G#vmr`M( zCHIzJogZx6&3=~$#rtnx3QvFOo?IN25623(=dlzX{*h~>pl~tNQ)&TVOWqrCGVvwRrONO|9<}gaD?qHT3GL3ql3*3wgl!*wAJxcptZN(7nnVF z0}@#6X-nTLlaaqsS;5SD&*iGDoOyBABmAzy#5m-p|(5hH@&h)pJJ0mmYj2^g3no*{r4rNgVNk1alpq-s~ zbo|!I)KZKpOY-9)t{R+7jUgL#9F1d=)9L>2?Osl{%58R2SNWVSbgk&lq(iO6;k|lP ze0N=OT0?yuG|PQvt&6OJv#j=BQ*J1|w!>Sm3_UsjAVVZiE{;l)Z_*}9Xk$*`>!&_P zAo;|12ps=U_77TN7c)GlJdZrJf){tfw!=s^7-%2-g80eA4CdL^*T5PU*e*5aHo913 U)M8wFEn}tGSMi1S+J6mr0h@dE^8f$< literal 0 HcmV?d00001 diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayApiIndexController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayApiIndexController.java new file mode 100644 index 0000000..2393dc6 --- /dev/null +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayApiIndexController.java @@ -0,0 +1,76 @@ +package org.jeecg.modules.api.payController; + + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; +import org.jboss.jandex.Index; +import org.jeecg.common.api.vo.Result; +import org.jeecg.modules.apiservice.IndexApiService; +import org.jeecg.modules.apiservice.InfoApiService; +import org.jeecg.modules.bean.WaterPageBean; +import org.jeecg.modules.hanHaiMember.entity.HanHaiMember; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; + +@Api(tags="知识付费小程序-接口部分") +@RestController +@RequestMapping("/pay-api/info") +@Slf4j +public class PayApiIndexController { + + + //获取个人中心接口 + @Resource + private InfoApiService infoApiService; + + //获取首页接口 + + @Resource + private IndexApiService indexApiService; + + //获取个人信息接口 + @ApiOperation(value="小程序-获取个人信息接口", notes="小程序-获取个人信息接口") + @GetMapping("/getInfo") + public Result getInfo(@RequestHeader("X-Access-Token") String token) + { + return infoApiService.getInfo(token); + } + + + //修改个人信息接口 + @ApiOperation(value="小程序-修改个人信息接口", notes="小程序-修改个人信息接口") + @PostMapping("/updateInfo") + public Result updateInfo(@RequestHeader("X-Access-Token") String token, HanHaiMember bean) + { + return infoApiService.updateInfo(token,bean); + } + + + //获取商品信息 + @ApiOperation(value="小程序-获取商品信息", notes="小程序-获取商品信息") + @GetMapping("/getPayShopOne") + public Result getPayShopOne(){ + return indexApiService.getPayShopOne(); + } + + //获取订单列表 + @ApiOperation(value="小程序-获取订单列表", notes="小程序-获取订单列表") + @GetMapping("/getPayOrderPage") + public Result getPayOrderPage(@RequestHeader("X-Access-Token") String token, WaterPageBean bean){ + return indexApiService.getPayOrderPage(token,bean); + } + + + //创建支付订单 + @ApiOperation(value="小程序-创建支付订单", notes="小程序-创建支付订单") + @PostMapping("/createPayOrder") + public Result createPayOrder(@RequestHeader("X-Access-Token") String token,String shopId,Integer num){ + return indexApiService.createPayOrder(token,shopId,num); + } + + + + +} diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayLoginController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayLoginController.java new file mode 100644 index 0000000..cc9d632 --- /dev/null +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/payController/PayLoginController.java @@ -0,0 +1,51 @@ +package org.jeecg.modules.api.payController; + + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; +import org.jeecg.common.api.vo.Result; +import org.jeecg.modules.apiservice.LoginApiService; +import org.jeecg.modules.bean.LoginReq; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.annotation.Resource; + +@Api(tags="知识付费小程序-登录相关接口") +@RestController +@RequestMapping("/pay-api/login") +@Slf4j +public class PayLoginController { + + + //授权登录 + @Resource + private LoginApiService loginApiService; + + + //小程序授权登录 + @ApiOperation(value="小程序-登录接口", notes="小程序-登录接口") + @GetMapping("/login") + public Result login(LoginReq loginReq){ + return loginApiService.login(loginReq); + } + + + //获取用户协议 + @ApiOperation(value="小程序-获取用户协议", notes="小程序-获取用户协议") + @GetMapping("/getUserAgreement") + public Result getUserAgreement(){ + return loginApiService.getUserAgreement(); + } + + + //获取隐私政策 + @ApiOperation(value="小程序-获取隐私政策", notes="小程序-获取隐私政策") + @GetMapping("/getPrivacyPolicy") + public Result getPrivacyPolicy(){ + return loginApiService.getPrivacyPolicy(); + } + +} diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/schoolcontroller/SchoolApiController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/schoolcontroller/SchoolApiController.java new file mode 100644 index 0000000..d79e974 --- /dev/null +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/schoolcontroller/SchoolApiController.java @@ -0,0 +1,66 @@ +package org.jeecg.modules.api.schoolcontroller; + + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; +import org.jeecg.common.api.vo.Result; +import org.jeecg.modules.apiservice.IndexApiService; +import org.jeecg.modules.bean.WaterPageBean; +import org.jeecg.modules.shcoolSub.entity.ShcoolSub; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.annotation.Resource; + +@Api(tags="报修小程序-报修相关接口") +@RestController +@RequestMapping("/school-api") +@Slf4j +public class SchoolApiController { + + + //获取首页接口 + + @Resource + private IndexApiService indexApiService; + + + //增加报修单 + @ApiOperation(value="小程序-增加报修单", notes="小程序-增加报修单") + @GetMapping("/addSchoolOrder") + public Result addSchoolOrder(ShcoolSub bean){ + return indexApiService.addSchoolOrder(bean); + } + + //驳回 + @ApiOperation(value="小程序-驳回", notes="小程序-驳回") + @GetMapping("/editSchoolOrderError") + public Result editSchoolOrderError(ShcoolSub bean){ + return indexApiService.editSchoolOrderError(bean); + } + + //结单 + @ApiOperation(value="小程序-结单", notes="小程序-结单") + @GetMapping("/editSchoolOrderSuccess") + public Result editSchoolOrderSuccess(ShcoolSub bean){ + return indexApiService.editSchoolOrderSuccess(bean); + } + + + //列表 + @ApiOperation(value="小程序-报修列表", notes="小程序-报修列表") + @GetMapping("/getSchoolOrderPage") + public Result getSchoolOrderPage(String state, WaterPageBean bean){ + return indexApiService.getSchoolOrderPage(state,bean); + } + + + + + + + + +} diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/IndexApiService.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/IndexApiService.java index 794e4e1..259e59d 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/IndexApiService.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/IndexApiService.java @@ -2,8 +2,10 @@ package org.jeecg.modules.apiservice; import org.jeecg.common.api.vo.Result; import org.jeecg.modules.apiBean.ActorSetPageBean; +import org.jeecg.modules.apiBean.OrderPayBean; import org.jeecg.modules.apiBean.TrendsBean; import org.jeecg.modules.bean.WaterPageBean; +import org.jeecg.modules.shcoolSub.entity.ShcoolSub; public interface IndexApiService { @@ -32,4 +34,35 @@ public interface IndexApiService { //获取投诉原因 Result getComplaintReason(); + //获取商品信息 + Result getPayShopOne(); + + //获取订单列表 + Result getPayOrderPage(String token, WaterPageBean bean); + + + //创建支付订单 + Result createPayOrder(String token, String shopId,Integer num); + + + + + //增加报修单 + Result addSchoolOrder(ShcoolSub bean); + + //驳回 + Result editSchoolOrderError(ShcoolSub bean); + + //结单 + Result editSchoolOrderSuccess(ShcoolSub bean); + + + //列表 + Result getSchoolOrderPage(String state,WaterPageBean bean); + + + + + + } diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/impl/IndexApiServiceImpl.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/impl/IndexApiServiceImpl.java index c7921a8..6e5eefe 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/impl/IndexApiServiceImpl.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/apiservice/impl/IndexApiServiceImpl.java @@ -1,6 +1,7 @@ package org.jeecg.modules.apiservice.impl; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import org.apache.commons.lang.StringUtils; import org.jeecg.common.api.vo.Result; import org.jeecg.common.util.RedisUtil; import org.jeecg.config.shiro.ShiroRealm; @@ -25,9 +26,17 @@ import org.jeecg.modules.hanHaiMember.service.IHanHaiMemberService; import org.jeecg.modules.hanHaiWater.entity.HanHaiWater; import org.jeecg.modules.hanHanBanner.entity.HanHaiBanner; import org.jeecg.modules.hanHanBanner.service.IHanHaiBannerService; +import org.jeecg.modules.payOrder.entity.PayOrder; +import org.jeecg.modules.payOrder.service.IPayOrderService; +import org.jeecg.modules.payShop.entity.PayShop; +import org.jeecg.modules.payShop.service.IPayShopService; +import org.jeecg.modules.shcoolSub.entity.ShcoolSub; +import org.jeecg.modules.shcoolSub.service.IShcoolSubService; import org.springframework.stereotype.Service; import javax.annotation.Resource; +import java.math.BigDecimal; +import java.util.Date; import java.util.List; @Service @@ -131,4 +140,120 @@ public class IndexApiServiceImpl implements IndexApiService { } + + + @Resource + private IPayShopService payShopService; + @Resource + private IPayOrderService payOrderService; + + + //获取商品信息 + @Override + public Result getPayShopOne(){ + PayShop payShop = payShopService.list().get(0); + return Result.OK("查询成功",payShop); + } + + //获取订单列表 + @Override + public Result getPayOrderPage(String token, WaterPageBean bean){ + HanHaiMember hanHaiMember = shiroRealm.checkUserTokenIsEffectHanHaiOpenId(token); + Page page = new Page(bean.getPageNo(), bean.getPageSize()); + Page pageList = payOrderService + .lambdaQuery() + .orderByDesc(PayOrder::getCreateTime) + .eq(PayOrder::getUserId,hanHaiMember.getId()) + .page(page); + return Result.OK("订单列表",pageList); + } + + + //创建支付订单 + @Override + public Result createPayOrder(String token, String shopId,Integer num){ + HanHaiMember hanHaiMember = shiroRealm.checkUserTokenIsEffectHanHaiOpenId(token); + //判断商品标识不能为空 + if(StringUtils.isBlank(shopId)){ + return Result.error("商品标识不能为空"); + } + //判断数量不能为空 + if(num == null){ + return Result.error("数量不能为空"); + } + //判断数量不能为空 + if(num < 1){ + return Result.error("购买数量不能小于1"); + } + + //查询当前商品信息 + PayShop byId = payShopService.getById(shopId); + + //创建支付订单 + PayOrder order = new PayOrder(); + order.setCreateTime(new Date()); + order.setPrice(byId.getPrice().multiply(new BigDecimal(num))); + order.setNum(num); + order.setUserId(hanHaiMember.getId()); + order.setTitle(byId.getTitle()+"购买"); + + payOrderService.save(order); + return Result.OK("订单创建成功"); + } + + + + + + @Resource + private IShcoolSubService shcoolSubService; + + //增加报修单 + @Override + public Result addSchoolOrder(ShcoolSub bean){ + shcoolSubService.save(bean); + return Result.OK("增加成功"); + } + + //驳回 + @Override + public Result editSchoolOrderError(ShcoolSub bean){ + if(StringUtils.isBlank(bean.getId())){ + return Result.error("订单标识不能为空"); + } + shcoolSubService.updateById(bean); + return Result.OK("驳回成功"); + } + + //结单 + @Override + public Result editSchoolOrderSuccess(ShcoolSub bean){ + if(StringUtils.isBlank(bean.getId())){ + return Result.error("订单标识不能为空"); + } + shcoolSubService.updateById(bean); + return Result.OK("结单成功"); + } + + + //列表 + @Override + public Result getSchoolOrderPage(String state,WaterPageBean bean){ + Page page = new Page(bean.getPageNo(), bean.getPageSize()); + Page pageList = shcoolSubService + .lambdaQuery() + .orderByDesc(ShcoolSub::getCreateTime) + .page(page); + + if(StringUtils.isNotBlank(state)){ + pageList = shcoolSubService + .lambdaQuery() + .orderByDesc(ShcoolSub::getCreateTime) + .eq(ShcoolSub::getState,state) + .page(page); + } + return Result.OK("订单列表",pageList); + } + + }