jyy
2021-06-12 393d296e43f0e5f11e524cab5446bcd3eee94e89
zq-erp/src/main/java/com/matrix/system/shopXcx/api/tools/WxShopCouponUtil.java
@@ -1,13 +1,11 @@
package com.matrix.system.shopXcx.api.tools;
import com.matrix.component.redis.RedisUserLoginUtils;
import com.matrix.system.common.constance.AppConstance;
import com.matrix.system.shopXcx.api.service.WxShopMemberDayService;
import com.matrix.system.shopXcx.bean.ShopOrder;
import com.matrix.system.shopXcx.dao.ShopCouponRecordDao;
import com.matrix.system.shopXcx.dao.ShopOrderDao;
import com.matrix.system.shopXcx.dao.ShopSkuDao;
import com.matrix.system.shopXcx.api.service.WxShopMemberDayService;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -39,7 +37,7 @@
     * @param userId 用户ID
     * @return true = 新人
     */
    public boolean verifyIsNewPeople(String userId) {
    public boolean verifyIsNewPeople(Long userId) {
        ShopOrder orderParam = new ShopOrder();
        orderParam.setPayResult(ShopOrder.ORDER_WX_STATUS_PAY_SUCCESS);
        orderParam.setUserId(userId);