-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
控制台和插件转换sql条件不一致 #112
Comments
@yangzhibo478496017 提供一下XML。我复现一下。 |
因为有租户逻辑 所以加了判断是否向sql中注入租户id条件的判断 |
@yangzhibo478496017 |
@yangzhibo478496017 现在5.0.8试试看。 |
@Link-Kou 好的 |
@Link-Kou 已经更新插件了还是不行 控制台: |
@yangzhibo478496017 看样子,还要在细细研究一下 |
@yangzhibo478496017 我发布了新版本,麻烦在试一下 |
@Link-Kou 好的 |
@Link-Kou 还是不行 |
@yangzhibo478496017 最近找到了新的办法。我在下个大版本迭代中添加解决 |
插件版本:5.0.7.7
控制台:
Preparing: SELECT id, create_by, create_time, update_by, update_time, rel_tenant_ids, del_flag, vannum, vantype, vanlength, fueltype, vancolortype, maxloadcapacity, vanweight, framenum, enginenum, emission, roadpermitpic, roadpermit, roadpermitdate, drilicensepic, drilicense, drilicensedate, belong, beidoustate, state, ownvehicle, auditpersonid, audit_time, remarks, cheduiid, changjia, insure_company, buy_time, insure_begin_time, insure_finish_time FROM vms_van WHERE (del_flag = ? AND cheduiid = ?) AND rel_tenant_ids = '402'
==> Parameters: 0(Integer), 853c548c60c9266453886c9894422c10(String)
插件:
org.jeecg.modules.vms.vmsvan.mapper.VmsVanMapper.selectList
> SELECT id,create_by,create_time,update_by,update_time,rel_tenant_ids,del_flag,vannum,vantype,vanlength,fueltype,vancolortype,maxloadcapacity,vanweight,framenum,enginenum,emission,roadpermitpic,roadpermit,roadpermitdate,drilicensepic,drilicense,drilicensedate,belong,beidoustate,state,ownvehicle,auditpersonid,audit_time,remarks,cheduiid,changjia,insure_company,buy_time,insure_begin_time,insure_finish_time FROM vms_van WHERE (del_flag = 0 AND cheduiid = '853c548c60c9266453886c9894422c10')
> [{"ew.paramNameValuePairs.MPGENVAL1":"0"},{"ew.paramNameValuePairs.MPGENVAL2":"'853c548c60c9266453886c9894422c10'"}]
> total:6
The text was updated successfully, but these errors were encountered: