## 雨汐团队只有自己的复购、重消商品才累盒数;

This commit is contained in:
cabbage 2025-08-02 12:25:25 +08:00
parent dc7d8f1e40
commit ed8f2f791f
1 changed files with 4 additions and 4 deletions

View File

@ -281,8 +281,8 @@ public class RetailOrderServiceImpl implements IRetailOrderService {
BigDecimal boxNum = BigDecimal.ZERO;
// 2025.08.02 雨汐团队普通复购重消品不累计盒数
List<String> tmpBoxWaresList = new ArrayList<>();
if (ESpecialArea.RETAIL_REPURCHASE.getEnable() == orderParam.getSpecialArea()
|| ESpecialArea.RETAIL_RESCISSION.getEnable() == orderParam.getSpecialArea()) {
if (ESpecialArea.RETAIL_REPURCHASE.getValue() == orderParam.getSpecialArea()
|| ESpecialArea.RETAIL_RESCISSION.getValue() == orderParam.getSpecialArea()) {
if (RetailConstants.VERTEX_PK_ID.equals(cuMember.getPkVertex())) {
tmpBoxWaresList = iBdWaresService.listWaresCodeByVertex(RetailConstants.VERTEX_PK_ID);
}
@ -313,8 +313,8 @@ public class RetailOrderServiceImpl implements IRetailOrderService {
}
if (boxWaresList.contains(waresDetailExt.getWaresCode())) {
if (ESpecialArea.RETAIL_REPURCHASE.getEnable() == orderParam.getSpecialArea()
|| ESpecialArea.RETAIL_RESCISSION.getEnable() == orderParam.getSpecialArea()) {
if (ESpecialArea.RETAIL_REPURCHASE.getValue() == orderParam.getSpecialArea()
|| ESpecialArea.RETAIL_RESCISSION.getValue() == orderParam.getSpecialArea()) {
if (RetailConstants.VERTEX_PK_ID.equals(cuMember.getPkVertex())) {
// 雨汐团队复购重消盒数品
if (tmpBoxWaresList.contains(waresDetailExt.getWaresCode())) {