diff --git a/ant-design-vue-jeecg/src/views/customermeasure/admin/CustomerMeasureList.vue b/ant-design-vue-jeecg/src/views/customermeasure/admin/CustomerMeasureList.vue new file mode 100644 index 00000000..aaec7697 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/admin/CustomerMeasureList.vue @@ -0,0 +1,258 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue new file mode 100644 index 00000000..c5d86e26 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue @@ -0,0 +1,199 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureModal.vue b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureModal.vue new file mode 100644 index 00000000..9d99c79d --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureModal__Style#Drawer.vue new file mode 100644 index 00000000..c83433ad --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/admin/CustomerPaymentList.vue b/ant-design-vue-jeecg/src/views/customerpayment/admin/CustomerPaymentList.vue new file mode 100644 index 00000000..59f896df --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/admin/CustomerPaymentList.vue @@ -0,0 +1,246 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentForm.vue b/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentForm.vue new file mode 100644 index 00000000..606f52e3 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentForm.vue @@ -0,0 +1,119 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentModal.vue b/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentModal.vue new file mode 100644 index 00000000..23e63743 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentModal__Style#Drawer.vue new file mode 100644 index 00000000..1131f243 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/CustomerReceivingAddressList.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/CustomerReceivingAddressList.vue new file mode 100644 index 00000000..08c501e2 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/CustomerReceivingAddressList.vue @@ -0,0 +1,250 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressForm.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressForm.vue new file mode 100644 index 00000000..64802266 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressForm.vue @@ -0,0 +1,143 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressModal.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressModal.vue new file mode 100644 index 00000000..40d6de4b --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressModal__Style#Drawer.vue new file mode 100644 index 00000000..e7b8eaa1 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/controller/CustomerMeasureController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/controller/CustomerMeasureController.java new file mode 100644 index 00000000..57659d5a --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/controller/CustomerMeasureController.java @@ -0,0 +1,171 @@ +package org.jeecg.modules.demo.customermeasure.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.demo.customermeasure.entity.CustomerMeasure; +import org.jeecg.modules.demo.customermeasure.service.ICustomerMeasureService; + +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: 2022-12-03 + * @Version: V1.0 + */ +@Api(tags="顾客测体管理") +@RestController +@RequestMapping("/customermeasure/customerMeasure") +@Slf4j +public class CustomerMeasureController extends JeecgController { + @Autowired + private ICustomerMeasureService customerMeasureService; + + /** + * 分页列表查询 + * + * @param customerMeasure + * @param pageNo + * @param pageSize + * @param req + * @return + */ + @AutoLog(value = "顾客测体管理-分页列表查询") + @ApiOperation(value="顾客测体管理-分页列表查询", notes="顾客测体管理-分页列表查询") + @GetMapping(value = "/list") + public Result queryPageList(CustomerMeasure customerMeasure, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerMeasure, req.getParameterMap()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerMeasureService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param customerMeasure + * @return + */ + @AutoLog(value = "顾客测体管理-添加") + @ApiOperation(value="顾客测体管理-添加", notes="顾客测体管理-添加") + @PostMapping(value = "/add") + public Result add(@RequestBody CustomerMeasure customerMeasure) { + customerMeasureService.save(customerMeasure); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param customerMeasure + * @return + */ + @AutoLog(value = "顾客测体管理-编辑") + @ApiOperation(value="顾客测体管理-编辑", notes="顾客测体管理-编辑") + @PutMapping(value = "/edit") + public Result edit(@RequestBody CustomerMeasure customerMeasure) { + customerMeasureService.updateById(customerMeasure); + 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) { + customerMeasureService.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.customerMeasureService.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) { + CustomerMeasure customerMeasure = customerMeasureService.getById(id); + if(customerMeasure==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(customerMeasure); + } + + /** + * 导出excel + * + * @param request + * @param customerMeasure + */ + @RequestMapping(value = "/exportXls") + public ModelAndView exportXls(HttpServletRequest request, CustomerMeasure customerMeasure) { + return super.exportXls(request, customerMeasure, CustomerMeasure.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, CustomerMeasure.class); + } + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/entity/CustomerMeasure.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/entity/CustomerMeasure.java new file mode 100644 index 00000000..7e9125bb --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/entity/CustomerMeasure.java @@ -0,0 +1,144 @@ +package org.jeecg.modules.demo.customermeasure.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: 2022-12-03 + * @Version: V1.0 + */ +@Data +@TableName("customer_measure") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="customer_measure对象", description="顾客测体管理") +public class CustomerMeasure implements Serializable { + private static final long serialVersionUID = 1L; + + /**主键*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "主键") + private String id; + /**创建人*/ + @ApiModelProperty(value = "创建人") + private String createBy; + /**创建日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "创建日期") + private Date createTime; + /**更新人*/ + @ApiModelProperty(value = "更新人") + private String updateBy; + /**更新日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "更新日期") + private Date updateTime; + /**所属部门*/ + @ApiModelProperty(value = "所属部门") + private String sysOrgCode; + /**用户*/ + @Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") + @ApiModelProperty(value = "用户") + private String userId; + /**排序*/ + @Excel(name = "排序", width = 15) + @ApiModelProperty(value = "排序") + private Integer sort; + /**身高(厘米)*/ + @Excel(name = "身高(厘米)", width = 15) + @ApiModelProperty(value = "身高(厘米)") + private Double height; + /**体重(千克)*/ + @Excel(name = "体重(千克)", width = 15) + @ApiModelProperty(value = "体重(千克)") + private Double weight; + /**下摆(厘米)*/ + @Excel(name = "下摆(厘米)", width = 15) + @ApiModelProperty(value = "下摆(厘米)") + private Double hem; + /**袖口(厘米)*/ + @Excel(name = "袖口(厘米)", width = 15) + @ApiModelProperty(value = "袖口(厘米)") + private Double cuff; + /**袖长(厘米)*/ + @Excel(name = "袖长(厘米)", width = 15) + @ApiModelProperty(value = "袖长(厘米)") + private Double sleeveLength; + /**胸围(厘米)*/ + @Excel(name = "胸围(厘米)", width = 15) + @ApiModelProperty(value = "胸围(厘米)") + private Double bust; + /**腰围(厘米)*/ + @Excel(name = "腰围(厘米)", width = 15) + @ApiModelProperty(value = "腰围(厘米)") + private Double theWaist; + /**肩宽(厘米)*/ + @Excel(name = "肩宽(厘米)", width = 15) + @ApiModelProperty(value = "肩宽(厘米)") + private Double shoulderWidth; + /**前身长(厘米)*/ + @Excel(name = "前身长(厘米)", width = 15) + @ApiModelProperty(value = "前身长(厘米)") + private Double forebodyLength; + /**领围(厘米)*/ + @Excel(name = "领围(厘米)", width = 15) + @ApiModelProperty(value = "领围(厘米)") + private Double neck; + /**臀围(厘米)*/ + @Excel(name = "臀围(厘米)", width = 15) + @ApiModelProperty(value = "臀围(厘米)") + private Double hipline; + /**衣长*/ + @Excel(name = "衣长", width = 15) + @ApiModelProperty(value = "衣长") + private Double length; + /**胸距*/ + @Excel(name = "胸距", width = 15) + @ApiModelProperty(value = "胸距") + private Double sternalDistance; + /**量体方式*/ + @Excel(name = "量体方式", width = 15, dicCode = "ctfs") + @Dict(dicCode = "ctfs") + @ApiModelProperty(value = "量体方式") + private String measurementMethod; + /**量体店铺*/ + @Excel(name = "量体店铺", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") + @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") + @ApiModelProperty(value = "量体店铺") + private String storeId; + /**量体设备*/ + @Excel(name = "量体设备", width = 15, dictTable = "se_equipmenttype", dicText = "name", dicCode = "id") + @Dict(dictTable = "se_equipmenttype", dicText = "name", dicCode = "id") + @ApiModelProperty(value = "量体设备") + private String deviceId; + /**量体师*/ + @Excel(name = "量体师", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") + @ApiModelProperty(value = "量体师") + private String measurerId; + /**量体时间*/ + @Excel(name = "量体时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "量体时间") + private Date measurementTime; +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/mapper/CustomerMeasureMapper.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/mapper/CustomerMeasureMapper.java new file mode 100644 index 00000000..58c80c2c --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/mapper/CustomerMeasureMapper.java @@ -0,0 +1,17 @@ +package org.jeecg.modules.demo.customermeasure.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import org.jeecg.modules.demo.customermeasure.entity.CustomerMeasure; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 顾客测体管理 + * @Author: jeecg-boot + * @Date: 2022-12-03 + * @Version: V1.0 + */ +public interface CustomerMeasureMapper extends BaseMapper { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/mapper/xml/CustomerMeasureMapper.xml b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/mapper/xml/CustomerMeasureMapper.xml new file mode 100644 index 00000000..6932ede2 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/mapper/xml/CustomerMeasureMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/service/ICustomerMeasureService.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/service/ICustomerMeasureService.java new file mode 100644 index 00000000..060333ab --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/service/ICustomerMeasureService.java @@ -0,0 +1,14 @@ +package org.jeecg.modules.demo.customermeasure.service; + +import org.jeecg.modules.demo.customermeasure.entity.CustomerMeasure; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @Description: 顾客测体管理 + * @Author: jeecg-boot + * @Date: 2022-12-03 + * @Version: V1.0 + */ +public interface ICustomerMeasureService extends IService { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/service/impl/CustomerMeasureServiceImpl.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/service/impl/CustomerMeasureServiceImpl.java new file mode 100644 index 00000000..1949c77a --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/service/impl/CustomerMeasureServiceImpl.java @@ -0,0 +1,19 @@ +package org.jeecg.modules.demo.customermeasure.service.impl; + +import org.jeecg.modules.demo.customermeasure.entity.CustomerMeasure; +import org.jeecg.modules.demo.customermeasure.mapper.CustomerMeasureMapper; +import org.jeecg.modules.demo.customermeasure.service.ICustomerMeasureService; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +/** + * @Description: 顾客测体管理 + * @Author: jeecg-boot + * @Date: 2022-12-03 + * @Version: V1.0 + */ +@Service +public class CustomerMeasureServiceImpl extends ServiceImpl implements ICustomerMeasureService { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/controller/CustomerPaymentController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/controller/CustomerPaymentController.java new file mode 100644 index 00000000..ba8190ac --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/controller/CustomerPaymentController.java @@ -0,0 +1,171 @@ +package org.jeecg.modules.demo.customerpayment.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.demo.customerpayment.entity.CustomerPayment; +import org.jeecg.modules.demo.customerpayment.service.ICustomerPaymentService; + +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: 2022-12-03 + * @Version: V1.0 + */ +@Api(tags="顾客支付信息管理") +@RestController +@RequestMapping("/customerpayment/customerPayment") +@Slf4j +public class CustomerPaymentController extends JeecgController { + @Autowired + private ICustomerPaymentService customerPaymentService; + + /** + * 分页列表查询 + * + * @param customerPayment + * @param pageNo + * @param pageSize + * @param req + * @return + */ + @AutoLog(value = "顾客支付信息管理-分页列表查询") + @ApiOperation(value="顾客支付信息管理-分页列表查询", notes="顾客支付信息管理-分页列表查询") + @GetMapping(value = "/list") + public Result queryPageList(CustomerPayment customerPayment, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerPayment, req.getParameterMap()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerPaymentService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param customerPayment + * @return + */ + @AutoLog(value = "顾客支付信息管理-添加") + @ApiOperation(value="顾客支付信息管理-添加", notes="顾客支付信息管理-添加") + @PostMapping(value = "/add") + public Result add(@RequestBody CustomerPayment customerPayment) { + customerPaymentService.save(customerPayment); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param customerPayment + * @return + */ + @AutoLog(value = "顾客支付信息管理-编辑") + @ApiOperation(value="顾客支付信息管理-编辑", notes="顾客支付信息管理-编辑") + @PutMapping(value = "/edit") + public Result edit(@RequestBody CustomerPayment customerPayment) { + customerPaymentService.updateById(customerPayment); + 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) { + customerPaymentService.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.customerPaymentService.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) { + CustomerPayment customerPayment = customerPaymentService.getById(id); + if(customerPayment==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(customerPayment); + } + + /** + * 导出excel + * + * @param request + * @param customerPayment + */ + @RequestMapping(value = "/exportXls") + public ModelAndView exportXls(HttpServletRequest request, CustomerPayment customerPayment) { + return super.exportXls(request, customerPayment, CustomerPayment.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, CustomerPayment.class); + } + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/entity/CustomerPayment.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/entity/CustomerPayment.java new file mode 100644 index 00000000..952248c9 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/entity/CustomerPayment.java @@ -0,0 +1,75 @@ +package org.jeecg.modules.demo.customerpayment.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: 2022-12-03 + * @Version: V1.0 + */ +@Data +@TableName("customer_payment") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="customer_payment对象", description="顾客支付信息管理") +public class CustomerPayment implements Serializable { + private static final long serialVersionUID = 1L; + + /**主键*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "主键") + private String id; + /**创建人*/ + @ApiModelProperty(value = "创建人") + private String createBy; + /**创建日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "创建日期") + private Date createTime; + /**更新人*/ + @ApiModelProperty(value = "更新人") + private String updateBy; + /**更新日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "更新日期") + private Date updateTime; + /**所属部门*/ + @ApiModelProperty(value = "所属部门") + private String sysOrgCode; + /**用户*/ + @Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") + @ApiModelProperty(value = "用户") + private String userId; + /**支付类型*/ + @Excel(name = "支付类型", width = 15, dicCode = "zflx") + @Dict(dicCode = "zflx") + @ApiModelProperty(value = "支付类型") + private String paymentType; + /**账号/卡号*/ + @Excel(name = "账号/卡号", width = 15) + @ApiModelProperty(value = "账号/卡号") + private String accountNo; + /**开户银行*/ + @Excel(name = "开户银行", width = 15) + @ApiModelProperty(value = "开户银行") + private String bankDeposit; +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/mapper/CustomerPaymentMapper.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/mapper/CustomerPaymentMapper.java new file mode 100644 index 00000000..7ae5b9b2 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/mapper/CustomerPaymentMapper.java @@ -0,0 +1,17 @@ +package org.jeecg.modules.demo.customerpayment.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import org.jeecg.modules.demo.customerpayment.entity.CustomerPayment; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 顾客支付信息管理 + * @Author: jeecg-boot + * @Date: 2022-12-03 + * @Version: V1.0 + */ +public interface CustomerPaymentMapper extends BaseMapper { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/mapper/xml/CustomerPaymentMapper.xml b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/mapper/xml/CustomerPaymentMapper.xml new file mode 100644 index 00000000..0bf998ec --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/mapper/xml/CustomerPaymentMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/service/ICustomerPaymentService.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/service/ICustomerPaymentService.java new file mode 100644 index 00000000..3dd4944a --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/service/ICustomerPaymentService.java @@ -0,0 +1,14 @@ +package org.jeecg.modules.demo.customerpayment.service; + +import org.jeecg.modules.demo.customerpayment.entity.CustomerPayment; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @Description: 顾客支付信息管理 + * @Author: jeecg-boot + * @Date: 2022-12-03 + * @Version: V1.0 + */ +public interface ICustomerPaymentService extends IService { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/service/impl/CustomerPaymentServiceImpl.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/service/impl/CustomerPaymentServiceImpl.java new file mode 100644 index 00000000..ce34d431 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/service/impl/CustomerPaymentServiceImpl.java @@ -0,0 +1,19 @@ +package org.jeecg.modules.demo.customerpayment.service.impl; + +import org.jeecg.modules.demo.customerpayment.entity.CustomerPayment; +import org.jeecg.modules.demo.customerpayment.mapper.CustomerPaymentMapper; +import org.jeecg.modules.demo.customerpayment.service.ICustomerPaymentService; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +/** + * @Description: 顾客支付信息管理 + * @Author: jeecg-boot + * @Date: 2022-12-03 + * @Version: V1.0 + */ +@Service +public class CustomerPaymentServiceImpl extends ServiceImpl implements ICustomerPaymentService { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/controller/CustomerReceivingAddressController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/controller/CustomerReceivingAddressController.java new file mode 100644 index 00000000..05e0adb4 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/controller/CustomerReceivingAddressController.java @@ -0,0 +1,171 @@ +package org.jeecg.modules.demo.customerreceivingaddress.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.demo.customerreceivingaddress.entity.CustomerReceivingAddress; +import org.jeecg.modules.demo.customerreceivingaddress.service.ICustomerReceivingAddressService; + +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: 2022-12-05 + * @Version: V1.0 + */ +@Api(tags="顾客地址表") +@RestController +@RequestMapping("/customerreceivingaddress/customerReceivingAddress") +@Slf4j +public class CustomerReceivingAddressController extends JeecgController { + @Autowired + private ICustomerReceivingAddressService customerReceivingAddressService; + + /** + * 分页列表查询 + * + * @param customerReceivingAddress + * @param pageNo + * @param pageSize + * @param req + * @return + */ + @AutoLog(value = "顾客地址表-分页列表查询") + @ApiOperation(value="顾客地址表-分页列表查询", notes="顾客地址表-分页列表查询") + @GetMapping(value = "/list") + public Result queryPageList(CustomerReceivingAddress customerReceivingAddress, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerReceivingAddress, req.getParameterMap()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerReceivingAddressService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param customerReceivingAddress + * @return + */ + @AutoLog(value = "顾客地址表-添加") + @ApiOperation(value="顾客地址表-添加", notes="顾客地址表-添加") + @PostMapping(value = "/add") + public Result add(@RequestBody CustomerReceivingAddress customerReceivingAddress) { + customerReceivingAddressService.save(customerReceivingAddress); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param customerReceivingAddress + * @return + */ + @AutoLog(value = "顾客地址表-编辑") + @ApiOperation(value="顾客地址表-编辑", notes="顾客地址表-编辑") + @PutMapping(value = "/edit") + public Result edit(@RequestBody CustomerReceivingAddress customerReceivingAddress) { + customerReceivingAddressService.updateById(customerReceivingAddress); + 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) { + customerReceivingAddressService.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.customerReceivingAddressService.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) { + CustomerReceivingAddress customerReceivingAddress = customerReceivingAddressService.getById(id); + if(customerReceivingAddress==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(customerReceivingAddress); + } + + /** + * 导出excel + * + * @param request + * @param customerReceivingAddress + */ + @RequestMapping(value = "/exportXls") + public ModelAndView exportXls(HttpServletRequest request, CustomerReceivingAddress customerReceivingAddress) { + return super.exportXls(request, customerReceivingAddress, CustomerReceivingAddress.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, CustomerReceivingAddress.class); + } + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/entity/CustomerReceivingAddress.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/entity/CustomerReceivingAddress.java new file mode 100644 index 00000000..4a8a5bcd --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/entity/CustomerReceivingAddress.java @@ -0,0 +1,90 @@ +package org.jeecg.modules.demo.customerreceivingaddress.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: 2022-12-05 + * @Version: V1.0 + */ +@Data +@TableName("customer_receiving_address") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="customer_receiving_address对象", description="顾客地址表") +public class CustomerReceivingAddress implements Serializable { + private static final long serialVersionUID = 1L; + + /**主键*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "主键") + private String id; + /**创建人*/ + @ApiModelProperty(value = "创建人") + private String createBy; + /**创建日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "创建日期") + private Date createTime; + /**更新人*/ + @ApiModelProperty(value = "更新人") + private String updateBy; + /**更新日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "更新日期") + private Date updateTime; + /**所属部门*/ + @ApiModelProperty(value = "所属部门") + private String sysOrgCode; + /**用户*/ + @Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") + @ApiModelProperty(value = "用户") + private String userId; + /**城市*/ + @Excel(name = "城市", width = 15) + @ApiModelProperty(value = "城市") + private String cityId; + /**地址*/ + @Excel(name = "地址", width = 15) + @ApiModelProperty(value = "地址") + private String address; + /**邮编*/ + @Excel(name = "邮编", width = 15) + @ApiModelProperty(value = "邮编") + private String zipCode; + /**收货人*/ + @Excel(name = "收货人", width = 15) + @ApiModelProperty(value = "收货人") + private String receiver; + /**联系电话*/ + @Excel(name = "联系电话", width = 15) + @ApiModelProperty(value = "联系电话") + private String mobile; + /**排序*/ + @Excel(name = "排序", width = 15) + @ApiModelProperty(value = "排序") + private Integer sort; + /**标识*/ + @Excel(name = "标识", width = 15) + @ApiModelProperty(value = "标识") + private String labelcl; +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/mapper/CustomerReceivingAddressMapper.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/mapper/CustomerReceivingAddressMapper.java new file mode 100644 index 00000000..41a26c34 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/mapper/CustomerReceivingAddressMapper.java @@ -0,0 +1,17 @@ +package org.jeecg.modules.demo.customerreceivingaddress.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import org.jeecg.modules.demo.customerreceivingaddress.entity.CustomerReceivingAddress; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 顾客地址表 + * @Author: jeecg-boot + * @Date: 2022-12-05 + * @Version: V1.0 + */ +public interface CustomerReceivingAddressMapper extends BaseMapper { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/mapper/xml/CustomerReceivingAddressMapper.xml b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/mapper/xml/CustomerReceivingAddressMapper.xml new file mode 100644 index 00000000..75c361f6 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/mapper/xml/CustomerReceivingAddressMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/service/ICustomerReceivingAddressService.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/service/ICustomerReceivingAddressService.java new file mode 100644 index 00000000..d940d571 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/service/ICustomerReceivingAddressService.java @@ -0,0 +1,14 @@ +package org.jeecg.modules.demo.customerreceivingaddress.service; + +import org.jeecg.modules.demo.customerreceivingaddress.entity.CustomerReceivingAddress; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @Description: 顾客地址表 + * @Author: jeecg-boot + * @Date: 2022-12-05 + * @Version: V1.0 + */ +public interface ICustomerReceivingAddressService extends IService { + +} diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/service/impl/CustomerReceivingAddressServiceImpl.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/service/impl/CustomerReceivingAddressServiceImpl.java new file mode 100644 index 00000000..17fefa1a --- /dev/null +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/service/impl/CustomerReceivingAddressServiceImpl.java @@ -0,0 +1,19 @@ +package org.jeecg.modules.demo.customerreceivingaddress.service.impl; + +import org.jeecg.modules.demo.customerreceivingaddress.entity.CustomerReceivingAddress; +import org.jeecg.modules.demo.customerreceivingaddress.mapper.CustomerReceivingAddressMapper; +import org.jeecg.modules.demo.customerreceivingaddress.service.ICustomerReceivingAddressService; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +/** + * @Description: 顾客地址表 + * @Author: jeecg-boot + * @Date: 2022-12-05 + * @Version: V1.0 + */ +@Service +public class CustomerReceivingAddressServiceImpl extends ServiceImpl implements ICustomerReceivingAddressService { + +}