@@ -104,6 +104,9 @@ public class GoodsUtil {
* @return
*/
public static Boolean compareWithQtyPrice(List<GoodsQtyPrice> qtyPriceList, List<GoodsQtyPrice> targetList, String currency) {
+ if (CollectionUtils.isEmpty(qtyPriceList) || CollectionUtils.isEmpty(targetList)) {
+ return false;
+ }
if (qtyPriceList.size() != targetList.size()) {
return false;
}