|
@@ -22,6 +22,7 @@ import com.diagbot.util.UserUtils;
|
|
import com.diagbot.vo.AddProductsVO;
|
|
import com.diagbot.vo.AddProductsVO;
|
|
import com.diagbot.vo.OppendedProductVO;
|
|
import com.diagbot.vo.OppendedProductVO;
|
|
import com.diagbot.vo.UpdateProductVO;
|
|
import com.diagbot.vo.UpdateProductVO;
|
|
|
|
+import com.google.common.collect.Lists;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
@@ -110,7 +111,12 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
*/
|
|
*/
|
|
public List<LantoneProductWrapper> opendedProductByCurrentUser() {
|
|
public List<LantoneProductWrapper> opendedProductByCurrentUser() {
|
|
Long userId = Long.parseLong(UserUtils.getCurrentPrincipleID());
|
|
Long userId = Long.parseLong(UserUtils.getCurrentPrincipleID());
|
|
- return this.opendedProductByUserId(userId);
|
|
|
|
|
|
+ List<LantoneProductWrapper> list = this.opendedProductByUserId(userId);
|
|
|
|
+ for (LantoneProductWrapper product : list) {
|
|
|
|
+ product.setAccessTypeArray(product.getAccessType().split(",|,"));
|
|
|
|
+ product.setChargeTypeArray(product.getChargeType().split(",|,"));
|
|
|
|
+ }
|
|
|
|
+ return list;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|