liuxiaoxu
6 months ago
7 changed files with 0 additions and 715 deletions
@ -1,92 +0,0 @@ |
|||||
package com.ruoyi.quality.service.impl; |
|
||||
|
|
||||
import java.util.List; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
import com.ruoyi.quality.mapper.QualitySupplierDeductionMapper; |
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
|
|
||||
/** |
|
||||
* qualitySupplierDeductionService业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-06-19 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class QualitySupplierDeductionServiceImpl implements IQualitySupplierDeductionService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private QualitySupplierDeductionMapper qualitySupplierDeductionMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询qualitySupplierDeduction |
|
||||
* |
|
||||
* @param supplierDeductionId qualitySupplierDeductionID |
|
||||
* @return qualitySupplierDeduction |
|
||||
*/ |
|
||||
@Override |
|
||||
public QualitySupplierDeduction selectQualitySupplierDeductionById(Long supplierDeductionId) |
|
||||
{ |
|
||||
return qualitySupplierDeductionMapper.selectQualitySupplierDeductionById(supplierDeductionId); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询qualitySupplierDeduction列表 |
|
||||
* |
|
||||
* @param qualitySupplierDeduction qualitySupplierDeduction |
|
||||
* @return qualitySupplierDeduction |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<QualitySupplierDeduction> selectQualitySupplierDeductionList(QualitySupplierDeduction qualitySupplierDeduction) |
|
||||
{ |
|
||||
return qualitySupplierDeductionMapper.selectQualitySupplierDeductionList(qualitySupplierDeduction); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增qualitySupplierDeduction |
|
||||
* |
|
||||
* @param qualitySupplierDeduction qualitySupplierDeduction |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertQualitySupplierDeduction(QualitySupplierDeduction qualitySupplierDeduction) |
|
||||
{ |
|
||||
return qualitySupplierDeductionMapper.insertQualitySupplierDeduction(qualitySupplierDeduction); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改qualitySupplierDeduction |
|
||||
* |
|
||||
* @param qualitySupplierDeduction qualitySupplierDeduction |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updateQualitySupplierDeduction(QualitySupplierDeduction qualitySupplierDeduction) |
|
||||
{ |
|
||||
return qualitySupplierDeductionMapper.updateQualitySupplierDeduction(qualitySupplierDeduction); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除qualitySupplierDeduction对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteQualitySupplierDeductionByIds(String ids) |
|
||||
{ |
|
||||
return qualitySupplierDeductionMapper.deleteQualitySupplierDeductionByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除qualitySupplierDeduction信息 |
|
||||
* |
|
||||
* @param supplierDeductionId qualitySupplierDeductionID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteQualitySupplierDeductionById(Long supplierDeductionId) |
|
||||
{ |
|
||||
return qualitySupplierDeductionMapper.deleteQualitySupplierDeductionById(supplierDeductionId); |
|
||||
} |
|
||||
} |
|
@ -1,93 +0,0 @@ |
|||||
package com.ruoyi.quality.service.impl; |
|
||||
|
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
import com.ruoyi.quality.mapper.ReturnGoodsKhthScDetailMapper; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* KHTH/SC退换货物料Service业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-06-21 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class ReturnGoodsKhthScDetailServiceImpl implements IReturnGoodsKhthScDetailService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private ReturnGoodsKhthScDetailMapper returnGoodsKhthScDetailMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询KHTH/SC退换货物料 |
|
||||
* |
|
||||
* @param rgKhthScDetailId KHTH/SC退换货物料ID |
|
||||
* @return KHTH/SC退换货物料 |
|
||||
*/ |
|
||||
@Override |
|
||||
public ReturnGoodsKhthScDetail selectReturnGoodsKhthScDetailById(Long rgKhthScDetailId) |
|
||||
{ |
|
||||
return returnGoodsKhthScDetailMapper.selectReturnGoodsKhthScDetailById(rgKhthScDetailId); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询KHTH/SC退换货物料列表 |
|
||||
* |
|
||||
* @param returnGoodsKhthScDetail KHTH/SC退换货物料 |
|
||||
* @return KHTH/SC退换货物料 |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<ReturnGoodsKhthScDetail> selectReturnGoodsKhthScDetailList(ReturnGoodsKhthScDetail returnGoodsKhthScDetail) |
|
||||
{ |
|
||||
return returnGoodsKhthScDetailMapper.selectReturnGoodsKhthScDetailList(returnGoodsKhthScDetail); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增KHTH/SC退换货物料 |
|
||||
* |
|
||||
* @param returnGoodsKhthScDetail KHTH/SC退换货物料 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertReturnGoodsKhthScDetail(ReturnGoodsKhthScDetail returnGoodsKhthScDetail) |
|
||||
{ |
|
||||
return returnGoodsKhthScDetailMapper.insertReturnGoodsKhthScDetail(returnGoodsKhthScDetail); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改KHTH/SC退换货物料 |
|
||||
* |
|
||||
* @param returnGoodsKhthScDetail KHTH/SC退换货物料 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updateReturnGoodsKhthScDetail(ReturnGoodsKhthScDetail returnGoodsKhthScDetail) |
|
||||
{ |
|
||||
return returnGoodsKhthScDetailMapper.updateReturnGoodsKhthScDetail(returnGoodsKhthScDetail); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除KHTH/SC退换货物料对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsKhthScDetailByIds(String ids) |
|
||||
{ |
|
||||
return returnGoodsKhthScDetailMapper.deleteReturnGoodsKhthScDetailByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除KHTH/SC退换货物料信息 |
|
||||
* |
|
||||
* @param rgKhthScDetailId KHTH/SC退换货物料ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsKhthScDetailById(Long rgKhthScDetailId) |
|
||||
{ |
|
||||
return returnGoodsKhthScDetailMapper.deleteReturnGoodsKhthScDetailById(rgKhthScDetailId); |
|
||||
} |
|
||||
} |
|
@ -1,115 +0,0 @@ |
|||||
package com.ruoyi.quality.service.impl; |
|
||||
|
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
import com.ruoyi.quality.mapper.ReturnGoodsKhthScInfoMapper; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
|
|
||||
import java.text.SimpleDateFormat; |
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* KHTH/SC退换货Service业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-06-21 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class ReturnGoodsKhthScInfoServiceImpl implements IReturnGoodsKhthScInfoService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private ReturnGoodsKhthScInfoMapper returnGoodsKhthScInfoMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询KHTH/SC退换货 |
|
||||
* |
|
||||
* @param rgKhthScInfoId KHTH/SC退换货ID |
|
||||
* @return KHTH/SC退换货 |
|
||||
*/ |
|
||||
@Override |
|
||||
public ReturnGoodsKhthScInfo selectReturnGoodsKhthScInfoById(Long rgKhthScInfoId) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.selectReturnGoodsKhthScInfoById(rgKhthScInfoId); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询KHTH/SC退换货列表 |
|
||||
* |
|
||||
* @param returnGoodsKhthScInfo KHTH/SC退换货 |
|
||||
* @return KHTH/SC退换货 |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<ReturnGoodsKhthScInfo> selectReturnGoodsKhthScInfoList(ReturnGoodsKhthScInfo returnGoodsKhthScInfo) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.selectReturnGoodsKhthScInfoList(returnGoodsKhthScInfo); |
|
||||
} |
|
||||
@Override |
|
||||
public List<ReturnGoodsKhthScInfo> selectReturnGoodsKhthInfoList(ReturnGoodsKhthScInfo returnGoodsKhthScInfo) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.selectReturnGoodsKhthInfoList(returnGoodsKhthScInfo); |
|
||||
} |
|
||||
@Override |
|
||||
public List<ReturnGoodsKhthScInfo> selectReturnGoodsScInfoList(ReturnGoodsKhthScInfo returnGoodsKhthScInfo) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.selectReturnGoodsScInfoList(returnGoodsKhthScInfo); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增KHTH/SC退换货 |
|
||||
* |
|
||||
* @param returnGoodsKhthScInfo KHTH/SC退换货 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertReturnGoodsKhthScInfo(ReturnGoodsKhthScInfo returnGoodsKhthScInfo) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.insertReturnGoodsKhthScInfo(returnGoodsKhthScInfo); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改KHTH/SC退换货 |
|
||||
* |
|
||||
* @param returnGoodsKhthScInfo KHTH/SC退换货 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updateReturnGoodsKhthScInfo(ReturnGoodsKhthScInfo returnGoodsKhthScInfo) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.updateReturnGoodsKhthScInfo(returnGoodsKhthScInfo); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除KHTH/SC退换货对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsKhthScInfoByIds(String ids) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.deleteReturnGoodsKhthScInfoByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除KHTH/SC退换货信息 |
|
||||
* |
|
||||
* @param rgKhthScInfoId KHTH/SC退换货ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsKhthScInfoById(Long rgKhthScInfoId) |
|
||||
{ |
|
||||
return returnGoodsKhthScInfoMapper.deleteReturnGoodsKhthScInfoById(rgKhthScInfoId); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public String getKhthId() { |
|
||||
String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); |
|
||||
return "KHTH" + time.substring(2); |
|
||||
} |
|
||||
@Override |
|
||||
public String getScId() { |
|
||||
String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); |
|
||||
return "SC" + time.substring(2); |
|
||||
} |
|
||||
} |
|
@ -1,92 +0,0 @@ |
|||||
package com.ruoyi.quality.service.impl; |
|
||||
|
|
||||
import java.util.List; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
import com.ruoyi.quality.mapper.ReturnGoodsKhthScSearchMapper; |
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
|
|
||||
/** |
|
||||
* KHTH/SC退换货物料统计Service业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-06-22 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class ReturnGoodsKhthScSearchServiceImpl implements IReturnGoodsKhthScSearchService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private ReturnGoodsKhthScSearchMapper returnGoodsKhthScSearchMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询KHTH/SC退换货物料统计 |
|
||||
* |
|
||||
* @param rgKhthScDetailId KHTH/SC退换货物料统计ID |
|
||||
* @return KHTH/SC退换货物料统计 |
|
||||
*/ |
|
||||
@Override |
|
||||
public ReturnGoodsKhthScSearch selectReturnGoodsKhthScSearchById(Long rgKhthScDetailId) |
|
||||
{ |
|
||||
return returnGoodsKhthScSearchMapper.selectReturnGoodsKhthScSearchById(rgKhthScDetailId); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询KHTH/SC退换货物料统计列表 |
|
||||
* |
|
||||
* @param returnGoodsKhthScSearch KHTH/SC退换货物料统计 |
|
||||
* @return KHTH/SC退换货物料统计 |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<ReturnGoodsKhthScSearch> selectReturnGoodsKhthScSearchList(ReturnGoodsKhthScSearch returnGoodsKhthScSearch) |
|
||||
{ |
|
||||
return returnGoodsKhthScSearchMapper.selectReturnGoodsKhthScSearchList(returnGoodsKhthScSearch); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增KHTH/SC退换货物料统计 |
|
||||
* |
|
||||
* @param returnGoodsKhthScSearch KHTH/SC退换货物料统计 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertReturnGoodsKhthScSearch(ReturnGoodsKhthScSearch returnGoodsKhthScSearch) |
|
||||
{ |
|
||||
return returnGoodsKhthScSearchMapper.insertReturnGoodsKhthScSearch(returnGoodsKhthScSearch); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改KHTH/SC退换货物料统计 |
|
||||
* |
|
||||
* @param returnGoodsKhthScSearch KHTH/SC退换货物料统计 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updateReturnGoodsKhthScSearch(ReturnGoodsKhthScSearch returnGoodsKhthScSearch) |
|
||||
{ |
|
||||
return returnGoodsKhthScSearchMapper.updateReturnGoodsKhthScSearch(returnGoodsKhthScSearch); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除KHTH/SC退换货物料统计对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsKhthScSearchByIds(String ids) |
|
||||
{ |
|
||||
return returnGoodsKhthScSearchMapper.deleteReturnGoodsKhthScSearchByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除KHTH/SC退换货物料统计信息 |
|
||||
* |
|
||||
* @param rgKhthScDetailId KHTH/SC退换货物料统计ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsKhthScSearchById(Long rgKhthScDetailId) |
|
||||
{ |
|
||||
return returnGoodsKhthScSearchMapper.deleteReturnGoodsKhthScSearchById(rgKhthScDetailId); |
|
||||
} |
|
||||
} |
|
@ -1,123 +0,0 @@ |
|||||
package com.ruoyi.quality.service.impl; |
|
||||
|
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
import com.ruoyi.quality.mapper.ReturnGoodsOrderMapper; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
|
|
||||
import java.text.SimpleDateFormat; |
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* 退换货订单Service业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2022-11-22 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class ReturnGoodsOrderServiceImpl implements IReturnGoodsOrderService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private ReturnGoodsOrderMapper returnGoodsOrderMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询退换货订单 |
|
||||
* |
|
||||
* @param returnGoodsId 退换货订单ID |
|
||||
* @return 退换货订单 |
|
||||
*/ |
|
||||
@Override |
|
||||
public ReturnGoodsOrder selectReturnGoodsOrderById(Long returnGoodsId) |
|
||||
{ |
|
||||
return returnGoodsOrderMapper.selectReturnGoodsOrderById(returnGoodsId); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询退换货订单列表 |
|
||||
* |
|
||||
* @param returnGoodsOrder 退换货订单 |
|
||||
* @return 退换货订单 |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<ReturnGoodsOrder> selectReturnGoodsOrderList(ReturnGoodsOrder returnGoodsOrder) |
|
||||
{ |
|
||||
return returnGoodsOrderMapper.selectReturnGoodsOrderList(returnGoodsOrder); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增退换货订单 |
|
||||
* |
|
||||
* @param returnGoodsOrder 退换货订单 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertReturnGoodsOrder(ReturnGoodsOrder returnGoodsOrder) |
|
||||
{ |
|
||||
return returnGoodsOrderMapper.insertReturnGoodsOrder(returnGoodsOrder); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改退换货订单 |
|
||||
* |
|
||||
* @param returnGoodsOrder 退换货订单 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updateReturnGoodsOrder(ReturnGoodsOrder returnGoodsOrder) |
|
||||
{ |
|
||||
return returnGoodsOrderMapper.updateReturnGoodsOrder(returnGoodsOrder); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除退换货订单对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsOrderByIds(String ids) |
|
||||
{ |
|
||||
return returnGoodsOrderMapper.deleteReturnGoodsOrderByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除退换货订单信息 |
|
||||
* |
|
||||
* @param returnGoodsId 退换货订单ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsOrderById(Long returnGoodsId) |
|
||||
{ |
|
||||
return returnGoodsOrderMapper.deleteReturnGoodsOrderById(returnGoodsId); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public List<ReturnGoodsProductDto> selectReturnGoodsProductByOrderName(String orderNumber) { |
|
||||
return returnGoodsOrderMapper.selectReturnGoodsProductByOrderName(orderNumber); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public ReturnGoodsOrder selectReturnGoodsOrderByOrderName(String orderNumber) { |
|
||||
return returnGoodsOrderMapper.selectReturnGoodsOrderByOrderName(orderNumber); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public int updateConfirmOrNot(Long returnGoodsId,String confirmOrNot) { |
|
||||
return returnGoodsOrderMapper.updateConfirmOrNot(returnGoodsId,confirmOrNot); |
|
||||
} |
|
||||
@Override |
|
||||
public int updateCloseCaseOrNot(Long returnGoodsId,String closeCaseOrNot) { |
|
||||
return returnGoodsOrderMapper.updateCloseCaseOrNot(returnGoodsId,closeCaseOrNot); |
|
||||
} |
|
||||
@Override |
|
||||
public int updatePCloseCaseOrNot(String returnGoodsNumber,String orderNumber,String closeCaseOrNot) { |
|
||||
return returnGoodsOrderMapper.updatePCloseCaseOrNot(returnGoodsNumber,orderNumber,closeCaseOrNot); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public String getId() { |
|
||||
String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); |
|
||||
return "RHO" + time.substring(2); |
|
||||
} |
|
||||
} |
|
@ -1,108 +0,0 @@ |
|||||
package com.ruoyi.quality.service.impl; |
|
||||
|
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
import com.ruoyi.quality.mapper.ReturnGoodsProductMapper; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* 退货产品Service业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-01-30 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class ReturnGoodsProductServiceImpl implements IReturnGoodsProductService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private ReturnGoodsProductMapper returnGoodsProductMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询退货产品 |
|
||||
* |
|
||||
* @param returnGoodsProductId 退货产品ID |
|
||||
* @return 退货产品 |
|
||||
*/ |
|
||||
@Override |
|
||||
public ReturnGoodsProduct selectReturnGoodsProductById(Long returnGoodsProductId) |
|
||||
{ |
|
||||
return returnGoodsProductMapper.selectReturnGoodsProductById(returnGoodsProductId); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询退货产品列表 |
|
||||
* |
|
||||
* @param returnGoodsProduct 退货产品 |
|
||||
* @return 退货产品 |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<ReturnGoodsProduct> selectReturnGoodsProductList(ReturnGoodsProduct returnGoodsProduct) |
|
||||
{ |
|
||||
return returnGoodsProductMapper.selectReturnGoodsProductList(returnGoodsProduct); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增退货产品 |
|
||||
* |
|
||||
* @param returnGoodsProduct 退货产品 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertReturnGoodsProduct(ReturnGoodsProduct returnGoodsProduct) |
|
||||
{ |
|
||||
return returnGoodsProductMapper.insertReturnGoodsProduct(returnGoodsProduct); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改退货产品 |
|
||||
* |
|
||||
* @param returnGoodsProduct 退货产品 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updateReturnGoodsProduct(ReturnGoodsProduct returnGoodsProduct) |
|
||||
{ |
|
||||
return returnGoodsProductMapper.updateReturnGoodsProduct(returnGoodsProduct); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除退货产品对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsProductByIds(String ids) |
|
||||
{ |
|
||||
return returnGoodsProductMapper.deleteReturnGoodsProductByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除退货产品信息 |
|
||||
* |
|
||||
* @param returnGoodsProductId 退货产品ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsProductById(Long returnGoodsProductId) |
|
||||
{ |
|
||||
return returnGoodsProductMapper.deleteReturnGoodsProductById(returnGoodsProductId); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public List<ReturnGoodsProduct> selectReturnGoodsProductByOrderNumber(String orderNumber) { |
|
||||
return returnGoodsProductMapper.selectReturnGoodsProductByOrderNumber(orderNumber); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public int deleteReturnGoodsProductByOrderNumber(String orderNumber) { |
|
||||
return returnGoodsProductMapper.deleteReturnGoodsProductByOrderNumber(orderNumber); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public int updateReturnGoodsProductCloseCase(String orderNumber, String finishProductCode, String closeCaseOrNot) { |
|
||||
return returnGoodsProductMapper.updateReturnGoodsProductCloseCase(orderNumber,finishProductCode,closeCaseOrNot); |
|
||||
} |
|
||||
} |
|
@ -1,92 +0,0 @@ |
|||||
package com.ruoyi.quality.service.impl; |
|
||||
|
|
||||
import java.util.List; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
import com.ruoyi.quality.mapper.ReturnGoodsSearchMapper; |
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
|
|
||||
/** |
|
||||
* 退货查询RHOService业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-06-22 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class ReturnGoodsSearchServiceImpl implements IReturnGoodsSearchService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private ReturnGoodsSearchMapper returnGoodsSearchMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询退货查询RHO |
|
||||
* |
|
||||
* @param returnGoodsProductId 退货查询RHOID |
|
||||
* @return 退货查询RHO |
|
||||
*/ |
|
||||
@Override |
|
||||
public ReturnGoodsSearch selectReturnGoodsSearchById(Long returnGoodsProductId) |
|
||||
{ |
|
||||
return returnGoodsSearchMapper.selectReturnGoodsSearchById(returnGoodsProductId); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询退货查询RHO列表 |
|
||||
* |
|
||||
* @param returnGoodsSearch 退货查询RHO |
|
||||
* @return 退货查询RHO |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<ReturnGoodsSearch> selectReturnGoodsSearchList(ReturnGoodsSearch returnGoodsSearch) |
|
||||
{ |
|
||||
return returnGoodsSearchMapper.selectReturnGoodsSearchList(returnGoodsSearch); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增退货查询RHO |
|
||||
* |
|
||||
* @param returnGoodsSearch 退货查询RHO |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertReturnGoodsSearch(ReturnGoodsSearch returnGoodsSearch) |
|
||||
{ |
|
||||
return returnGoodsSearchMapper.insertReturnGoodsSearch(returnGoodsSearch); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改退货查询RHO |
|
||||
* |
|
||||
* @param returnGoodsSearch 退货查询RHO |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updateReturnGoodsSearch(ReturnGoodsSearch returnGoodsSearch) |
|
||||
{ |
|
||||
return returnGoodsSearchMapper.updateReturnGoodsSearch(returnGoodsSearch); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除退货查询RHO对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsSearchByIds(String ids) |
|
||||
{ |
|
||||
return returnGoodsSearchMapper.deleteReturnGoodsSearchByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除退货查询RHO信息 |
|
||||
* |
|
||||
* @param returnGoodsProductId 退货查询RHOID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deleteReturnGoodsSearchById(Long returnGoodsProductId) |
|
||||
{ |
|
||||
return returnGoodsSearchMapper.deleteReturnGoodsSearchById(returnGoodsProductId); |
|
||||
} |
|
||||
} |
|
Loading…
Reference in new issue