diff --git a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/controller/DeliveryProgressInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/controller/DeliveryProgressInfoController.java deleted file mode 100644 index d11af1d1..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/controller/DeliveryProgressInfoController.java +++ /dev/null @@ -1,126 +0,0 @@ -package com.ruoyi.deliveryProgress.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.deliveryProgress.domain.DeliveryProgressInfo; -import com.ruoyi.deliveryProgress.service.IDeliveryProgressInfoService; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.common.core.page.TableDataInfo; - -/** - * 交货排程Controller - * - * @author ruoyi - * @date 2023-02-28 - */ -@Controller -@RequestMapping("/deliveryProgress/deliveryProgressInfo") -public class DeliveryProgressInfoController extends BaseController -{ - private String prefix = "deliveryProgress/deliveryProgressInfo"; - - @Autowired - private IDeliveryProgressInfoService deliveryProgressInfoService; - - @RequiresPermissions("deliveryProgress:deliveryProgressInfo:view") - @GetMapping() - public String deliveryProgressInfo() - { - return prefix + "/deliveryProgressInfo"; - } - - /** - * 查询交货排程列表 - */ - @RequiresPermissions("deliveryProgress:deliveryProgressInfo:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(DeliveryProgressInfo deliveryProgressInfo) - { - startPage(); - List list = deliveryProgressInfoService.selectDeliveryProgressInfoList(deliveryProgressInfo); - return getDataTable(list); - } - - /** - * 导出交货排程列表 - */ - @RequiresPermissions("deliveryProgress:deliveryProgressInfo:export") - @Log(title = "交货排程", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(DeliveryProgressInfo deliveryProgressInfo) - { - List list = deliveryProgressInfoService.selectDeliveryProgressInfoList(deliveryProgressInfo); - ExcelUtil util = new ExcelUtil(DeliveryProgressInfo.class); - return util.exportExcel(list, "交货排程数据"); - } - - /** - * 新增交货排程 - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存交货排程 - */ - @RequiresPermissions("deliveryProgress:deliveryProgressInfo:add") - @Log(title = "交货排程", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(DeliveryProgressInfo deliveryProgressInfo) - { - return toAjax(deliveryProgressInfoService.insertDeliveryProgressInfo(deliveryProgressInfo)); - } - - /** - * 修改交货排程 - */ - @GetMapping("/edit/{deliveryProgressId}") - public String edit(@PathVariable("deliveryProgressId") Integer deliveryProgressId, ModelMap mmap) - { - DeliveryProgressInfo deliveryProgressInfo = deliveryProgressInfoService.selectDeliveryProgressInfoById(deliveryProgressId); - mmap.put("deliveryProgressInfo", deliveryProgressInfo); - return prefix + "/edit"; - } - - /** - * 修改保存交货排程 - */ - @RequiresPermissions("deliveryProgress:deliveryProgressInfo:edit") - @Log(title = "交货排程", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(DeliveryProgressInfo deliveryProgressInfo) - { - return toAjax(deliveryProgressInfoService.updateDeliveryProgressInfo(deliveryProgressInfo)); - } - - /** - * 删除交货排程 - */ - @RequiresPermissions("deliveryProgress:deliveryProgressInfo:remove") - @Log(title = "交货排程", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(deliveryProgressInfoService.deleteDeliveryProgressInfoByIds(ids)); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/domain/DeliveryProgressInfo.java b/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/domain/DeliveryProgressInfo.java deleted file mode 100644 index bf925fd0..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/domain/DeliveryProgressInfo.java +++ /dev/null @@ -1,229 +0,0 @@ -package com.ruoyi.deliveryProgress.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; - -/** - * 交货排程对象 delivery_progress_info - * - * @author ruoyi - * @date 2023-02-28 - */ -public class DeliveryProgressInfo extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 交货排程id */ - private Integer deliveryProgressId; - - /** 排程编号 */ - @Excel(name = "排程编号") - private String deliveryProgressCode; - - /** 计划天数 */ - private String planDays; - - /** 制作日期 */ - @Excel(name = "制作日期") - private String produceDate; - - /** 客户代码 */ - @Excel(name = "客户代码") - private String enterpriseCode; - - /** 客户名称 */ - @Excel(name = "客户名称") - private String enterpriseName; - - /** 交货厂区 */ - @Excel(name = "交货厂区") - private String deliveryFactory; - - /** 开始日期 */ - @Excel(name = "开始日期") - private String beginningDate; - - /** 截止日期 */ - @Excel(name = "截止日期") - private String endingDate; - - /** 交货地点 */ - @Excel(name = "交货地点") - private String deliveryAddress; - - /** 备注内容 */ - private String deliveryProgressRemark; - - /** 业务人员 */ - @Excel(name = "业务人员") - private String businessMembers; - - /** 确认否 */ - @Excel(name = "确认否") - private String confirmOrNot; - - /** 确认人 */ - private String confirmPerson; - - /** 确认时间 */ - private String confirmTime; - - public void setDeliveryProgressId(Integer deliveryProgressId) - { - this.deliveryProgressId = deliveryProgressId; - } - - public Integer getDeliveryProgressId() - { - return deliveryProgressId; - } - public void setDeliveryProgressCode(String deliveryProgressCode) - { - this.deliveryProgressCode = deliveryProgressCode; - } - - public String getDeliveryProgressCode() - { - return deliveryProgressCode; - } - public void setPlanDays(String planDays) - { - this.planDays = planDays; - } - - public String getPlanDays() - { - return planDays; - } - public void setProduceDate(String produceDate) - { - this.produceDate = produceDate; - } - - public String getProduceDate() - { - return produceDate; - } - public void setEnterpriseCode(String enterpriseCode) - { - this.enterpriseCode = enterpriseCode; - } - - public String getEnterpriseCode() - { - return enterpriseCode; - } - public void setEnterpriseName(String enterpriseName) - { - this.enterpriseName = enterpriseName; - } - - public String getEnterpriseName() - { - return enterpriseName; - } - public void setDeliveryFactory(String deliveryFactory) - { - this.deliveryFactory = deliveryFactory; - } - - public String getDeliveryFactory() - { - return deliveryFactory; - } - public void setBeginningDate(String beginningDate) - { - this.beginningDate = beginningDate; - } - - public String getBeginningDate() - { - return beginningDate; - } - public void setEndingDate(String endingDate) - { - this.endingDate = endingDate; - } - - public String getEndingDate() - { - return endingDate; - } - public void setDeliveryAddress(String deliveryAddress) - { - this.deliveryAddress = deliveryAddress; - } - - public String getDeliveryAddress() - { - return deliveryAddress; - } - public void setDeliveryProgressRemark(String deliveryProgressRemark) - { - this.deliveryProgressRemark = deliveryProgressRemark; - } - - public String getDeliveryProgressRemark() - { - return deliveryProgressRemark; - } - public void setBusinessMembers(String businessMembers) - { - this.businessMembers = businessMembers; - } - - public String getBusinessMembers() - { - return businessMembers; - } - public void setConfirmOrNot(String confirmOrNot) - { - this.confirmOrNot = confirmOrNot; - } - - public String getConfirmOrNot() - { - return confirmOrNot; - } - public void setConfirmPerson(String confirmPerson) - { - this.confirmPerson = confirmPerson; - } - - public String getConfirmPerson() - { - return confirmPerson; - } - public void setConfirmTime(String confirmTime) - { - this.confirmTime = confirmTime; - } - - public String getConfirmTime() - { - return confirmTime; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("deliveryProgressId", getDeliveryProgressId()) - .append("deliveryProgressCode", getDeliveryProgressCode()) - .append("planDays", getPlanDays()) - .append("produceDate", getProduceDate()) - .append("enterpriseCode", getEnterpriseCode()) - .append("enterpriseName", getEnterpriseName()) - .append("deliveryFactory", getDeliveryFactory()) - .append("beginningDate", getBeginningDate()) - .append("endingDate", getEndingDate()) - .append("deliveryAddress", getDeliveryAddress()) - .append("deliveryProgressRemark", getDeliveryProgressRemark()) - .append("businessMembers", getBusinessMembers()) - .append("confirmOrNot", getConfirmOrNot()) - .append("confirmPerson", getConfirmPerson()) - .append("confirmTime", getConfirmTime()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/mapper/DeliveryProgressInfoMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/mapper/DeliveryProgressInfoMapper.java deleted file mode 100644 index 087a1197..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/mapper/DeliveryProgressInfoMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.deliveryProgress.mapper; - -import java.util.List; -import com.ruoyi.deliveryProgress.domain.DeliveryProgressInfo; - -/** - * 交货排程Mapper接口 - * - * @author ruoyi - * @date 2023-02-28 - */ -public interface DeliveryProgressInfoMapper -{ - /** - * 查询交货排程 - * - * @param deliveryProgressId 交货排程ID - * @return 交货排程 - */ - public DeliveryProgressInfo selectDeliveryProgressInfoById(Integer deliveryProgressId); - - /** - * 查询交货排程列表 - * - * @param deliveryProgressInfo 交货排程 - * @return 交货排程集合 - */ - public List selectDeliveryProgressInfoList(DeliveryProgressInfo deliveryProgressInfo); - - /** - * 新增交货排程 - * - * @param deliveryProgressInfo 交货排程 - * @return 结果 - */ - public int insertDeliveryProgressInfo(DeliveryProgressInfo deliveryProgressInfo); - - /** - * 修改交货排程 - * - * @param deliveryProgressInfo 交货排程 - * @return 结果 - */ - public int updateDeliveryProgressInfo(DeliveryProgressInfo deliveryProgressInfo); - - /** - * 删除交货排程 - * - * @param deliveryProgressId 交货排程ID - * @return 结果 - */ - public int deleteDeliveryProgressInfoById(Integer deliveryProgressId); - - /** - * 批量删除交货排程 - * - * @param deliveryProgressIds 需要删除的数据ID - * @return 结果 - */ - public int deleteDeliveryProgressInfoByIds(String[] deliveryProgressIds); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/service/IDeliveryProgressInfoService.java b/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/service/IDeliveryProgressInfoService.java deleted file mode 100644 index 116eba24..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/service/IDeliveryProgressInfoService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.deliveryProgress.service; - -import java.util.List; -import com.ruoyi.deliveryProgress.domain.DeliveryProgressInfo; - -/** - * 交货排程Service接口 - * - * @author ruoyi - * @date 2023-02-28 - */ -public interface IDeliveryProgressInfoService -{ - /** - * 查询交货排程 - * - * @param deliveryProgressId 交货排程ID - * @return 交货排程 - */ - public DeliveryProgressInfo selectDeliveryProgressInfoById(Integer deliveryProgressId); - - /** - * 查询交货排程列表 - * - * @param deliveryProgressInfo 交货排程 - * @return 交货排程集合 - */ - public List selectDeliveryProgressInfoList(DeliveryProgressInfo deliveryProgressInfo); - - /** - * 新增交货排程 - * - * @param deliveryProgressInfo 交货排程 - * @return 结果 - */ - public int insertDeliveryProgressInfo(DeliveryProgressInfo deliveryProgressInfo); - - /** - * 修改交货排程 - * - * @param deliveryProgressInfo 交货排程 - * @return 结果 - */ - public int updateDeliveryProgressInfo(DeliveryProgressInfo deliveryProgressInfo); - - /** - * 批量删除交货排程 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteDeliveryProgressInfoByIds(String ids); - - /** - * 删除交货排程信息 - * - * @param deliveryProgressId 交货排程ID - * @return 结果 - */ - public int deleteDeliveryProgressInfoById(Integer deliveryProgressId); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/service/impl/DeliveryProgressInfoServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/service/impl/DeliveryProgressInfoServiceImpl.java deleted file mode 100644 index d6c350e7..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/deliveryProgress/service/impl/DeliveryProgressInfoServiceImpl.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.ruoyi.deliveryProgress.service.impl; - -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.ruoyi.deliveryProgress.mapper.DeliveryProgressInfoMapper; -import com.ruoyi.deliveryProgress.domain.DeliveryProgressInfo; -import com.ruoyi.deliveryProgress.service.IDeliveryProgressInfoService; -import com.ruoyi.common.core.text.Convert; - -/** - * 交货排程Service业务层处理 - * - * @author ruoyi - * @date 2023-02-28 - */ -@Service -public class DeliveryProgressInfoServiceImpl implements IDeliveryProgressInfoService -{ - @Autowired - private DeliveryProgressInfoMapper deliveryProgressInfoMapper; - - /** - * 查询交货排程 - * - * @param deliveryProgressId 交货排程ID - * @return 交货排程 - */ - @Override - public DeliveryProgressInfo selectDeliveryProgressInfoById(Integer deliveryProgressId) - { - return deliveryProgressInfoMapper.selectDeliveryProgressInfoById(deliveryProgressId); - } - - /** - * 查询交货排程列表 - * - * @param deliveryProgressInfo 交货排程 - * @return 交货排程 - */ - @Override - public List selectDeliveryProgressInfoList(DeliveryProgressInfo deliveryProgressInfo) - { - return deliveryProgressInfoMapper.selectDeliveryProgressInfoList(deliveryProgressInfo); - } - - /** - * 新增交货排程 - * - * @param deliveryProgressInfo 交货排程 - * @return 结果 - */ - @Override - public int insertDeliveryProgressInfo(DeliveryProgressInfo deliveryProgressInfo) - { - return deliveryProgressInfoMapper.insertDeliveryProgressInfo(deliveryProgressInfo); - } - - /** - * 修改交货排程 - * - * @param deliveryProgressInfo 交货排程 - * @return 结果 - */ - @Override - public int updateDeliveryProgressInfo(DeliveryProgressInfo deliveryProgressInfo) - { - return deliveryProgressInfoMapper.updateDeliveryProgressInfo(deliveryProgressInfo); - } - - /** - * 删除交货排程对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteDeliveryProgressInfoByIds(String ids) - { - return deliveryProgressInfoMapper.deleteDeliveryProgressInfoByIds(Convert.toStrArray(ids)); - } - - /** - * 删除交货排程信息 - * - * @param deliveryProgressId 交货排程ID - * @return 结果 - */ - @Override - public int deleteDeliveryProgressInfoById(Integer deliveryProgressId) - { - return deliveryProgressInfoMapper.deleteDeliveryProgressInfoById(deliveryProgressId); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/deliveryProgress/DeliveryProgressInfoMapper.xml b/ruoyi-admin/src/main/resources/mapper/deliveryProgress/DeliveryProgressInfoMapper.xml deleted file mode 100644 index 02f65ce0..00000000 --- a/ruoyi-admin/src/main/resources/mapper/deliveryProgress/DeliveryProgressInfoMapper.xml +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - select delivery_progress_id, delivery_progress_code, plan_days, produce_date, enterprise_code, enterprise_name, delivery_factory, beginning_date, ending_date, delivery_address, delivery_progress_remark, business_members, confirm_or_not, confirm_person, confirm_time from delivery_progress_info - - - - - - - - insert into delivery_progress_info - - delivery_progress_code, - plan_days, - produce_date, - enterprise_code, - enterprise_name, - delivery_factory, - beginning_date, - ending_date, - delivery_address, - delivery_progress_remark, - business_members, - confirm_or_not, - confirm_person, - confirm_time, - - - #{deliveryProgressCode}, - #{planDays}, - #{produceDate}, - #{enterpriseCode}, - #{enterpriseName}, - #{deliveryFactory}, - #{beginningDate}, - #{endingDate}, - #{deliveryAddress}, - #{deliveryProgressRemark}, - #{businessMembers}, - #{confirmOrNot}, - #{confirmPerson}, - #{confirmTime}, - - - - - update delivery_progress_info - - delivery_progress_code = #{deliveryProgressCode}, - plan_days = #{planDays}, - produce_date = #{produceDate}, - enterprise_code = #{enterpriseCode}, - enterprise_name = #{enterpriseName}, - delivery_factory = #{deliveryFactory}, - beginning_date = #{beginningDate}, - ending_date = #{endingDate}, - delivery_address = #{deliveryAddress}, - delivery_progress_remark = #{deliveryProgressRemark}, - business_members = #{businessMembers}, - confirm_or_not = #{confirmOrNot}, - confirm_person = #{confirmPerson}, - confirm_time = #{confirmTime}, - - where delivery_progress_id = #{deliveryProgressId} - - - - delete from delivery_progress_info where delivery_progress_id = #{deliveryProgressId} - - - - delete from delivery_progress_info where delivery_progress_id in - - #{deliveryProgressId} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/add.html b/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/add.html deleted file mode 100644 index b06d2818..00000000 --- a/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/add.html +++ /dev/null @@ -1,756 +0,0 @@ - - - - - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
-
- -
-
-
-
-

选择产品信息

-  选择产品 -  日期及数量 -
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/deliveryProgressInfo.html b/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/deliveryProgressInfo.html deleted file mode 100644 index 63e6fec4..00000000 --- a/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/deliveryProgressInfo.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/edit.html b/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/edit.html deleted file mode 100644 index 77f73827..00000000 --- a/ruoyi-admin/src/main/resources/templates/deliveryProgress/deliveryProgressInfo/edit.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - -
-
- - - - - \ No newline at end of file