|
|
@@ -43,13 +43,13 @@
|
|
|
<choose>
|
|
|
<when test="entIds != null and entIds != '' and entIds.size() > 0">
|
|
|
or (
|
|
|
- trr.truck_id in (select truck_id from kwf_truck_ent where del_flag = 0 and ent_id in
|
|
|
+ trr.truck_id in (select id from kwf_truck where del_flag = 0 and ent_id in
|
|
|
<foreach collection="entIds" item="id" open="(" close=")" separator=",">
|
|
|
#{id,jdbcType=BIGINT}
|
|
|
</foreach>
|
|
|
)
|
|
|
or
|
|
|
- trr.driver_id in (select driver_id from kwf_driver_ent where del_flag = 0 and ent_id in
|
|
|
+ trr.driver_id in (select id from kwf_driver where del_flag = 0 and ent_id in
|
|
|
<foreach collection="entIds" item="id" open="(" close=")" separator=",">
|
|
|
#{id,jdbcType=BIGINT}
|
|
|
</foreach>
|
|
|
@@ -128,13 +128,13 @@
|
|
|
<choose>
|
|
|
<when test="entIds != null and entIds != '' and entIds.size() > 0">
|
|
|
or (
|
|
|
- trr.truck_id in (select truck_id from kwf_truck_ent where del_flag = 0 and ent_id in
|
|
|
+ trr.truck_id in (select id from kwf_truck where del_flag = 0 and ent_id in
|
|
|
<foreach collection="entIds" item="id" open="(" close=")" separator=",">
|
|
|
#{id,jdbcType=BIGINT}
|
|
|
</foreach>
|
|
|
)
|
|
|
or
|
|
|
- trr.driver_id in (select driver_id from kwf_driver_ent where del_flag = 0 and ent_id in
|
|
|
+ trr.driver_id in (select id from kwf_driver where del_flag = 0 and ent_id in
|
|
|
<foreach collection="entIds" item="id" open="(" close=")" separator=",">
|
|
|
#{id,jdbcType=BIGINT}
|
|
|
</foreach>
|