Pu Zhibing
2 天以前 a698210ca8814673887121cb3a51ca324e4e037b
ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/MerchantActivityGiveController.java
@@ -17,7 +17,7 @@
import com.stylefeng.guns.modular.system.response.MerchantActivityVo;
import com.stylefeng.guns.modular.system.response.UserRequest;
import com.stylefeng.guns.modular.system.service.*;
import com.stylefeng.guns.modular.system.util.OrderUtil;
import com.stylefeng.guns.modular.system.util.OrderUtils;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -53,7 +53,7 @@
    @Autowired
    private IUserService userService;
    
    @Resource
    @Autowired
    private ShiroExtUtil shiroExtUtil;
    
    @RequestMapping("/index")
@@ -280,7 +280,7 @@
                    UserMerchantCoupon userMerchantCoupon = new UserMerchantCoupon();
                    userMerchantCoupon.setUserId(two.getUserId());
                    userMerchantCoupon.setUserType(two.getType());
                    userMerchantCoupon.setCode(OrderUtil.getRandomCode(16));
                    userMerchantCoupon.setCode(OrderUtils.getRandomCode(16));
                    userMerchantCoupon.setMerchantActivityId(merchantActivity.getId());
                    userMerchantCoupon.setMerchantCouponId(activitySlave.getMerchantCouponId());
                    userMerchantCoupon.setStatus(1);