fix(sql): correct JSON query syntax in work order job

- Fixed missing comma in JSON_QUERY function calls
- Updated test method to include tenant ID parameter
- Adjusted string replacement logic for proper JSON formatting
This commit is contained in:
2025-11-14 18:29:16 +08:00
parent 945d5e8dd0
commit 28037792cf
2 changed files with 3 additions and 3 deletions

View File

@@ -222,7 +222,7 @@ public class AlibabaWorkOrderJob implements JobHandler {
" JSON_QUERY(sl.CONTENT, '$.sopInfo.*' WITH CONDITIONAL WRAPPER), " +
" '[', " +
" '' " +
" ) ']', " +
" ), ']', " +
" '' " +
" ), " +
" ',' " +
@@ -379,7 +379,7 @@ public class AlibabaWorkOrderJob implements JobHandler {
" JSON_QUERY(sl.CONTENT, '$.sopInfo.*' WITH CONDITIONAL WRAPPER), " +
" '[', " +
" '' " +
" ) ']', " +
" ), ']', " +
" '' " +
" ), " +
" ',' " +