|
@@ -27,6 +27,7 @@ import com.sunxung.factoring.entity.smb.*;
|
|
|
import com.sunxung.factoring.entity.smb.vo.FinancingFromInvestorsSearchVo;
|
|
|
import com.sunxung.factoring.entity.supplier.*;
|
|
|
import com.sunxung.factoring.entity.sys.*;
|
|
|
+import com.sunxung.factoring.entity.sys.Dictionary;
|
|
|
import com.sunxung.factoring.mapper.smb.FinancingFromInvestorsMapper;
|
|
|
import com.sunxung.factoring.service.customerinformation.IElectronicSignaturePersonalService;
|
|
|
import com.sunxung.factoring.service.entprise.IEnterpriseService;
|
|
@@ -137,6 +138,9 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
|
|
|
@Autowired
|
|
|
private ICSalesDocumentsInfoHistoryService salesDocumentsInfoHistoryService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private DictionaryService dictionaryService;
|
|
|
+
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void addInfo(FinancingFromInvestors financingFromInvestors) {
|
|
@@ -694,9 +698,12 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
|
|
|
financingFromInvestors.setCreditStatus(SmbCreditStatusEnum.STATUS_12.getCode());
|
|
|
this.updateById(financingFromInvestors);
|
|
|
}
|
|
|
+ Dictionary dictionary = dictionaryService.getByCode(financingFromInvestorsNotice.getLimitStatus());
|
|
|
+ financingFromInvestorsNotice.setLimitStatus(dictionary.getName());
|
|
|
financingFromInvestors.setFinancingFromInvestorsNotice(financingFromInvestorsNotice);
|
|
|
}
|
|
|
-
|
|
|
+ Dictionary dictionary = dictionaryService.getByCode(financingFromInvestors.getCreditStatus());
|
|
|
+ financingFromInvestors.setCreditStatus(dictionary.getName());
|
|
|
}
|
|
|
return new GridPage<>(financingFromInvestorsSearchVo.getRows(), financingFromInvestorsSearchVo.getPage(), page.getTotal(), list);
|
|
|
}
|