|
@@ -35,9 +35,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select a.id, a.steelcylinder_id, a.steelcylinder_name, a.join_warehouse_time, a.filling_medium, a.filling_time, a.operator_id, a.operator_name, a.car_id,b.enterprise_name,
|
|
|
a.car_number, a.delivery_time, a.delivery_id, a.delivery_name, a.sign_time, a.join_house_id, a.join_house_name, a.recycling_name, a.recycling_time from centerdata_t_housingconstruction_steelcylinder_log a
|
|
|
left join centerdata_t_housingconstruction_steelcylinder b on a.steelcylinder_id = b.id
|
|
|
+ left join ${database_system}.sys_dept d on b.dept_id = d.dept_id
|
|
|
<where>
|
|
|
<if test="steelcylinderId != null and steelcylinderId != ''"> and a.steelcylinder_id = #{steelcylinderId}</if>
|
|
|
<if test="steelcylinderName != null and steelcylinderName != ''"> and a.steelcylinder_name like concat('%', #{steelcylinderName}, '%')</if>
|
|
|
+ ${params.dataScope}
|
|
|
</where>
|
|
|
</select>
|
|
|
|