in junit test, it worked correctly, formData:
···json
{"num":1,"buyer":"tom","amount":550000,"orderNo":"k1213213","category":"S300","_date_picker_6":"2024-07-10"}
···
when i use the service in a flowable AbstractVariableComparatorExpressionFunction implemention
Additional context
Add the version of Flowable that you are using, the database vendor and if you are using Flowable within Spring Boot, the Flowable Task application etc.
Describe the bug Flowable mybatis cause diff mechanism, the same mapper return the diff resultset between flowable and unit test.
in mysql 8,the numberic value in json column is converted to string by flowable,
Expected behavior keep the same mechanism
Code
this is a service to get a json column in mysql 8,it return to string.
in junit test, it worked correctly,
formData
: ···json {"num":1,"buyer":"tom","amount":550000,"orderNo":"k1213213","category":"S300","_date_picker_6":"2024-07-10"} ··· when i use the service in a flowableAbstractVariableComparatorExpressionFunction
implementionhere the
formData
wrongly:the
num
and theamount
is string nowAdditional context Add the version of Flowable that you are using, the database vendor and if you are using Flowable within Spring Boot, the Flowable Task application etc.