Browse Source

修改工单号判断

dev-pushdata-important
caoyizhong 1 year ago
parent
commit
f75eca0009
  1. 2
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesWorkOrderServiceImpl.java

2
blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesWorkOrderServiceImpl.java

@ -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();

Loading…
Cancel
Save