|  |  | 
 |  |  | import com.alibaba.fastjson.JSON; | 
 |  |  | import com.alibaba.fastjson.JSONArray; | 
 |  |  | import com.alibaba.fastjson.JSONObject; | 
 |  |  | import com.baomidou.mybatisplus.mapper.EntityWrapper; | 
 |  |  | import com.baomidou.mybatisplus.service.impl.ServiceImpl; | 
 |  |  | import com.zy.asrs.entity.CheckDetl; | 
 |  |  | import com.zy.asrs.mapper.CheckDetlMapper; | 
 |  |  | 
 |  |  |     @Value("${erp.address.outaddressSubmit}") | 
 |  |  |     //上报出入库地址 | 
 |  |  |     private String outaddressSubmit; | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private CheckDetlService checkDetlService; | 
 |  |  |     @Autowired | 
 |  |  |     private ApiLogService apiLogService; | 
 |  |  |  | 
 |  |  | 
 |  |  |                 log.error("日志保存失败", e); | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |         if(success) { | 
 |  |  |             for (CheckDetl entity : list){ | 
 |  |  |                 checkDetlService.delete(new EntityWrapper<>(entity)); | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public static Object findValueByKey(JSONObject json, String key) { |