|
|
@@ -18,10 +18,7 @@ import com.fs.common.param.BaseQueryParam;
|
|
|
import com.fs.core.config.WxMaConfiguration;
|
|
|
import com.fs.course.param.newfs.FsUserCourseBeMemberParam;
|
|
|
import com.fs.course.service.IFsUserCourseVideoService;
|
|
|
-import com.fs.hisStore.domain.FsStoreOrderScrm;
|
|
|
-import com.fs.hisStore.domain.FsUserBillScrm;
|
|
|
-import com.fs.hisStore.domain.FsUserPromoterApplyScrm;
|
|
|
-import com.fs.hisStore.domain.FsUserScrm;
|
|
|
+import com.fs.hisStore.domain.*;
|
|
|
import com.fs.hisStore.param.*;
|
|
|
import com.fs.hisStore.service.*;
|
|
|
import com.fs.hisStore.vo.FsStoreOrderTuiVO;
|
|
|
@@ -74,6 +71,8 @@ public class UserScrmController extends AppBaseController {
|
|
|
@Autowired
|
|
|
private IFsStoreOrderScrmService orderService;
|
|
|
@Autowired
|
|
|
+ private IFsStorePaymentScrmService paymentService;
|
|
|
+ @Autowired
|
|
|
private IFsUserBillScrmService userBillService;
|
|
|
@Autowired
|
|
|
private IFsStoreProductRelationScrmService productRelationService;
|
|
|
@@ -108,8 +107,8 @@ public class UserScrmController extends AppBaseController {
|
|
|
user.setIsShow(0);
|
|
|
}
|
|
|
} else if (user.getIsShow() !=null && user.getIsShow() == 0){
|
|
|
- FsStoreOrderScrm order = orderService.selectOrderByUserIdLimit1(user.getUserId());
|
|
|
- if (order!=null){
|
|
|
+ FsStorePaymentScrm payment = paymentService.selectPaymentByUserId(user.getUserId());
|
|
|
+ if (payment != null){
|
|
|
user.setIsShow(1);
|
|
|
}
|
|
|
}
|