src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
@@ -29,6 +29,8 @@ br.town_code streetCode, jp.principal as realName, jp.principal_phone as phone, jp.nine_type , jp.front_type , jt.id, jt.NAME, jt.type, @@ -147,8 +149,8 @@ AND jt.create_time BETWEEN #{task.startTime} and #{task.endTime} </if> <!-- 场所店铺 --> <if test="task.reportType != null and task.reportType == 2 "> and jt.report_type in (2,3,4,5,6,7,8) <if test="task.reportType != null"> and jt.report_type = #{task.reportType} </if> <if test="task.reportType == null"> and jt.report_type in (2,3,4,5,6,7,8)