## Opt - 小购物车非空验证
This commit is contained in:
parent
7ebe459dd9
commit
7568951e5a
|
@ -189,6 +189,9 @@ public class BdWaresSpecsSkuServiceImpl extends ServiceImpl<BdWaresSpecsSkuMappe
|
||||||
@Override
|
@Override
|
||||||
public CuWaresParams queryWaresSpecsSkuCount(Integer specialArea, String waresCode, Long loginMemberId, Integer pkCountry) {
|
public CuWaresParams queryWaresSpecsSkuCount(Integer specialArea, String waresCode, Long loginMemberId, Integer pkCountry) {
|
||||||
List<BdWaresSpecsSkuExt> bdWaresSpecsSkuExtList;
|
List<BdWaresSpecsSkuExt> bdWaresSpecsSkuExtList;
|
||||||
|
if(ObjectUtil.isEmpty(specialArea)){
|
||||||
|
specialArea = -1;
|
||||||
|
}
|
||||||
if(ESpecialArea.RETAIL_UPGRADE.getValue() == specialArea){
|
if(ESpecialArea.RETAIL_UPGRADE.getValue() == specialArea){
|
||||||
specialArea = ESpecialArea.RETAIL_REGISTER.getValue();
|
specialArea = ESpecialArea.RETAIL_REGISTER.getValue();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue