From 932fed739e2408bef2ee02701a679b30018e88d5 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Mon, 20 May 2024 17:01:59 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=93=81=E8=B4=A8=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E5=93=81=E8=B4=A8=E5=8D=95=20=E6=96=B0=E5=A2=9E=E5=93=81?= =?UTF-8?q?=E8=B4=A8=E5=8D=95=E8=AF=A6=E6=83=85domian=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=93=81=E8=B4=A8=E5=8D=95=E8=AF=A6=E6=83=85Mapper=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=93=81=E8=B4=A8=E5=8D=95=E8=AF=A6=E6=83=85Mapper.xm?= =?UTF-8?q?l=20=E6=96=B0=E5=A2=9E=E5=93=81=E8=B4=A8=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85Service=20=E6=96=B0=E5=A2=9E=E5=93=81=E8=B4=A8?= =?UTF-8?q?=E5=8D=95=E8=AF=A6=E6=83=85ServiceImpl=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E5=93=81=E8=B4=A8=E9=A1=B5=E9=9D=A2startingQ?= =?UTF-8?q?uality.html=20qualityOrder.html=E6=96=B0=E5=A2=9E=E5=93=81?= =?UTF-8?q?=E8=B4=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quality/domain/QualityOrderDetail.java | 423 ++++++++++++++++++ .../mapper/QualityOrderDetailMapper.java | 94 ++++ .../service/IQualityOrderDetailService.java | 93 ++++ .../impl/QualityOrderDetailServiceImpl.java | 152 +++++++ .../quality/QualityOrderDetailMapper.xml | 199 ++++++++ .../manufacturingCheckout/checkoutReport.html | 129 ++++-- .../quality/qualityOrder/startingQuality.html | 223 +++++++++ 7 files changed, 1277 insertions(+), 36 deletions(-) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/quality/domain/QualityOrderDetail.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/quality/mapper/QualityOrderDetailMapper.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityOrderDetailService.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityOrderDetailServiceImpl.java create mode 100644 ruoyi-admin/src/main/resources/mapper/quality/QualityOrderDetailMapper.xml create mode 100644 ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQuality.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/domain/QualityOrderDetail.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/domain/QualityOrderDetail.java new file mode 100644 index 00000000..51dbed53 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/domain/QualityOrderDetail.java @@ -0,0 +1,423 @@ +package com.ruoyi.quality.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 品质管理品质单详情对象 quality_order_detail + * + * @author 刘晓旭 + * @date 2024-05-20 + */ +public class QualityOrderDetail extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 品质单详情Id */ + private Long qualityOrderDetailId; + + /** 品质单号 */ + @Excel(name = "品质单号") + private String qualityOrderCode; + + /** 入库单号 */ + @Excel(name = "入库单号") + private String inStorageCode; + + /** 关联订单号 */ + @Excel(name = "关联订单号") + private String relatedOrderCode; + + /** 品质状态 */ + @Excel(name = "品质状态") + private String qualityStatus; + + /** 品质单订单类型 */ + @Excel(name = "品质单订单类型") + private String qualityOrderType; + + /** 品质单入库类型 */ + @Excel(name = "品质单入库类型") + private String qualityStorageStatus; + + /** 交付质检时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "交付质检时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date deliveryInspectionTime; + + /** 仓库Id */ + @Excel(name = "仓库Id") + private String warehouseCode; + + /** 仓库名称 */ + @Excel(name = "仓库名称") + private String warehouseName; + + /** 供应商Id */ + @Excel(name = "供应商Id") + private String supplierCode; + + /** 供应商名称 */ + @Excel(name = "供应商名称") + private String supplierName; + + /** 联系人 */ + @Excel(name = "联系人") + private String customerContact; + + /** 联系电话 */ + @Excel(name = "联系电话") + private String contactNumber; + + /** 公司地址 */ + @Excel(name = "公司地址") + private String supplierAddress; + + /** 料号 */ + @Excel(name = "料号") + private String materialNo; + + /** 物料名称 */ + @Excel(name = "物料名称") + private String materialName; + + /** 物料类型 */ + @Excel(name = "物料类型") + private String materialType; + + /** 物料图片地址 */ + @Excel(name = "物料图片地址") + private String materialPhotourl; + + /** 物料品牌 */ + @Excel(name = "物料品牌") + private String materialBrand; + + /** 物料单位 */ + @Excel(name = "物料单位") + private String materialUnit; + + /** 物料描述 */ + @Excel(name = "物料描述") + private String materialDescribe; + + /** 物料加工方式 */ + @Excel(name = "物料加工方式") + private String materialProcessMethod; + + /** 生产订单数 */ + @Excel(name = "生产订单数") + private String makeTotal; + + /** 本次到货数量 */ + @Excel(name = "本次到货数量") + private Long thisArrivedNum; + + /** 品质已合格数 */ + @Excel(name = "品质已合格数") + private Long qualityHasqualifiedNum; + + /** 品质合格数 */ + @Excel(name = "品质合格数") + private Long qualityQualifiedNum; + + /** 品质不合格数 */ + @Excel(name = "品质不合格数") + private Long qualityUnqualifiedNum; + + public void setQualityOrderDetailId(Long qualityOrderDetailId) + { + this.qualityOrderDetailId = qualityOrderDetailId; + } + + public Long getQualityOrderDetailId() + { + return qualityOrderDetailId; + } + public void setQualityOrderCode(String qualityOrderCode) + { + this.qualityOrderCode = qualityOrderCode; + } + + public String getQualityOrderCode() + { + return qualityOrderCode; + } + public void setInStorageCode(String inStorageCode) + { + this.inStorageCode = inStorageCode; + } + + public String getInStorageCode() + { + return inStorageCode; + } + public void setRelatedOrderCode(String relatedOrderCode) + { + this.relatedOrderCode = relatedOrderCode; + } + + public String getRelatedOrderCode() + { + return relatedOrderCode; + } + public void setQualityStatus(String qualityStatus) + { + this.qualityStatus = qualityStatus; + } + + public String getQualityStatus() + { + return qualityStatus; + } + public void setQualityOrderType(String qualityOrderType) + { + this.qualityOrderType = qualityOrderType; + } + + public String getQualityOrderType() + { + return qualityOrderType; + } + public void setQualityStorageStatus(String qualityStorageStatus) + { + this.qualityStorageStatus = qualityStorageStatus; + } + + public String getQualityStorageStatus() + { + return qualityStorageStatus; + } + public void setDeliveryInspectionTime(Date deliveryInspectionTime) + { + this.deliveryInspectionTime = deliveryInspectionTime; + } + + public Date getDeliveryInspectionTime() + { + return deliveryInspectionTime; + } + public void setWarehouseCode(String warehouseCode) + { + this.warehouseCode = warehouseCode; + } + + public String getWarehouseCode() + { + return warehouseCode; + } + public void setWarehouseName(String warehouseName) + { + this.warehouseName = warehouseName; + } + + public String getWarehouseName() + { + return warehouseName; + } + public void setSupplierCode(String supplierCode) + { + this.supplierCode = supplierCode; + } + + public String getSupplierCode() + { + return supplierCode; + } + public void setSupplierName(String supplierName) + { + this.supplierName = supplierName; + } + + public String getSupplierName() + { + return supplierName; + } + public void setCustomerContact(String customerContact) + { + this.customerContact = customerContact; + } + + public String getCustomerContact() + { + return customerContact; + } + public void setContactNumber(String contactNumber) + { + this.contactNumber = contactNumber; + } + + public String getContactNumber() + { + return contactNumber; + } + public void setSupplierAddress(String supplierAddress) + { + this.supplierAddress = supplierAddress; + } + + public String getSupplierAddress() + { + return supplierAddress; + } + public void setMaterialNo(String materialNo) + { + this.materialNo = materialNo; + } + + public String getMaterialNo() + { + return materialNo; + } + public void setMaterialName(String materialName) + { + this.materialName = materialName; + } + + public String getMaterialName() + { + return materialName; + } + public void setMaterialType(String materialType) + { + this.materialType = materialType; + } + + public String getMaterialType() + { + return materialType; + } + public void setMaterialPhotourl(String materialPhotourl) + { + this.materialPhotourl = materialPhotourl; + } + + public String getMaterialPhotourl() + { + return materialPhotourl; + } + public void setMaterialBrand(String materialBrand) + { + this.materialBrand = materialBrand; + } + + public String getMaterialBrand() + { + return materialBrand; + } + public void setMaterialUnit(String materialUnit) + { + this.materialUnit = materialUnit; + } + + public String getMaterialUnit() + { + return materialUnit; + } + public void setMaterialDescribe(String materialDescribe) + { + this.materialDescribe = materialDescribe; + } + + public String getMaterialDescribe() + { + return materialDescribe; + } + public void setMaterialProcessMethod(String materialProcessMethod) + { + this.materialProcessMethod = materialProcessMethod; + } + + public String getMaterialProcessMethod() + { + return materialProcessMethod; + } + public void setMakeTotal(String makeTotal) + { + this.makeTotal = makeTotal; + } + + public String getMakeTotal() + { + return makeTotal; + } + public void setThisArrivedNum(Long thisArrivedNum) + { + this.thisArrivedNum = thisArrivedNum; + } + + public Long getThisArrivedNum() + { + return thisArrivedNum; + } + public void setQualityHasqualifiedNum(Long qualityHasqualifiedNum) + { + this.qualityHasqualifiedNum = qualityHasqualifiedNum; + } + + public Long getQualityHasqualifiedNum() + { + return qualityHasqualifiedNum; + } + public void setQualityQualifiedNum(Long qualityQualifiedNum) + { + this.qualityQualifiedNum = qualityQualifiedNum; + } + + public Long getQualityQualifiedNum() + { + return qualityQualifiedNum; + } + public void setQualityUnqualifiedNum(Long qualityUnqualifiedNum) + { + this.qualityUnqualifiedNum = qualityUnqualifiedNum; + } + + public Long getQualityUnqualifiedNum() + { + return qualityUnqualifiedNum; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("qualityOrderDetailId", getQualityOrderDetailId()) + .append("qualityOrderCode", getQualityOrderCode()) + .append("inStorageCode", getInStorageCode()) + .append("relatedOrderCode", getRelatedOrderCode()) + .append("qualityStatus", getQualityStatus()) + .append("qualityOrderType", getQualityOrderType()) + .append("qualityStorageStatus", getQualityStorageStatus()) + .append("deliveryInspectionTime", getDeliveryInspectionTime()) + .append("warehouseCode", getWarehouseCode()) + .append("warehouseName", getWarehouseName()) + .append("supplierCode", getSupplierCode()) + .append("supplierName", getSupplierName()) + .append("customerContact", getCustomerContact()) + .append("contactNumber", getContactNumber()) + .append("supplierAddress", getSupplierAddress()) + .append("materialNo", getMaterialNo()) + .append("materialName", getMaterialName()) + .append("materialType", getMaterialType()) + .append("materialPhotourl", getMaterialPhotourl()) + .append("materialBrand", getMaterialBrand()) + .append("materialUnit", getMaterialUnit()) + .append("materialDescribe", getMaterialDescribe()) + .append("materialProcessMethod", getMaterialProcessMethod()) + .append("makeTotal", getMakeTotal()) + .append("thisArrivedNum", getThisArrivedNum()) + .append("qualityHasqualifiedNum", getQualityHasqualifiedNum()) + .append("qualityQualifiedNum", getQualityQualifiedNum()) + .append("qualityUnqualifiedNum", getQualityUnqualifiedNum()) + .append("remark", getRemark()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/mapper/QualityOrderDetailMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/mapper/QualityOrderDetailMapper.java new file mode 100644 index 00000000..d9ade2f9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/mapper/QualityOrderDetailMapper.java @@ -0,0 +1,94 @@ +package com.ruoyi.quality.mapper; + +import java.util.List; +import com.ruoyi.quality.domain.QualityOrderDetail; + +/** + * 品质管理品质单详情Mapper接口 + * + * @author 刘晓旭 + * @date 2024-05-20 + */ +public interface QualityOrderDetailMapper +{ + /** + * 查询品质管理品质单详情 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 品质管理品质单详情 + */ + public QualityOrderDetail selectQualityOrderDetailById(Long qualityOrderDetailId); + + /** + * 查询品质管理品质单详情列表 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 品质管理品质单详情集合 + */ + public List selectQualityOrderDetailList(QualityOrderDetail qualityOrderDetail); + + /** + * 新增品质管理品质单详情 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 结果 + */ + public int insertQualityOrderDetail(QualityOrderDetail qualityOrderDetail); + + /** + * 修改品质管理品质单详情 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 结果 + */ + public int updateQualityOrderDetail(QualityOrderDetail qualityOrderDetail); + + /** + * 删除品质管理品质单详情 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 结果 + */ + public int deleteQualityOrderDetailById(Long qualityOrderDetailId); + + /** + * 批量删除品质管理品质单详情 + * + * @param qualityOrderDetailIds 需要删除的数据ID + * @return 结果 + */ + public int deleteQualityOrderDetailByIds(String[] qualityOrderDetailIds); + + /** + * 作废品质管理品质单详情 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 结果 + */ + public int cancelQualityOrderDetailById(Long qualityOrderDetailId); + + /** + * 恢复品质管理品质单详情 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 结果 + */ + public int restoreQualityOrderDetailById(Long qualityOrderDetailId); + + + /** + * 查询品质管理品质单详情 + * + * @param qualityOrderCode 品质单号 + * @return 品质管理品质单详情 + */ + QualityOrderDetail selectQualityOrderDetailByCode(String qualityOrderCode); + + /** + * 查询品质管理品质单详情列表 + * + * @param qualityOrderCode 品质单号 + * @return 品质管理品质单详情集合 + */ + List selectQualityOrderDetailListByCode(String qualityOrderCode); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityOrderDetailService.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityOrderDetailService.java new file mode 100644 index 00000000..ef4b8cd8 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityOrderDetailService.java @@ -0,0 +1,93 @@ +package com.ruoyi.quality.service; + +import java.util.List; + +import com.ruoyi.quality.domain.QualityOrder; +import com.ruoyi.quality.domain.QualityOrderDetail; + +/** + * 品质管理品质单详情Service接口 + * + * @author 刘晓旭 + * @date 2024-05-20 + */ +public interface IQualityOrderDetailService +{ + /** + * 查询品质管理品质单详情 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 品质管理品质单详情 + */ + public QualityOrderDetail selectQualityOrderDetailById(Long qualityOrderDetailId); + + /** + * 查询品质管理品质单详情列表 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 品质管理品质单详情集合 + */ + public List selectQualityOrderDetailList(QualityOrderDetail qualityOrderDetail); + + /** + * 新增品质管理品质单详情 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 结果 + */ + public int insertQualityOrderDetail(QualityOrderDetail qualityOrderDetail); + + /** + * 修改品质管理品质单详情 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 结果 + */ + public int updateQualityOrderDetail(QualityOrderDetail qualityOrderDetail); + + /** + * 批量删除品质管理品质单详情 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteQualityOrderDetailByIds(String ids); + + /** + * 删除品质管理品质单详情信息 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 结果 + */ + public int deleteQualityOrderDetailById(Long qualityOrderDetailId); + + /** + * 作废品质管理品质单详情 + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return + */ + int cancelQualityOrderDetailById(Long qualityOrderDetailId); + + /** + * 恢复品质管理品质单详情 + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return + */ + int restoreQualityOrderDetailById(Long qualityOrderDetailId); + + /** + * 查询品质管理品质单详情 + * + * @param qualityOrderCode 品质单号 + * @return 品质管理品质单详情 + */ + QualityOrderDetail selectQualityOrderDetailByCode(String qualityOrderCode); + + /** + * 查询品质管理品质单详情列表 + * + * @param qualityOrderCode 品质单号 + * @return 品质管理品质单详情集合 + */ + List selectQualityOrderDetailListByCode(String qualityOrderCode); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityOrderDetailServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityOrderDetailServiceImpl.java new file mode 100644 index 00000000..96f9cc67 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityOrderDetailServiceImpl.java @@ -0,0 +1,152 @@ +package com.ruoyi.quality.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.common.utils.ShiroUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.quality.mapper.QualityOrderDetailMapper; +import com.ruoyi.quality.domain.QualityOrderDetail; +import com.ruoyi.quality.service.IQualityOrderDetailService; +import com.ruoyi.common.core.text.Convert; + +/** + * 品质管理品质单详情Service业务层处理 + * + * @author 刘晓旭 + * @date 2024-05-20 + */ +@Service +public class QualityOrderDetailServiceImpl implements IQualityOrderDetailService +{ + @Autowired + private QualityOrderDetailMapper qualityOrderDetailMapper; + + /** + * 查询品质管理品质单详情 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 品质管理品质单详情 + */ + @Override + public QualityOrderDetail selectQualityOrderDetailById(Long qualityOrderDetailId) + { + return qualityOrderDetailMapper.selectQualityOrderDetailById(qualityOrderDetailId); + } + + /** + * 查询品质管理品质单详情列表 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 品质管理品质单详情 + */ + @Override + public List selectQualityOrderDetailList(QualityOrderDetail qualityOrderDetail) + { + return qualityOrderDetailMapper.selectQualityOrderDetailList(qualityOrderDetail); + } + + /** + * 新增品质管理品质单详情 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 结果 + */ + @Override + public int insertQualityOrderDetail(QualityOrderDetail qualityOrderDetail) + { + String loginName = ShiroUtils.getLoginName(); + qualityOrderDetail.setCreateBy(loginName); + qualityOrderDetail.setCreateTime(DateUtils.getNowDate()); + return qualityOrderDetailMapper.insertQualityOrderDetail(qualityOrderDetail); + } + + /** + * 修改品质管理品质单详情 + * + * @param qualityOrderDetail 品质管理品质单详情 + * @return 结果 + */ + @Override + public int updateQualityOrderDetail(QualityOrderDetail qualityOrderDetail) + { + String loginName = ShiroUtils.getLoginName(); + qualityOrderDetail.setUpdateBy(loginName); + qualityOrderDetail.setUpdateTime(DateUtils.getNowDate()); + return qualityOrderDetailMapper.updateQualityOrderDetail(qualityOrderDetail); + } + + /** + * 删除品质管理品质单详情对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteQualityOrderDetailByIds(String ids) + { + return qualityOrderDetailMapper.deleteQualityOrderDetailByIds(Convert.toStrArray(ids)); + } + + /** + * 删除品质管理品质单详情信息 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 结果 + */ + @Override + public int deleteQualityOrderDetailById(Long qualityOrderDetailId) + { + return qualityOrderDetailMapper.deleteQualityOrderDetailById(qualityOrderDetailId); + } + + /** + * 作废品质管理品质单详情 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 结果 + */ + @Override + public int cancelQualityOrderDetailById(Long qualityOrderDetailId) + { + return qualityOrderDetailMapper.cancelQualityOrderDetailById(qualityOrderDetailId); + } + + /** + * 恢复品质管理品质单详情信息 + * + * @param qualityOrderDetailId 品质管理品质单详情ID + * @return 结果 + */ + @Override + public int restoreQualityOrderDetailById(Long qualityOrderDetailId) + { + return qualityOrderDetailMapper.restoreQualityOrderDetailById(qualityOrderDetailId); + } + + /** + * 查询品质管理品质单详情 + * + * @param qualityOrderCode 品质单号 + * @return 品质管理品质单详情 + */ + @Override + public QualityOrderDetail selectQualityOrderDetailByCode(String qualityOrderCode) { + QualityOrderDetail qualityOrderDetail = qualityOrderDetailMapper.selectQualityOrderDetailByCode(qualityOrderCode); + return qualityOrderDetail; + + } + + /** + * 查询品质管理品质单详情列表 + * + * @param qualityOrderCode 品质单号 + * @return 品质管理品质单详情集合 + */ + @Override + public List selectQualityOrderDetailListByCode(String qualityOrderCode) { + + List qualityOrderDetailList = qualityOrderDetailMapper.selectQualityOrderDetailListByCode(qualityOrderCode); + return qualityOrderDetailList; + } +} diff --git a/ruoyi-admin/src/main/resources/mapper/quality/QualityOrderDetailMapper.xml b/ruoyi-admin/src/main/resources/mapper/quality/QualityOrderDetailMapper.xml new file mode 100644 index 00000000..80864f97 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/quality/QualityOrderDetailMapper.xml @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select quality_order_detail_id, quality_order_code, in_storage_code, related_order_code, quality_status, quality_order_type, quality_storage_status, delivery_inspection_time, warehouse_code, warehouse_name, supplier_code, supplier_name, customer_contact, contact_number, supplier_address, material_no, material_name, material_type, material_photoUrl, material_brand, material_unit, material_describe, material_process_method, make_total, this_arrived_num, quality_hasqualified_num, quality_qualified_num, quality_unqualified_num, remark, create_by, create_time, update_by, update_time from quality_order_detail + + + + + + + + + + + + + insert into quality_order_detail + + quality_order_code, + in_storage_code, + related_order_code, + quality_status, + quality_order_type, + quality_storage_status, + delivery_inspection_time, + warehouse_code, + warehouse_name, + supplier_code, + supplier_name, + customer_contact, + contact_number, + supplier_address, + material_no, + material_name, + material_type, + material_photoUrl, + material_brand, + material_unit, + material_describe, + material_process_method, + make_total, + this_arrived_num, + quality_hasqualified_num, + quality_qualified_num, + quality_unqualified_num, + remark, + create_by, + create_time, + update_by, + update_time, + + + #{qualityOrderCode}, + #{inStorageCode}, + #{relatedOrderCode}, + #{qualityStatus}, + #{qualityOrderType}, + #{qualityStorageStatus}, + #{deliveryInspectionTime}, + #{warehouseCode}, + #{warehouseName}, + #{supplierCode}, + #{supplierName}, + #{customerContact}, + #{contactNumber}, + #{supplierAddress}, + #{materialNo}, + #{materialName}, + #{materialType}, + #{materialPhotourl}, + #{materialBrand}, + #{materialUnit}, + #{materialDescribe}, + #{materialProcessMethod}, + #{makeTotal}, + #{thisArrivedNum}, + #{qualityHasqualifiedNum}, + #{qualityQualifiedNum}, + #{qualityUnqualifiedNum}, + #{remark}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update quality_order_detail + + quality_order_code = #{qualityOrderCode}, + in_storage_code = #{inStorageCode}, + related_order_code = #{relatedOrderCode}, + quality_status = #{qualityStatus}, + quality_order_type = #{qualityOrderType}, + quality_storage_status = #{qualityStorageStatus}, + delivery_inspection_time = #{deliveryInspectionTime}, + warehouse_code = #{warehouseCode}, + warehouse_name = #{warehouseName}, + supplier_code = #{supplierCode}, + supplier_name = #{supplierName}, + customer_contact = #{customerContact}, + contact_number = #{contactNumber}, + supplier_address = #{supplierAddress}, + material_no = #{materialNo}, + material_name = #{materialName}, + material_type = #{materialType}, + material_photoUrl = #{materialPhotourl}, + material_brand = #{materialBrand}, + material_unit = #{materialUnit}, + material_describe = #{materialDescribe}, + material_process_method = #{materialProcessMethod}, + make_total = #{makeTotal}, + this_arrived_num = #{thisArrivedNum}, + quality_hasqualified_num = #{qualityHasqualifiedNum}, + quality_qualified_num = #{qualityQualifiedNum}, + quality_unqualified_num = #{qualityUnqualifiedNum}, + remark = #{remark}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where quality_order_detail_id = #{qualityOrderDetailId} + + + + delete from quality_order_detail where quality_order_detail_id = #{qualityOrderDetailId} + + + + delete from quality_order_detail where quality_order_detail_id in + + #{qualityOrderDetailId} + + + + + update quality_order_detail set del_flag = '1' where quality_order_detail_id = #{qualityOrderDetailId} + + + + update quality_order_detail set del_flag = '0' where quality_order_detail_id = #{qualityOrderDetailId} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/quality/manufacturingCheckout/checkoutReport.html b/ruoyi-admin/src/main/resources/templates/quality/manufacturingCheckout/checkoutReport.html index 2003494e..bce7335d 100644 --- a/ruoyi-admin/src/main/resources/templates/quality/manufacturingCheckout/checkoutReport.html +++ b/ruoyi-admin/src/main/resources/templates/quality/manufacturingCheckout/checkoutReport.html @@ -23,7 +23,9 @@ box-sizing: border-box; /* 包含边框和内边距在宽度计算中 */ margin-bottom: 20px; } - + .move-right{ + margin-left: 13px + } @@ -74,6 +76,8 @@ diff --git a/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQuality.html b/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQuality.html new file mode 100644 index 00000000..7638d878 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQuality.html @@ -0,0 +1,223 @@ + + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+
+ + + + + \ No newline at end of file