|
|
@ -158,7 +158,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo |
|
|
|
//查询客服岗位
|
|
|
|
//查询客服岗位
|
|
|
|
List<DictBiz> numberRules = DictBizCache.getList("work_order_number_rules"); |
|
|
|
List<DictBiz> numberRules = DictBizCache.getList("work_order_number_rules"); |
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss"); |
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss"); |
|
|
|
if (numberRules.isEmpty()) { |
|
|
|
if (ObjectUtils.isNull(numberRules) || numberRules.isEmpty()) { |
|
|
|
log.info("注意,注意!工单号字典未配置!请配置!"); |
|
|
|
log.info("注意,注意!工单号字典未配置!请配置!"); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Optional<DictBiz> first2 = pcWorkOrder.stream().filter(i -> i.getDictKey().equals(workOrderType)).findFirst(); |
|
|
|
Optional<DictBiz> first2 = pcWorkOrder.stream().filter(i -> i.getDictKey().equals(workOrderType)).findFirst(); |
|
|
|