| | |
| | | <if test="commonPage.localCity !=null and commonPage.localCity !='' and commonPage.localCity !='panzhihua'"> |
| | | and local_city like concat('%',#{commonPage.localCity},'%') |
| | | </if> |
| | | <if test="commonPage.colorMark !=null and commonPage.colorMark !=''"> |
| | | and color_mark like concat('%',#{commonPage.colorMark},'%') |
| | | </if> |
| | | <if test="commonPage.travelCard !=null and commonPage.travelCard !=''"> |
| | | and travel_card like concat('%',#{commonPage.travelCard},'%') |
| | | </if> |
| | | </where> |
| | | order by create_time desc |
| | | </select> |
| | |
| | | <if test="commonPage.localCity !=null and commonPage.localCity !=''"> |
| | | and local_city like concat('%',#{commonPage.localCity},'%') |
| | | </if> |
| | | <if test="commonPage.colorMark !=null and commonPage.colorMark !=''"> |
| | | and color_mark like concat('%',#{commonPage.colorMark},'%') |
| | | </if> |
| | | <if test="commonPage.travelCard !=null and commonPage.travelCard !=''"> |
| | | and travel_card like concat('%',#{commonPage.travelCard},'%') |
| | | </if> |
| | | </where> |
| | | order by create_time desc |
| | | </select> |
| | |
| | | (select count(*) from com_act_acid_record where danger_area = '是' <if test="localCity!=null and localCity!=''"> and local_city like concat('%',#{localCity},'%')</if>) dangerCount, |
| | | (select count(*) from com_act_acid_record where color_mark = '绿码' <if test="localCity!=null and localCity!=''"> and local_city like concat('%',#{localCity},'%')</if>) greenMark, |
| | | (select count(*) from com_act_acid_record where color_mark = '红码' <if test="localCity!=null and localCity!=''"> and local_city like concat('%',#{localCity},'%')</if>) redMark, |
| | | (select count(*) from com_act_acid_record where color_mark = '黄码' <if test="localCity!=null and localCity!=''"> and local_city like concat('%',#{localCity},'%')</if>) yellowMark |
| | | (select count(*) from com_act_acid_record where color_mark = '黄码' <if test="localCity!=null and localCity!=''"> and local_city like concat('%',#{localCity},'%')</if>) yellowMark, |
| | | (select count(*) from com_act_acid_record where travel_card = '是' <if test="localCity!=null and localCity!=''"> and local_city like concat('%',#{localCity},'%')</if>) travelCount |
| | | </select> |
| | | |
| | | </mapper> |