diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/ServiceWorkOrderCountController.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/ServiceWorkOrderCountController.java deleted file mode 100644 index 79cf5170..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/ServiceWorkOrderCountController.java +++ /dev/null @@ -1,126 +0,0 @@ -package com.ruoyi.sales.controller; - -import java.util.List; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.sales.domain.ServiceWorkOrderDetail; -import com.ruoyi.sales.service.IServiceWorkOrderDetailService; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.common.core.page.TableDataInfo; - -/** - * serviceWorkOrderDetailController - * - * @author ruoyi - * @date 2023-08-04 - */ -@Controller -@RequestMapping("/sales/serviceWorkOrderCount") -public class ServiceWorkOrderCountController extends BaseController -{ - private String prefix = "sales/serviceWorkOrderCount"; - - @Autowired - private IServiceWorkOrderDetailService serviceWorkOrderDetailService; - - @RequiresPermissions("sales:serviceWorkOrderCount:view") - @GetMapping() - public String serviceWorkOrderDetail() - { - return prefix + "/serviceWorkOrderCount"; - } - - /** - * 查询serviceWorkOrderDetail列表 - */ - @RequiresPermissions("sales:serviceWorkOrderCount:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - startPage(); - List list = serviceWorkOrderDetailService.selectServiceWorkOrderDetailList(serviceWorkOrderDetail); - return getDataTable(list); - } - - /** - * 导出serviceWorkOrderDetail列表 - */ - @RequiresPermissions("sales:serviceWorkOrderCount:export") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - List list = serviceWorkOrderDetailService.selectServiceWorkOrderDetailList(serviceWorkOrderDetail); - ExcelUtil util = new ExcelUtil(ServiceWorkOrderDetail.class); - return util.exportExcel(list, "serviceWorkOrderDetail数据"); - } - - /** - * 新增serviceWorkOrderDetail - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存serviceWorkOrderDetail - */ - @RequiresPermissions("sales:serviceWorkOrderCount:add") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - return toAjax(serviceWorkOrderDetailService.insertServiceWorkOrderDetail(serviceWorkOrderDetail)); - } - - /** - * 修改serviceWorkOrderDetail - */ - @GetMapping("/edit/{serviceWorkOrderDetailId}") - public String edit(@PathVariable("serviceWorkOrderDetailId") Long serviceWorkOrderDetailId, ModelMap mmap) - { - ServiceWorkOrderDetail serviceWorkOrderDetail = serviceWorkOrderDetailService.selectServiceWorkOrderDetailById(serviceWorkOrderDetailId); - mmap.put("serviceWorkOrderDetail", serviceWorkOrderDetail); - return prefix + "/edit"; - } - - /** - * 修改保存serviceWorkOrderDetail - */ - @RequiresPermissions("sales:serviceWorkOrderCount:edit") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - return toAjax(serviceWorkOrderDetailService.updateServiceWorkOrderDetail(serviceWorkOrderDetail)); - } - - /** - * 删除serviceWorkOrderDetail - */ - @RequiresPermissions("sales:serviceWorkOrderCount:remove") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(serviceWorkOrderDetailService.deleteServiceWorkOrderDetailByIds(ids)); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/ServiceWorkOrderDetailController.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/ServiceWorkOrderDetailController.java deleted file mode 100644 index 7e3c2378..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/controller/ServiceWorkOrderDetailController.java +++ /dev/null @@ -1,126 +0,0 @@ -package com.ruoyi.sales.controller; - -import java.util.List; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.sales.domain.ServiceWorkOrderDetail; -import com.ruoyi.sales.service.IServiceWorkOrderDetailService; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.common.core.page.TableDataInfo; - -/** - * serviceWorkOrderDetailController - * - * @author ruoyi - * @date 2023-08-04 - */ -@Controller -@RequestMapping("/sales/serviceWorkOrderDetail") -public class ServiceWorkOrderDetailController extends BaseController -{ - private String prefix = "sales/serviceWorkOrderDetail"; - - @Autowired - private IServiceWorkOrderDetailService serviceWorkOrderDetailService; - - @RequiresPermissions("sales:serviceWorkOrderDetail:view") - @GetMapping() - public String serviceWorkOrderDetail() - { - return prefix + "/serviceWorkOrderDetail"; - } - - /** - * 查询serviceWorkOrderDetail列表 - */ - @RequiresPermissions("sales:serviceWorkOrderDetail:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - startPage(); - List list = serviceWorkOrderDetailService.selectServiceWorkOrderDetailList(serviceWorkOrderDetail); - return getDataTable(list); - } - - /** - * 导出serviceWorkOrderDetail列表 - */ - @RequiresPermissions("sales:serviceWorkOrderDetail:export") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - List list = serviceWorkOrderDetailService.selectServiceWorkOrderDetailList(serviceWorkOrderDetail); - ExcelUtil util = new ExcelUtil(ServiceWorkOrderDetail.class); - return util.exportExcel(list, "serviceWorkOrderDetail数据"); - } - - /** - * 新增serviceWorkOrderDetail - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存serviceWorkOrderDetail - */ - @RequiresPermissions("sales:serviceWorkOrderDetail:add") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - return toAjax(serviceWorkOrderDetailService.insertServiceWorkOrderDetail(serviceWorkOrderDetail)); - } - - /** - * 修改serviceWorkOrderDetail - */ - @GetMapping("/edit/{serviceWorkOrderDetailId}") - public String edit(@PathVariable("serviceWorkOrderDetailId") Long serviceWorkOrderDetailId, ModelMap mmap) - { - ServiceWorkOrderDetail serviceWorkOrderDetail = serviceWorkOrderDetailService.selectServiceWorkOrderDetailById(serviceWorkOrderDetailId); - mmap.put("serviceWorkOrderDetail", serviceWorkOrderDetail); - return prefix + "/edit"; - } - - /** - * 修改保存serviceWorkOrderDetail - */ - @RequiresPermissions("sales:serviceWorkOrderDetail:edit") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - return toAjax(serviceWorkOrderDetailService.updateServiceWorkOrderDetail(serviceWorkOrderDetail)); - } - - /** - * 删除serviceWorkOrderDetail - */ - @RequiresPermissions("sales:serviceWorkOrderDetail:remove") - @Log(title = "serviceWorkOrderDetail", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(serviceWorkOrderDetailService.deleteServiceWorkOrderDetailByIds(ids)); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/ServiceWorkOrderDetail.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/ServiceWorkOrderDetail.java deleted file mode 100644 index 68e3ca2e..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/ServiceWorkOrderDetail.java +++ /dev/null @@ -1,205 +0,0 @@ -package com.ruoyi.sales.domain; - -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.core.domain.BaseEntity; - -/** - * serviceWorkOrderDetail对象 service_work_order_detail - * - * @author ruoyi - * @date 2023-08-04 - */ -public class ServiceWorkOrderDetail extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** */ - private Long serviceWorkOrderDetailId; - - /** 服务工单单号 */ - @Excel(name = "服务工单单号") - private String serviceWorkOrderDetailNumber; - - /** 客户名称 */ - @Excel(name = "客户名称") - private String customerName; - - /** 设备编号 */ - @Excel(name = "设备编号") - private String equipmentNumber; - - /** 序列号 */ - @Excel(name = "序列号") - private String serialNumber; - - /** 出库日期 */ - @Excel(name = "出库日期") - private String deliveryDate; - - /** 是否在保 */ - @Excel(name = "是否在保") - private String isMaintenance; - - /** 在保服务类型 */ - @Excel(name = "在保服务类型") - private String serviceType; - - /** 进度 */ - @Excel(name = "进度") - private String schedule; - - /** 维修报告 */ - @Excel(name = "维修报告") - private String maintenanceReport; - - /** 费用明细 */ - @Excel(name = "费用明细") - private String expenseDetails; - - /** 用户评价内容 */ - @Excel(name = "用户评价内容") - private String userEvaluation; - - /** 单据日期 */ - @Excel(name = "单据日期") - private String documentDate; - - public void setServiceWorkOrderDetailId(Long serviceWorkOrderDetailId) - { - this.serviceWorkOrderDetailId = serviceWorkOrderDetailId; - } - - public Long getServiceWorkOrderDetailId() - { - return serviceWorkOrderDetailId; - } - public void setServiceWorkOrderDetailNumber(String serviceWorkOrderDetailNumber) - { - this.serviceWorkOrderDetailNumber = serviceWorkOrderDetailNumber; - } - - public String getServiceWorkOrderDetailNumber() - { - return serviceWorkOrderDetailNumber; - } - public void setCustomerName(String customerName) - { - this.customerName = customerName; - } - - public String getCustomerName() - { - return customerName; - } - public void setEquipmentNumber(String equipmentNumber) - { - this.equipmentNumber = equipmentNumber; - } - - public String getEquipmentNumber() - { - return equipmentNumber; - } - public void setSerialNumber(String serialNumber) - { - this.serialNumber = serialNumber; - } - - public String getSerialNumber() - { - return serialNumber; - } - public void setDeliveryDate(String deliveryDate) - { - this.deliveryDate = deliveryDate; - } - - public String getDeliveryDate() - { - return deliveryDate; - } - public void setIsMaintenance(String isMaintenance) - { - this.isMaintenance = isMaintenance; - } - - public String getIsMaintenance() - { - return isMaintenance; - } - public void setServiceType(String serviceType) - { - this.serviceType = serviceType; - } - - public String getServiceType() - { - return serviceType; - } - public void setSchedule(String schedule) - { - this.schedule = schedule; - } - - public String getSchedule() - { - return schedule; - } - public void setMaintenanceReport(String maintenanceReport) - { - this.maintenanceReport = maintenanceReport; - } - - public String getMaintenanceReport() - { - return maintenanceReport; - } - public void setExpenseDetails(String expenseDetails) - { - this.expenseDetails = expenseDetails; - } - - public String getExpenseDetails() - { - return expenseDetails; - } - public void setUserEvaluation(String userEvaluation) - { - this.userEvaluation = userEvaluation; - } - - public String getUserEvaluation() - { - return userEvaluation; - } - public void setDocumentDate(String documentDate) - { - this.documentDate = documentDate; - } - - public String getDocumentDate() - { - return documentDate; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("serviceWorkOrderDetailId", getServiceWorkOrderDetailId()) - .append("serviceWorkOrderDetailNumber", getServiceWorkOrderDetailNumber()) - .append("customerName", getCustomerName()) - .append("equipmentNumber", getEquipmentNumber()) - .append("serialNumber", getSerialNumber()) - .append("deliveryDate", getDeliveryDate()) - .append("isMaintenance", getIsMaintenance()) - .append("serviceType", getServiceType()) - .append("schedule", getSchedule()) - .append("maintenanceReport", getMaintenanceReport()) - .append("expenseDetails", getExpenseDetails()) - .append("userEvaluation", getUserEvaluation()) - .append("documentDate", getDocumentDate()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/exportDto/SalesAccountReconciliationDto.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/exportDto/SalesAccountReconciliationDto.java deleted file mode 100644 index 12a3aab4..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/exportDto/SalesAccountReconciliationDto.java +++ /dev/null @@ -1,295 +0,0 @@ -package com.ruoyi.sales.domain.exportDto; - -import com.alibaba.excel.annotation.ExcelProperty; -import com.ruoyi.common.core.domain.BaseEntity; -import org.apache.commons.lang3.builder.ToStringBuilder; - -/** - * 销售对账对象 sales_account_reconciliation - * - * @author ruoyi - * @date 2023-02-03 - */ -public class SalesAccountReconciliationDto extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 销售物料id */ - @ExcelProperty("销售物料id") - private String salesFinishId; - - /** 发货通知单号 */ - @ExcelProperty("发货通知单号") - private String noticeOrderNumber; - - /** 发货日期 */ - @ExcelProperty("发货日期") - private String deliveryDate; - - /** 订单号码 */ - @ExcelProperty("订单号码") - private String salesOrderNumber; - - /** 客户代码 */ - @ExcelProperty("客户代码") - private String enterpriseCode; - - /** 客户名称 */ - @ExcelProperty("客户名称") - private String enterpriseName; - - /** 联系人 */ - @ExcelProperty("联系人") - private String customerContact; - - /** 成品代码 */ - @ExcelProperty("成品代码") - private String finishProductCode; - - /** 成品名称 */ - @ExcelProperty("成品名称") - private String finishProductName; - - /** 规格型号 */ - @ExcelProperty("规格型号") - private String specificationModel; - - /** 客户料号 */ - @ExcelProperty("客户料号") - private String customerNumber; - - /** 币别 */ - @ExcelProperty("币别") - private String commonCurrency; - - /** 单价 */ - @ExcelProperty("单价") - private String processPrice; - - /** 数量 */ - @ExcelProperty("数量") - private String productQuantity; - - /** 金额 */ - @ExcelProperty("金额") - private String amountMoney; - - /** 客户使用否 */ - @ExcelProperty("客户使用否") - private String customerUseOrNot; - - /** 客户使用数量 */ - @ExcelProperty("客户使用数量") - private String customerUseQuantity; - - /** 客户使用备注说明 */ - @ExcelProperty("客户使用备注说明") - private String customerUseRemarks; - - /** 对账否 */ - @ExcelProperty("对账否") - private String accountReconciliationOrNot; - - /** 对账人 */ - @ExcelProperty("对账人") - private String accountReconciliationPerson; - - /** 对账时间 */ - @ExcelProperty("对账时间") - private String accountReconciliationTime; - - public String getSalesFinishId() { - return salesFinishId; - } - - public void setSalesFinishId(String salesFinishId) { - this.salesFinishId = salesFinishId; - } - - public String getNoticeOrderNumber() { - return noticeOrderNumber; - } - - public void setNoticeOrderNumber(String noticeOrderNumber) { - this.noticeOrderNumber = noticeOrderNumber; - } - - public String getDeliveryDate() { - return deliveryDate; - } - - public void setDeliveryDate(String deliveryDate) { - this.deliveryDate = deliveryDate; - } - - public String getSalesOrderNumber() { - return salesOrderNumber; - } - - public void setSalesOrderNumber(String salesOrderNumber) { - this.salesOrderNumber = salesOrderNumber; - } - - public String getEnterpriseCode() { - return enterpriseCode; - } - - public void setEnterpriseCode(String enterpriseCode) { - this.enterpriseCode = enterpriseCode; - } - - public String getEnterpriseName() { - return enterpriseName; - } - - public void setEnterpriseName(String enterpriseName) { - this.enterpriseName = enterpriseName; - } - - public String getCustomerContact() { - return customerContact; - } - - public void setCustomerContact(String customerContact) { - this.customerContact = customerContact; - } - - public String getFinishProductCode() { - return finishProductCode; - } - - public void setFinishProductCode(String finishProductCode) { - this.finishProductCode = finishProductCode; - } - - public String getFinishProductName() { - return finishProductName; - } - - public void setFinishProductName(String finishProductName) { - this.finishProductName = finishProductName; - } - - public String getSpecificationModel() { - return specificationModel; - } - - public void setSpecificationModel(String specificationModel) { - this.specificationModel = specificationModel; - } - - public String getCustomerNumber() { - return customerNumber; - } - - public void setCustomerNumber(String customerNumber) { - this.customerNumber = customerNumber; - } - - public String getCommonCurrency() { - return commonCurrency; - } - - public void setCommonCurrency(String commonCurrency) { - this.commonCurrency = commonCurrency; - } - - public String getProcessPrice() { - return processPrice; - } - - public void setProcessPrice(String processPrice) { - this.processPrice = processPrice; - } - - public String getProductQuantity() { - return productQuantity; - } - - public void setProductQuantity(String productQuantity) { - this.productQuantity = productQuantity; - } - - public String getAmountMoney() { - return amountMoney; - } - - public void setAmountMoney(String amountMoney) { - this.amountMoney = amountMoney; - } - - public String getCustomerUseOrNot() { - return customerUseOrNot; - } - - public void setCustomerUseOrNot(String customerUseOrNot) { - this.customerUseOrNot = customerUseOrNot; - } - - public String getCustomerUseQuantity() { - return customerUseQuantity; - } - - public void setCustomerUseQuantity(String customerUseQuantity) { - this.customerUseQuantity = customerUseQuantity; - } - - public String getCustomerUseRemarks() { - return customerUseRemarks; - } - - public void setCustomerUseRemarks(String customerUseRemarks) { - this.customerUseRemarks = customerUseRemarks; - } - - public String getAccountReconciliationOrNot() { - return accountReconciliationOrNot; - } - - public void setAccountReconciliationOrNot(String accountReconciliationOrNot) { - this.accountReconciliationOrNot = accountReconciliationOrNot; - } - - public String getAccountReconciliationPerson() { - return accountReconciliationPerson; - } - - public void setAccountReconciliationPerson(String accountReconciliationPerson) { - this.accountReconciliationPerson = accountReconciliationPerson; - } - - public String getAccountReconciliationTime() { - return accountReconciliationTime; - } - - public void setAccountReconciliationTime(String accountReconciliationTime) { - this.accountReconciliationTime = accountReconciliationTime; - } - - @Override - public String toString() { - return new ToStringBuilder(this) - .append("salesFinishId", salesFinishId) - .append("noticeOrderNumber", noticeOrderNumber) - .append("deliveryDate", deliveryDate) - .append("salesOrderNumber", salesOrderNumber) - .append("enterpriseCode", enterpriseCode) - .append("enterpriseName", enterpriseName) - .append("customerContact", customerContact) - .append("finishProductCode", finishProductCode) - .append("finishProductName", finishProductName) - .append("specificationModel", specificationModel) - .append("customerNumber", customerNumber) - .append("commonCurrency", commonCurrency) - .append("processPrice", processPrice) - .append("productQuantity", productQuantity) - .append("amountMoney", amountMoney) - .append("customerUseOrNot", customerUseOrNot) - .append("customerUseQuantity", customerUseQuantity) - .append("customerUseRemarks", customerUseRemarks) - .append("accountReconciliationOrNot", accountReconciliationOrNot) - .append("accountReconciliationPerson", accountReconciliationPerson) - .append("accountReconciliationTime", accountReconciliationTime) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/mapper/ServiceWorkOrderDetailMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/mapper/ServiceWorkOrderDetailMapper.java deleted file mode 100644 index 32648d97..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/mapper/ServiceWorkOrderDetailMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.sales.mapper; - -import java.util.List; -import com.ruoyi.sales.domain.ServiceWorkOrderDetail; - -/** - * serviceWorkOrderDetailMapper接口 - * - * @author ruoyi - * @date 2023-08-04 - */ -public interface ServiceWorkOrderDetailMapper -{ - /** - * 查询serviceWorkOrderDetail - * - * @param serviceWorkOrderDetailId serviceWorkOrderDetailID - * @return serviceWorkOrderDetail - */ - public ServiceWorkOrderDetail selectServiceWorkOrderDetailById(Long serviceWorkOrderDetailId); - - /** - * 查询serviceWorkOrderDetail列表 - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return serviceWorkOrderDetail集合 - */ - public List selectServiceWorkOrderDetailList(ServiceWorkOrderDetail serviceWorkOrderDetail); - - /** - * 新增serviceWorkOrderDetail - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return 结果 - */ - public int insertServiceWorkOrderDetail(ServiceWorkOrderDetail serviceWorkOrderDetail); - - /** - * 修改serviceWorkOrderDetail - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return 结果 - */ - public int updateServiceWorkOrderDetail(ServiceWorkOrderDetail serviceWorkOrderDetail); - - /** - * 删除serviceWorkOrderDetail - * - * @param serviceWorkOrderDetailId serviceWorkOrderDetailID - * @return 结果 - */ - public int deleteServiceWorkOrderDetailById(Long serviceWorkOrderDetailId); - - /** - * 批量删除serviceWorkOrderDetail - * - * @param serviceWorkOrderDetailIds 需要删除的数据ID - * @return 结果 - */ - public int deleteServiceWorkOrderDetailByIds(String[] serviceWorkOrderDetailIds); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/service/IServiceWorkOrderDetailService.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/service/IServiceWorkOrderDetailService.java deleted file mode 100644 index c122180e..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/service/IServiceWorkOrderDetailService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.sales.service; - -import java.util.List; -import com.ruoyi.sales.domain.ServiceWorkOrderDetail; - -/** - * serviceWorkOrderDetailService接口 - * - * @author ruoyi - * @date 2023-08-04 - */ -public interface IServiceWorkOrderDetailService -{ - /** - * 查询serviceWorkOrderDetail - * - * @param serviceWorkOrderDetailId serviceWorkOrderDetailID - * @return serviceWorkOrderDetail - */ - public ServiceWorkOrderDetail selectServiceWorkOrderDetailById(Long serviceWorkOrderDetailId); - - /** - * 查询serviceWorkOrderDetail列表 - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return serviceWorkOrderDetail集合 - */ - public List selectServiceWorkOrderDetailList(ServiceWorkOrderDetail serviceWorkOrderDetail); - - /** - * 新增serviceWorkOrderDetail - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return 结果 - */ - public int insertServiceWorkOrderDetail(ServiceWorkOrderDetail serviceWorkOrderDetail); - - /** - * 修改serviceWorkOrderDetail - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return 结果 - */ - public int updateServiceWorkOrderDetail(ServiceWorkOrderDetail serviceWorkOrderDetail); - - /** - * 批量删除serviceWorkOrderDetail - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteServiceWorkOrderDetailByIds(String ids); - - /** - * 删除serviceWorkOrderDetail信息 - * - * @param serviceWorkOrderDetailId serviceWorkOrderDetailID - * @return 结果 - */ - public int deleteServiceWorkOrderDetailById(Long serviceWorkOrderDetailId); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/service/impl/ServiceWorkOrderDetailServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/service/impl/ServiceWorkOrderDetailServiceImpl.java deleted file mode 100644 index bb0453dc..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/service/impl/ServiceWorkOrderDetailServiceImpl.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.ruoyi.sales.service.impl; - -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.ruoyi.sales.mapper.ServiceWorkOrderDetailMapper; -import com.ruoyi.sales.domain.ServiceWorkOrderDetail; -import com.ruoyi.sales.service.IServiceWorkOrderDetailService; -import com.ruoyi.common.core.text.Convert; - -/** - * serviceWorkOrderDetailService业务层处理 - * - * @author ruoyi - * @date 2023-08-04 - */ -@Service -public class ServiceWorkOrderDetailServiceImpl implements IServiceWorkOrderDetailService -{ - @Autowired - private ServiceWorkOrderDetailMapper serviceWorkOrderDetailMapper; - - /** - * 查询serviceWorkOrderDetail - * - * @param serviceWorkOrderDetailId serviceWorkOrderDetailID - * @return serviceWorkOrderDetail - */ - @Override - public ServiceWorkOrderDetail selectServiceWorkOrderDetailById(Long serviceWorkOrderDetailId) - { - return serviceWorkOrderDetailMapper.selectServiceWorkOrderDetailById(serviceWorkOrderDetailId); - } - - /** - * 查询serviceWorkOrderDetail列表 - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return serviceWorkOrderDetail - */ - @Override - public List selectServiceWorkOrderDetailList(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - return serviceWorkOrderDetailMapper.selectServiceWorkOrderDetailList(serviceWorkOrderDetail); - } - - /** - * 新增serviceWorkOrderDetail - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return 结果 - */ - @Override - public int insertServiceWorkOrderDetail(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - return serviceWorkOrderDetailMapper.insertServiceWorkOrderDetail(serviceWorkOrderDetail); - } - - /** - * 修改serviceWorkOrderDetail - * - * @param serviceWorkOrderDetail serviceWorkOrderDetail - * @return 结果 - */ - @Override - public int updateServiceWorkOrderDetail(ServiceWorkOrderDetail serviceWorkOrderDetail) - { - return serviceWorkOrderDetailMapper.updateServiceWorkOrderDetail(serviceWorkOrderDetail); - } - - /** - * 删除serviceWorkOrderDetail对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteServiceWorkOrderDetailByIds(String ids) - { - return serviceWorkOrderDetailMapper.deleteServiceWorkOrderDetailByIds(Convert.toStrArray(ids)); - } - - /** - * 删除serviceWorkOrderDetail信息 - * - * @param serviceWorkOrderDetailId serviceWorkOrderDetailID - * @return 结果 - */ - @Override - public int deleteServiceWorkOrderDetailById(Long serviceWorkOrderDetailId) - { - return serviceWorkOrderDetailMapper.deleteServiceWorkOrderDetailById(serviceWorkOrderDetailId); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/sales/ServiceWorkOrderDetailMapper.xml b/ruoyi-admin/src/main/resources/mapper/sales/ServiceWorkOrderDetailMapper.xml deleted file mode 100644 index 2acbc61a..00000000 --- a/ruoyi-admin/src/main/resources/mapper/sales/ServiceWorkOrderDetailMapper.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - select service_work_order_detail_id, service_work_order_detail_number, customer_name, equipment_number, serial_number, delivery_date, is_maintenance, service_type, schedule, maintenance_report, expense_details, user_evaluation, document_date from service_work_order_detail - - - - - - - - insert into service_work_order_detail - - service_work_order_detail_id, - service_work_order_detail_number, - customer_name, - equipment_number, - serial_number, - delivery_date, - is_maintenance, - service_type, - schedule, - maintenance_report, - expense_details, - user_evaluation, - document_date, - - - #{serviceWorkOrderDetailId}, - #{serviceWorkOrderDetailNumber}, - #{customerName}, - #{equipmentNumber}, - #{serialNumber}, - #{deliveryDate}, - #{isMaintenance}, - #{serviceType}, - #{schedule}, - #{maintenanceReport}, - #{expenseDetails}, - #{userEvaluation}, - #{documentDate}, - - - - - update service_work_order_detail - - service_work_order_detail_number = #{serviceWorkOrderDetailNumber}, - customer_name = #{customerName}, - equipment_number = #{equipmentNumber}, - serial_number = #{serialNumber}, - delivery_date = #{deliveryDate}, - is_maintenance = #{isMaintenance}, - service_type = #{serviceType}, - schedule = #{schedule}, - maintenance_report = #{maintenanceReport}, - expense_details = #{expenseDetails}, - user_evaluation = #{userEvaluation}, - document_date = #{documentDate}, - - where service_work_order_detail_id = #{serviceWorkOrderDetailId} - - - - delete from service_work_order_detail where service_work_order_detail_id = #{serviceWorkOrderDetailId} - - - - delete from service_work_order_detail where service_work_order_detail_id in - - #{serviceWorkOrderDetailId} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderCount/edit.html b/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderCount/edit.html deleted file mode 100644 index 5a1789f5..00000000 --- a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderCount/edit.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderCount/serviceWorkOrderCount.html b/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderCount/serviceWorkOrderCount.html deleted file mode 100644 index a504baf3..00000000 --- a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderCount/serviceWorkOrderCount.html +++ /dev/null @@ -1,377 +0,0 @@ - - - - - - - - - -
-
-
服务工单统计
-
- - - - - -
-
-
-
-
- - -
-
- - - - -
-
-
-
- - - - - 搜索 -
-
-
-
-
-
-
-
-
- - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/add.html b/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/add.html deleted file mode 100644 index 70cfaecc..00000000 --- a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/add.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/edit.html b/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/edit.html deleted file mode 100644 index ffe2242d..00000000 --- a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/edit.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/serviceWorkOrderDetail.html b/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/serviceWorkOrderDetail.html deleted file mode 100644 index 445de556..00000000 --- a/ruoyi-admin/src/main/resources/templates/sales/serviceWorkOrderDetail/serviceWorkOrderDetail.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - - - - -
-
-
服务工单详细
- -
- - - - - -
-
-
-
-
- - -
-
- - - - -
-
-
-
- - - - - 搜索 -
-
-
-
-
-
-
-
-
- - - - - - - \ No newline at end of file