Kaynağa Gözat

[招商]adjust

release_toaliyun_real
Burce 6 yıl önce
ebeveyn
işleme
a2142f36db
3 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +2
    -0
      mallinkAdmin/src/main/java/com/iformall/controller/invest/InvestBaseController.java
  2. +0
    -2
      mallinkService/src/main/java/com/iformall/service/invest/InvestBizService.java
  3. +1
    -1
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java

+ 2
- 0
mallinkAdmin/src/main/java/com/iformall/controller/invest/InvestBaseController.java Dosyayı Görüntüle

@@ -7,6 +7,7 @@ import com.iformall.controller.base.BaseController;
import com.iformall.domain.vo.invest.InvestUserContext; import com.iformall.domain.vo.invest.InvestUserContext;
import com.iformall.enums.EnumCustomerRatingType; import com.iformall.enums.EnumCustomerRatingType;
import com.iformall.enums.EnumCustomerType; import com.iformall.enums.EnumCustomerType;
import com.iformall.enums.EnumFollowType;
import com.iformall.enums.EnumTaskStatus; import com.iformall.enums.EnumTaskStatus;
import com.iformall.exception.MallinkException; import com.iformall.exception.MallinkException;
import com.iformall.service.invest.InvestHelper; import com.iformall.service.invest.InvestHelper;
@@ -28,6 +29,7 @@ public class InvestBaseController extends BaseController {
registerEnumEditor(dataBinder, EnumCustomerType.class, "customerType") ; registerEnumEditor(dataBinder, EnumCustomerType.class, "customerType") ;
registerEnumEditor(dataBinder, EnumCustomerRatingType.class, "customerRatingType") ; registerEnumEditor(dataBinder, EnumCustomerRatingType.class, "customerRatingType") ;
registerEnumEditor(dataBinder, EnumTaskStatus.class, "taskStatus") ; registerEnumEditor(dataBinder, EnumTaskStatus.class, "taskStatus") ;
registerEnumEditor(dataBinder, EnumFollowType.class, "followType") ;
} }


public <R, T> InvestResultData<R> execute(T params, Function<T, R> function) { public <R, T> InvestResultData<R> execute(T params, Function<T, R> function) {


+ 0
- 2
mallinkService/src/main/java/com/iformall/service/invest/InvestBizService.java Dosyayı Görüntüle

@@ -4,7 +4,6 @@ import com.iformall.domain.dto.InvestDemandDto;
import com.iformall.domain.po.MallUserInfo; import com.iformall.domain.po.MallUserInfo;
import com.iformall.domain.po.invest.InvestRemindEntity; import com.iformall.domain.po.invest.InvestRemindEntity;
import com.iformall.domain.vo.invest.*; import com.iformall.domain.vo.invest.*;

import java.util.List; import java.util.List;


public interface InvestBizService { public interface InvestBizService {
@@ -31,5 +30,4 @@ public interface InvestBizService {


InvestFollowRecordVo findFollowRecordById(Long id) ; InvestFollowRecordVo findFollowRecordById(Long id) ;



} }

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java Dosyayı Görüntüle

@@ -67,7 +67,7 @@ public class InvestBizServiceImpl implements InvestBizService {
return investPage; return investPage;
} }
queryWrapperDemand = new LambdaQueryWrapper<>(); queryWrapperDemand = new LambdaQueryWrapper<>();
queryWrapperDemand.in(InvestDemandEntity::getId, getIds(customers, InvestCustomerEntity::getId));
queryWrapperDemand.in(InvestDemandEntity::getCustomerId, getIds(customers, InvestCustomerEntity::getId));
} }


InvestPageResult<InvestDemandEntity> demandPage = demandService.queryPage(buildPageQuery(params, demandParams), queryWrapperDemand); InvestPageResult<InvestDemandEntity> demandPage = demandService.queryPage(buildPageQuery(params, demandParams), queryWrapperDemand);


Yükleniyor…
İptal
Kaydet