|
@@ -1148,10 +1148,25 @@ public class KwsEnterpriseService {
|
|
|
for (FindEntListPojo item : list) {
|
|
for (FindEntListPojo item : list) {
|
|
|
EntFindPageResVo entFindPageResVo = new EntFindPageResVo();
|
|
EntFindPageResVo entFindPageResVo = new EntFindPageResVo();
|
|
|
BeanUtils.copyProperties(item, entFindPageResVo);
|
|
BeanUtils.copyProperties(item, entFindPageResVo);
|
|
|
|
|
+ entFindPageResVo.setApprovalName(ApprovalEnum.getName(item.getApproval()));
|
|
|
entFindPageResVo.setApprovalTime(item.getApprovalTime());
|
|
entFindPageResVo.setApprovalTime(item.getApprovalTime());
|
|
|
entFindPageResVo.setEntTypes(item.getType());
|
|
entFindPageResVo.setEntTypes(item.getType());
|
|
|
entFindPageResVo.setEntryType(item.getSystemType().equals(SystemTypeEnum.MANAGE.getCode()) ? EntryTypeEnum.PLATFORM.getCode() : EntryTypeEnum.SELF.getCode());
|
|
entFindPageResVo.setEntryType(item.getSystemType().equals(SystemTypeEnum.MANAGE.getCode()) ? EntryTypeEnum.PLATFORM.getCode() : EntryTypeEnum.SELF.getCode());
|
|
|
entFindPageResVo.setEntryTypeStr(EntryTypeEnum.getName(entFindPageResVo.getEntryType()).getName());
|
|
entFindPageResVo.setEntryTypeStr(EntryTypeEnum.getName(entFindPageResVo.getEntryType()).getName());
|
|
|
|
|
+
|
|
|
|
|
+ if (item.getType().contains(String.valueOf(EntTypeEnum.SUPPLIER.getCode()))) {
|
|
|
|
|
+ entFindPageResVo.setEnt1("是");
|
|
|
|
|
+ }
|
|
|
|
|
+ if (item.getType().contains(String.valueOf(EntTypeEnum.PURCHASER.getCode()))) {
|
|
|
|
|
+ entFindPageResVo.setEnt2("是");
|
|
|
|
|
+ }
|
|
|
|
|
+ if (item.getType().contains(String.valueOf(EntTypeEnum.LOGISTICS3.getCode()))) {
|
|
|
|
|
+ entFindPageResVo.setEnt3("是");
|
|
|
|
|
+ }
|
|
|
|
|
+ if (item.getType().contains(String.valueOf(EntTypeEnum.LOGISTICS4.getCode()))) {
|
|
|
|
|
+ entFindPageResVo.setEnt4("是");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
result.add(entFindPageResVo);
|
|
result.add(entFindPageResVo);
|
|
|
}
|
|
}
|
|
|
|
|
|