hazmat-system/src/main/resources/mapper/system/HzHazmatMapper.xml
@@ -157,7 +157,7 @@ LEFT JOIN hz_hazmat_flow hhf2 on hh2.id = hhf2.hazmat_id LEFT JOIN sys_user sy on hhf2.create_id = sy.id LEFT JOIN sys_dept sd on sy.depart_id = sd.id where hh2.create_time >= #{startTime} and hh2.create_time <= #{endTime} and hh2.state =3 and hhf2.state = 4 where hhf2.create_time >= #{startTime} and hhf2.create_time <= #{endTime} and hh2.state =3 and hhf2.state = 4 <if test="companyId!=null"> and hh2.company_id=#{companyId} </if>