|
@@ -361,7 +361,7 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
|
|
|
@Override
|
|
|
public Result deleteKuaishouPromoterById(Long id, Long userId) {
|
|
|
KuaishouPromoter promoter = kuaishouPromoterMapper.selectKuaishouPromoterById(id);
|
|
|
- List<KuaishouItemCollectSamples> list = kuaishouItemCollectSamplesService.getListByPromoterId(promoter.getPromoterId());
|
|
|
+ List<KuaishouItemCollectSamples> list = kuaishouItemCollectSamplesService.getListByPromoterId(promoter.getPromoterId(),userId);
|
|
|
for (KuaishouItemCollectSamples item : list) {
|
|
|
if (item.getCollectSampleStatus() != 2 && item.getCollectSampleStatus() != 7) {
|
|
|
return Result.error("该达人还有未完成的领样申请,请在完成后进行解绑!");
|