Commit a1c8b028 authored by libin's avatar libin

Merge remote-tracking branch 'origin/master' into master-ucc-feature

parents 8f74b335 50074a34
......@@ -69,7 +69,7 @@
and `city`=#{cityCode}
</if>
GROUP BY cs.id
order by `hot`DESC,`crt_time` DESC
order by cs.hot DESC,cs.crt_time DESC
</select>
<!--首页查询全部-->
......
......@@ -1467,6 +1467,7 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
Example example = new Example(Vehicle.class);
Example.Criteria criteria = example.createCriteria();
criteria.andEqualTo("code", code);
criteria.andEqualTo("isDel",0);
if (StringUtils.isNotEmpty(id)) {
criteria.andNotEqualTo("id", id);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment