@ -56,7 +56,9 @@ public class TdPlaceManager {
public boolean deletedPlaceByids(String ids) {
List<String> list = Arrays.asList(Convert.toStrArray(ids));
return placeService.removeByIds(list);
return placeService.lambdaUpdate()
.in(TdPlace::getId,list)
.set(TdPlace::getState,"0").update();
}
public List<TdPlace> selectList() {
@ -31,6 +31,7 @@
<if test="placeName!=null and placeName!=''">
AND place_name LIKE concat('%',#{placeName},'%')
</if>
AND state !='0'
</trim>
ORDER BY create_time DESC
</select>