|
|
@ -101,9 +101,7 @@ public class WorkOrderDetailController extends BaseController |
|
|
|
// 反序列化
|
|
|
|
List<WorkOrderDetail> workOrderDetailList = JSONObject.parseArray(data, WorkOrderDetail.class); |
|
|
|
|
|
|
|
|
|
|
|
for (int i=0;i<workOrderDetailList.size();i++) { |
|
|
|
|
|
|
|
String id = String.valueOf(workOrderDetailService.selectWorkOrderDetailById(workOrderDetailList.get(i).getWorkOrderDetailId())); |
|
|
|
if (Objects.equals(id, "null")) { |
|
|
|
workOrderDetailService.insertWorkOrderDetail(workOrderDetailList.get(i)); |
|
|
|