|
|
@@ -88,7 +88,7 @@ public class WorkOrderController {
|
|
|
if (workOrder.getStatus() == WorkOrder.Status.close) {
|
|
|
throw BusinessRuntimeException.getInstance("该工单已关闭");
|
|
|
}
|
|
|
- if (workOrder.getCloseCustomerServiceId() == null) {
|
|
|
+ if (workOrder.getCloseCustomerServiceId() == 0) {
|
|
|
workOrder.setCloseCustomerServiceId(adminId);
|
|
|
}
|
|
|
workOrder.setStatus(WorkOrder.Status.close);
|
|
|
@@ -145,7 +145,7 @@ public class WorkOrderController {
|
|
|
history.setImgs(imgs);
|
|
|
}
|
|
|
historyMapper.insert(history);
|
|
|
- if (workOrder.getCloseCustomerServiceId() == null) {
|
|
|
+ if (workOrder.getCloseCustomerServiceId() == 0) {
|
|
|
//记录首次回复聊天的客服
|
|
|
workOrder.setReplyCustomerServiceId(adminId);
|
|
|
workOrderMapper.updateById(workOrder);
|