mysql里使用JSON_EXTRACT取值

{"contractStatusName":"拒签","msg":"操作成功","reason":"123","signers":[{"signName":"123","signStatus":4,"phoneNum":"123","userType":1,"signCode":"123","signStatusName":"签署完成","signorder":1},{"signName":"北京外企人力资源服务有限公司","signStatus":1,"phoneNum":"18911869539","userType":2,"signCode":"9111010574470043X2","signStatusName":"待我签","signorder":2}],"templateNo":"123","code":20000,"contractStatus":3,"contractId":"123","contractName":"劳动合同书-mfp","templateId":"123"}

 

--取到姓名
  SELECT JSON_EXTRACT(original_param, '$.signers[0].signName'), original_param 'o1' from fesco_sys_invoke_log where original_param like '%签署完成%'
     and  create_time>'2022-04-11 00:00:00' and create_time<'2022-06-01'

 

     
     
     
    

相关文章

AJAX是一种基于JavaScript和XML的技术,能够使网页实现异步交...
在网页开发中,我们常常需要通过Ajax从后端获取数据并在页面...
在前端开发中,经常需要循环JSON对象数组进行数据操作。使用...
AJAX(Asynchronous JavaScript and XML)是一种用于创建 We...
AJAX技术被广泛应用于现代Web开发,它可以在无需重新加载页面...
Ajax是一种通过JavaScript和HTTP请求交互的技术,可以实现无...