|
@@ -81,16 +81,19 @@ public class ProductModuleServiceImpl implements ProductModuleService {
|
|
|
bigTypeID = productModuleDao.getBigTypeIdByTinyTypeId(typeId);
|
|
|
}
|
|
|
BigtypeVo bigType = productModuleDao.getBigTypeByBigTypeId(bigTypeID);
|
|
|
+ bigType.setIsChecked(false);
|
|
|
List<SmalltypeVo> smallTypeList = productModuleDao.getSmallType(bigTypeID,source);
|
|
|
for (SmalltypeVo smallType : smallTypeList) {
|
|
|
String caiMeiImage = ProductUtils.getImageURL("caiMeiImage", null, 0, domain);
|
|
|
smallType.setWwwIcon(StringUtils.isEmpty(smallType.getWwwIcon())?caiMeiImage:smallType.getWwwIcon());
|
|
|
smallType.setCrmIcon(StringUtils.isEmpty(smallType.getCrmIcon())?caiMeiImage:smallType.getCrmIcon());
|
|
|
+ smallType.setIsChecked(false);
|
|
|
List<TinytypeVo> tinytypeList = productModuleDao.getTinytype(smallType.getSmallTypeID(), source);
|
|
|
if (!CollectionUtils.isEmpty(tinytypeList)) {
|
|
|
for (TinytypeVo tinyType : tinytypeList) {
|
|
|
tinyType.setWwwIcon(StringUtils.isEmpty(tinyType.getWwwIcon())?caiMeiImage:tinyType.getWwwIcon());
|
|
|
tinyType.setCrmIcon(StringUtils.isEmpty(tinyType.getCrmIcon())?caiMeiImage:tinyType.getCrmIcon());
|
|
|
+ tinyType.setIsChecked(false);
|
|
|
}
|
|
|
smallType.setTinytypeList(tinytypeList);
|
|
|
}
|