微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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'

 

     
     
     
    

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐