| | |
| | | import com.yeshi.fanli.entity.order.ESOrder; |
| | | import com.yeshi.fanli.entity.order.HongBaoOrder; |
| | | import com.yeshi.fanli.entity.order.InviteOrderSubsidy; |
| | | import com.yeshi.fanli.entity.order.SourceTypeEnum; |
| | | import com.yeshi.fanli.entity.pdd.PDDOrder; |
| | | import com.yeshi.fanli.entity.suning.SuningOrderInfo; |
| | | import com.yeshi.fanli.entity.system.ConfigKeyEnum; |
| | |
| | | } else if (sourceType == Constant.SOURCE_TYPE_PDD) { |
| | | order.setOrderType(4); |
| | | } |
| | | |
| | | // 子来源类型 |
| | | ClientTextStyleVO shopStyleVO = new ClientTextStyleVO(); |
| | | SourceTypeEnum typeEnum = SourceTypeEnum.getByDesc(order.getChildSourceType()); |
| | | if (typeEnum == null) { |
| | | shopStyleVO.setContent("其他"); |
| | | shopStyleVO.setColor("#FF5000"); |
| | | shopStyleVO.setBorderColor("#FF5000"); |
| | | } else { |
| | | shopStyleVO.setContent(typeEnum.getDescShow()); |
| | | shopStyleVO.setColor(typeEnum.getFontColor()); |
| | | shopStyleVO.setBorderColor(typeEnum.getBorderColor()); |
| | | } |
| | | order.setShopType(shopStyleVO); |
| | | |
| | | |
| | | Date thirdCreateTime = order.getThirdCreateTime(); |
| | | if (thirdCreateTime != null) { |