|
@@ -18,6 +18,7 @@ import com.diagbot.entity.User;
|
|
|
import com.diagbot.entity.wrapper.OpendProductWrapper;
|
|
|
import com.diagbot.entity.wrapper.ServiceInfoWrapper;
|
|
|
import com.diagbot.enums.AccessTypeEnum;
|
|
|
+import com.diagbot.enums.ChargeTypeEnum;
|
|
|
import com.diagbot.enums.IsDeleteEnum;
|
|
|
import com.diagbot.enums.ProductAuditEnum;
|
|
|
import com.diagbot.enums.ServiceTypeEnum;
|
|
@@ -315,8 +316,24 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
Page page =new Page();
|
|
|
BeanUtil.copyProperties(lantoneProductSelectVO,page);
|
|
|
IPage<LantoneProductDTO> res = this.selectProduct(page, lantoneProductSelectVO.getName());
|
|
|
+ String charName = null;
|
|
|
+ String acssName = null;
|
|
|
for (LantoneProductDTO lantoneProductDTO:res.getRecords()) {
|
|
|
+ String charNamebc =new String();
|
|
|
+ String acssNamebc =new String();
|
|
|
+ charName =lantoneProductDTO.getChargeType();
|
|
|
+ acssName =lantoneProductDTO.getAccessType();
|
|
|
lantoneProductDTO.setTrialStatusName(TrialStatusEnum.getName(lantoneProductDTO.getTrialStatus()));
|
|
|
+ String[] strs =charName.split(",");
|
|
|
+ for (int i = 0; i<strs.length;i++){
|
|
|
+ charNamebc += ChargeTypeEnum.getName(Integer.parseInt(strs[i]))+",";
|
|
|
+ }
|
|
|
+ String[] strs1 = acssName.split(",");
|
|
|
+ for (int j = 0; j<strs1.length;j++){
|
|
|
+ acssNamebc += AccessTypeEnum.getName(Integer.parseInt(strs[j]))+",";
|
|
|
+ }
|
|
|
+ lantoneProductDTO.setChargeTypeName(charNamebc);
|
|
|
+ lantoneProductDTO.setAccessTypeName(acssNamebc);
|
|
|
}
|
|
|
return RespDTO.onSuc(res);
|
|
|
}
|